diff --git a/.eslintignore b/.eslintignore new file mode 100644 index 0000000..9c1e381 --- /dev/null +++ b/.eslintignore @@ -0,0 +1,6 @@ +android/ +cpp/ +ios/ +node_modules/ +rust_modules/ +src/ diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 0000000..dc82d4a --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,68 @@ +name: 🐛 Bug report +description: Report a reproducible bug or regression in this library. +labels: [bug] +body: + - type: markdown + attributes: + value: | + # Bug report + + 👋 Hi! + + **Please fill the following carefully before opening a new issue ❗** + *(Your issue may be closed if it doesn't provide the required pieces of information)* + - type: checkboxes + attributes: + label: Before submitting a new issue + description: Please perform simple checks first. + options: + - label: I tested using the latest version of the library, as the bug might be already fixed. + required: true + - label: I tested using a [supported version](https://github.com/reactwg/react-native-releases/blob/main/docs/support.md) of react native. + required: true + - label: I checked for possible duplicate issues, with possible answers. + required: true + - type: textarea + id: summary + attributes: + label: Bug summary + description: | + Provide a clear and concise description of what the bug is. + If needed, you can also provide other samples: error messages / stack traces, screenshots, gifs, etc. + validations: + required: true + - type: input + id: library-version + attributes: + label: Library version + description: What version of the library are you using? + placeholder: "x.x.x" + validations: + required: true + - type: textarea + id: react-native-info + attributes: + label: Environment info + description: Run `react-native info` in your terminal and paste the results here. + render: shell + validations: + required: true + - type: textarea + id: steps-to-reproduce + attributes: + label: Steps to reproduce + description: | + You must provide a clear list of steps and code to reproduce the problem. + value: | + 1. … + 2. … + validations: + required: true + - type: input + id: reproducible-example + attributes: + label: Reproducible example repository + description: Please provide a link to a repository on GitHub with a reproducible example. + render: js + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..45c655b --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,8 @@ +blank_issues_enabled: false +contact_links: + - name: Feature Request 💡 + url: https://github.com/Blockstream/lwk-rn/discussions/new?category=ideas + about: If you have a feature request, please create a new discussion on GitHub. + - name: Discussions on GitHub 💬 + url: https://github.com/Blockstream/lwk-rn/discussions + about: If this library works as promised but you need help, please ask questions there. diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index fb98c79..066f4f5 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -5,13 +5,13 @@ runs: using: composite steps: - name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version-file: .nvmrc - - name: Cache dependencies + - name: Restore dependencies id: yarn-cache - uses: actions/cache@v3 + uses: actions/cache/restore@v4 with: path: | **/node_modules @@ -25,3 +25,12 @@ runs: if: steps.yarn-cache.outputs.cache-hit != 'true' run: yarn install --immutable shell: bash + + - name: Cache dependencies + if: steps.yarn-cache.outputs.cache-hit != 'true' + uses: actions/cache/save@v4 + with: + path: | + **/node_modules + .yarn/install-state.gz + key: ${{ steps.yarn-cache.outputs.cache-primary-key }} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a19a7d8..0d7e75f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,4 @@ -name: CI +name: CI Build on: push: branches: @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup uses: ./.github/actions/setup @@ -30,7 +30,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup uses: ./.github/actions/setup @@ -42,7 +42,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup uses: ./.github/actions/setup @@ -56,13 +56,13 @@ jobs: TURBO_CACHE_DIR: .turbo/android steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup uses: ./.github/actions/setup - name: Cache turborepo for Android - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ env.TURBO_CACHE_DIR }} key: ${{ runner.os }}-turborepo-android-${{ hashFiles('yarn.lock') }} @@ -79,7 +79,7 @@ jobs: - name: Install JDK if: env.turbo_cache_hit != 1 - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: 'zulu' java-version: '17' @@ -91,7 +91,7 @@ jobs: - name: Cache Gradle if: env.turbo_cache_hit != 1 - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.gradle/wrapper @@ -103,24 +103,22 @@ jobs: - name: Build example for Android env: JAVA_OPTS: "-XX:MaxHeapSize=6g" - PAT_USER: ${{ secrets.PAT_USER }} - PAT_TOKEN: ${{ secrets.PAT_TOKEN }} run: | yarn turbo run build:android --cache-dir="${{ env.TURBO_CACHE_DIR }}" build-ios: - runs-on: macos-14 + runs-on: macos-latest env: TURBO_CACHE_DIR: .turbo/ios steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup uses: ./.github/actions/setup - name: Cache turborepo for iOS - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ env.TURBO_CACHE_DIR }} key: ${{ runner.os }}-turborepo-ios-${{ hashFiles('yarn.lock') }} @@ -135,10 +133,10 @@ jobs: echo "turbo_cache_hit=1" >> $GITHUB_ENV fi - - name: Cache cocoapods + - name: Restore cocoapods if: env.turbo_cache_hit != 1 id: cocoapods-cache - uses: actions/cache@v3 + uses: actions/cache/restore@v4 with: path: | **/ios/Pods @@ -147,13 +145,21 @@ jobs: ${{ runner.os }}-cocoapods- - name: Install cocoapods - #if: env.turbo_cache_hit != 1 && steps.cocoapods-cache.outputs.cache-hit != 'true' + if: env.turbo_cache_hit != 1 && steps.cocoapods-cache.outputs.cache-hit != 'true' run: | cd example/ios pod install env: NO_FLIPPER: 1 + - name: Cache cocoapods + if: env.turbo_cache_hit != 1 && steps.cocoapods-cache.outputs.cache-hit != 'true' + uses: actions/cache/save@v4 + with: + path: | + **/ios/Pods + key: ${{ steps.cocoapods-cache.outputs.cache-key }} + - name: Build example for iOS run: | yarn turbo run build:ios --cache-dir="${{ env.TURBO_CACHE_DIR }}" diff --git a/.github/workflows/generate.yml b/.github/workflows/generate.yml new file mode 100644 index 0000000..24254a1 --- /dev/null +++ b/.github/workflows/generate.yml @@ -0,0 +1,65 @@ +name: CI Generate +on: + workflow_dispatch: + +jobs: + build-android: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup + uses: ./.github/actions/setup + + - name: Setup rust toolchain + uses: dtolnay/rust-toolchain@1.81.0 + with: + targets: aarch64-linux-android,armv7-linux-androideabi,i686-linux-android,x86_64-linux-android + + - name: Install NDK + run: cargo install cargo-ndk + + - name: Fetch LWK + run: sh fetch_lwk.sh + + - name: Generate android lib + run: yarn ubrn:android --profile release-smaller + + - name: Temporarily save artifact + uses: actions/upload-artifact@v4 + with: + name: lwk-android-artifact + path: android + retention-days: 1 + build-ios: + runs-on: macos-14 + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup + uses: ./.github/actions/setup + + - name: Setup rust toolchain + uses: dtolnay/rust-toolchain@1.81.0 + with: + targets: x86_64-apple-ios,aarch64-apple-ios,aarch64-apple-ios-sim + + - name: Fetch LWK + run: sh fetch_lwk.sh + + - name: Generate ios lib + run: yarn ubrn:ios --profile release-smaller + + - name: Strip ios lib + run: | + strip LwkRnFramework.xcframework/ios-arm64/liblwk.a | + strip LwkRnFramework.xcframework/ios-arm64-simulator/liblwk.a + + - name: Temporarily save artifact + uses: actions/upload-artifact@v4 + with: + name: lwk-ios-artifact + path: LwkRnFramework.xcframework + retention-days: 1 \ No newline at end of file diff --git a/.gitignore b/.gitignore index cfe2bb4..a23406b 100644 --- a/.gitignore +++ b/.gitignore @@ -28,6 +28,7 @@ DerivedData *.ipa *.xcuserstate project.xcworkspace +**/.xcode.env.local # Android/IJ # @@ -80,3 +81,10 @@ lib/ # React Native Codegen ios/generated android/generated + +# React Native Nitro Modules +nitrogen/ + +# From uniffi-bindgen-react-native +rust_modules/ +*.a diff --git a/.nvmrc b/.nvmrc index 3f430af..9a2a0e2 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v18 +v20 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 6445658..c47edab 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -47,6 +47,14 @@ To run the example app on iOS: yarn example ios ``` +To confirm that the app is running with the new architecture, you can check the Metro logs for a message like this: + +```sh +Running "LwkRnExample" with {"fabric":true,"initialProps":{"concurrentRoot":true},"rootTag":1} +``` + +Note the `"fabric":true` and `"concurrentRoot":true` properties. + Make sure your code passes TypeScript and ESLint. Run the following to verify: ```sh diff --git a/LICENSE b/LICENSE index f87ae25..d16f7b9 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2024 Luca Vaccaro +Copyright (c) 2025 lvaccaro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights diff --git a/LwkRn.podspec b/LwkRn.podspec new file mode 100644 index 0000000..26c9bbd --- /dev/null +++ b/LwkRn.podspec @@ -0,0 +1,41 @@ +require "json" + +package = JSON.parse(File.read(File.join(__dir__, "package.json"))) +folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32' + +Pod::Spec.new do |s| + s.name = "LwkRn" + s.version = package["version"] + s.summary = package["description"] + s.homepage = package["homepage"] + s.license = package["license"] + s.authors = package["author"] + + s.platforms = { :ios => min_ios_version_supported } + s.source = { :git => "https://github.com/Blockstream/lwk-rn.git", :tag => "#{s.version}" } + + s.source_files = "ios/**/*.{h,m,mm}", "cpp/**/*.{hpp,cpp,c,h}" + + # Use install_modules_dependencies helper to install the dependencies if React Native version >=0.71.0. + # See https://github.com/facebook/react-native/blob/febf6b7f33fdb4904669f99d795eba4c0f95d7bf/scripts/cocoapods/new_architecture.rb#L79. + if respond_to?(:install_modules_dependencies, true) + install_modules_dependencies(s) + else + s.dependency "React-Core" + + # Don't install the dependencies when we run `pod install` in the old architecture. + if ENV['RCT_NEW_ARCH_ENABLED'] == '1' then + s.compiler_flags = folly_compiler_flags + " -DRCT_NEW_ARCH_ENABLED=1" + s.pod_target_xcconfig = { + "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost\"", + "OTHER_CPLUSPLUSFLAGS" => "-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1", + "CLANG_CXX_LANGUAGE_STANDARD" => "c++17" + } + s.dependency "React-Codegen" + s.dependency "RCT-Folly" + s.dependency "RCTRequired" + s.dependency "RCTTypeSafety" + s.dependency "ReactCommon/turbomodule/core" + end + end +end diff --git a/LwkRnFramework.xcframework/Info.plist b/LwkRnFramework.xcframework/Info.plist new file mode 100644 index 0000000..943fcff --- /dev/null +++ b/LwkRnFramework.xcframework/Info.plist @@ -0,0 +1,43 @@ + + + + + AvailableLibraries + + + BinaryPath + liblwk.a + LibraryIdentifier + ios-arm64 + LibraryPath + liblwk.a + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + + + BinaryPath + liblwk.a + LibraryIdentifier + ios-arm64-simulator + LibraryPath + liblwk.a + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + SupportedPlatformVariant + simulator + + + CFBundlePackageType + XFWK + XCFrameworkFormatVersion + 1.0 + + diff --git a/README.md b/README.md index 75b1d86..adbfcfb 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ **LWK-rn** is a React Native module for [Liquid Wallet Kit](https://github.com/Blockstream/lwk). Its goal is to provide all the necessary building blocks for mobile development of a liquid wallet. -** NOTE: LWK and LWK-rn is in public beta and still undergoing significant development. Use it at your own risk. ** +**NOTE: LWK and LWK-rn is in public beta and still undergoing significant development. Use it at your own risk.** _Please consider reviewing, experimenting and contributing_ @@ -22,76 +22,135 @@ Using yarn: yarn add lwk-rn ``` -[iOS Only] Install pods: +Note: Use android sdk version >= 24 and iOS >= v13 . -```bash -npx pod-install -or -cd ios && pod install -``` - -Note: Use android sdk version >= 23 and iOS >= v13 . +## Usage -### Examples +Import LWK-rn library -You could run the example in iOS or android by the following -```sh -$ yarn example ios -... -$ yarn example android +```js +import { Mnemonic, Network, Signer, Wollet } from 'lwk-rn'; ``` -Create a Wallet and sync with Electrum client - +Create a signer for a mnemonic and a network ```js -import { Wollet, Client, Signer, Network } from 'lwk-rn'; - -const mnemonic = - 'abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon about'; -const network = Network.Testnet; -const signer = await new Signer().create(mnemonic, network); -const descriptor = await signer.wpkhSlip77Descriptor(); -console.log(await descriptor.asString()); - -const wollet = await new Wollet().create(network, descriptor, null); -const client = await new Client().defaultElectrumClient(network); -const update = await client.fullScan(wollet); -await wollet.applyUpdate(update); +let mnemonic = new Mnemonic("abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon about"); +let network = Network.testnet(); +let signer = new Signer(mnemonic, network); +console.log(mnemonic.toString()); ``` -Get a new address: +Create and update a wollet from the signer descriptor ```js -const address = await wollet.getAddress(); -console.log(address); +let singlesigDesc = signer.wpkhSlip77Descriptor(); +let wollet = new Wollet(network, singlesigDesc, undefined); +let client = network.defaultElectrumClient(); +let update = client.fullScan(wollet); +if (update) { + wollet.applyUpdate(update); +} ``` -Get a transaction list: +Get a new unused address ```js -const transactions = await wollet.getTransactions(); -console.log(transactions); +let latest_address = wollet.address(undefined); +console.log(latest_address.address().scriptPubkey().toString()); ``` -Get balance as `[AssetId : UInt64]`: +Get balance as `[AssetId : UInt64]` ```js -const balance = await wollet.getBalance(); +let balance = wollet.balance(); console.log(balance); +for (var b of balance.entries()) { + console.log("asset: ", b[0], ", value: ", b[1]); +} ``` -Build, sign and broadcast a Transaction: +Get a transaction list ```js - const out_address = await wollet.getAddress().description; - const satoshis = 900; - const fee_rate = 280; // this is the sat/vB * 100 fee rate. Example 280 would equal a fee rate of .28 sat/vB. 100 would equal .1 sat/vB - const builder = await new TxBuilder().create(network); - await builder.addLbtcRecipient(out_address, satoshis); - await builder.feeRate(fee_rate); - let pset = await builder.finish(wollet); - let signed_pset = await signer.sign(pset); - let finalized_pset = await wollet.finalize(signed_pset); - const tx = await finalized_pset.extractTx(); - await client.broadcast(tx); - console.log("BROADCASTED TX!\nTXID: {:?}", (await tx.txId.toString())); +let txs = wollet.transactions(); +console.log(txs); +for (var tx of txs) { + for (var output of tx.outputs()) { + let script_pubkey = output?.scriptPubkey().toString(); + let value = output?.unblinded().value().toString(); + console.log("script_pubkey: ", script_pubkey, ", value: ", value); + } +} +``` + +## Build + +LWK-rn repository contains the pre-generated lwk bindings for android and ios. + +Follow the steps to generate bindings by your own: + +Install C++ tooling + +```sh +# For MacOS, using homebrew: +brew install cmake ninja clang-format +# For Debian flavoured Linux: +apt-get install cmake ninja clang-format +``` + +Add the Android specific targets +```sh +rustup target add \ + aarch64-linux-android \ + armv7-linux-androideabi \ + i686-linux-android \ + x86_64-linux-android +# Install cargo-ndk +cargo install cargo-ndk +``` + +Add the iOS specific targets +```sh +rustup target add \ + aarch64-apple-ios \ + aarch64-apple-ios-sim \ + x86_64-apple-ios +# Ensure xcodebuild is available +xcode-select --install ``` + +Install deps and `uniffi-bindgen-react-native`. + +```sh +$ yarn install +``` + +Fetch LWK library with some hacks. +> The script changes path to avoid using workspace configuration and rust version. The project require rust >= v1.18 . The scipt replacing package name in `Cargo.toml` for a library name bug in `uniffi-bindgen-react-native`. +```sh +$ sh fetch_lwk.sh +``` + +Generate bindings for android and ios: +```sh +$ yarn ubrn:android +$ yarn ubrn:ios +``` + +## Example + +Open demo application in `./example/` folder and read the code in `./example/src/App.tsx` . + +You could run the example on the Android demo app on device/emulator by: +```sh +$ yarn example android +``` + +Or you could run the iOS demo app by: +```sh +$ cd example +$ bundle install +$ bundle exec pod install # every time you update your native dependencies +$ cd .. +$ yarn example ios +``` + ## Contributing See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow. @@ -115,3 +174,4 @@ MIT --- Made with [create-react-native-library](https://github.com/callstack/react-native-builder-bob) +using [uniffi-bindgen-react-native](https://github.com/jhugman/uniffi-bindgen-react-native) diff --git a/android/CMakeLists.txt b/android/CMakeLists.txt new file mode 100644 index 0000000..f651f6e --- /dev/null +++ b/android/CMakeLists.txt @@ -0,0 +1,77 @@ +# Generated by uniffi-bindgen-react-native +cmake_minimum_required(VERSION 3.9.0) +project(LwkRn) + +set (CMAKE_VERBOSE_MAKEFILE ON) +set (CMAKE_CXX_STANDARD 17) + +# Resolve the path to the uniffi-bindgen-react-native package +execute_process( + COMMAND node -p "require.resolve('uniffi-bindgen-react-native/package.json')" + OUTPUT_VARIABLE UNIFFI_BINDGEN_PATH + OUTPUT_STRIP_TRAILING_WHITESPACE +) +string(REGEX + REPLACE "/package\\.json$" "" + UNIFFI_BINDGEN_PATH ${UNIFFI_BINDGEN_PATH} +) + +# Specifies a path to native header files. +include_directories( + ../cpp + ../cpp/generated + + ${UNIFFI_BINDGEN_PATH}/cpp/includes +) + +add_library(lwk-rn SHARED + ../cpp/lwk-rn.cpp + ../cpp/generated/lwk.cpp + cpp-adapter.cpp +) + +# Set C++ compiler flags +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O2") +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fexceptions") +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -frtti") +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fstack-protector-all") +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall") +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror") + +cmake_path( + SET MY_RUST_LIB + ${CMAKE_SOURCE_DIR}/src/main/jniLibs/${ANDROID_ABI}/liblwk.a + NORMALIZE +) +add_library(my_rust_lib STATIC IMPORTED) +set_target_properties(my_rust_lib PROPERTIES IMPORTED_LOCATION ${MY_RUST_LIB}) + +# Add ReactAndroid libraries, being careful to account for different versions. +find_package(ReactAndroid REQUIRED CONFIG) +find_library(LOGCAT log) + +# REACTNATIVE_MERGED_SO seems to be only be set in a build.gradle.kt file, +# which we don't use. Thus falling back to version number sniffing. +if (ReactAndroid_VERSION_MINOR GREATER_EQUAL 76) + set(REACTNATIVE_MERGED_SO true) +endif() + +# https://github.com/react-native-community/discussions-and-proposals/discussions/816 +# This if-then-else can be removed once this library does not support version below 0.76 +if (REACTNATIVE_MERGED_SO) + target_link_libraries(lwk-rn ReactAndroid::reactnative) +else() + target_link_libraries(lwk-rn + ReactAndroid::turbomodulejsijni + ReactAndroid::react_nativemodule_core + ) +endif() + +find_package(fbjni REQUIRED CONFIG) +target_link_libraries( + lwk-rn + fbjni::fbjni + ReactAndroid::jsi + ${LOGCAT} + my_rust_lib +) diff --git a/android/build.gradle b/android/build.gradle index 7e87cc2..2d9c5f2 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -1,62 +1,143 @@ +// Generated by uniffi-bindgen-react-native + buildscript { - ext { - agp_version = '8.4.2' - kotlin_version = '1.9.0' - } - ext.safeExtGet = { prop, fallback -> - return rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback - } + // Buildscript is evaluated before everything else so we can't use getExtOrDefault + def kotlin_version = rootProject.ext.has("kotlinVersion") ? rootProject.ext.get("kotlinVersion") : project.properties["DummyLibForAndroid_kotlinVersion"] - repositories { - google() - mavenCentral() - } + repositories { + google() + mavenCentral() + } - dependencies { - classpath "com.android.tools.build:gradle:$agp_version" - classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" - } + dependencies { + classpath "com.android.tools.build:gradle:7.2.1" + // noinspection DifferentKotlinGradleVersion + classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" + } +} + +def reactNativeArchitectures() { + def value = rootProject.getProperties().get("reactNativeArchitectures") + return value ? value.split(",") : ["armeabi-v7a", "x86", "x86_64", "arm64-v8a"] } -def safeExtGet(prop, fallback) { - rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback +def isNewArchitectureEnabled() { + return rootProject.hasProperty("newArchEnabled") && rootProject.getProperty("newArchEnabled") == "true" } -apply plugin: 'com.android.library' -apply plugin: 'kotlin-android' +apply plugin: "com.android.library" +apply plugin: "kotlin-android" + +if (isNewArchitectureEnabled()) { + apply plugin: "com.facebook.react" +} + +def getExtOrDefault(name) { + return rootProject.ext.has(name) ? rootProject.ext.get(name) : project.properties["LwkRn_" + name] +} + +def getExtOrIntegerDefault(name) { + return rootProject.ext.has(name) ? rootProject.ext.get(name) : (project.properties["LwkRn_" + name]).toInteger() +} + +def supportsNamespace() { + def parsed = com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION.tokenize('.') + def major = parsed[0].toInteger() + def minor = parsed[1].toInteger() + + // Namespace support was added in 7.3.0 + return (major == 7 && minor >= 3) || major >= 8 +} android { - compileSdkVersion safeExtGet('compileSdkVersion', 34) - namespace 'io.lwkrn' + if (supportsNamespace()) { + namespace "com.lwkrn" + + sourceSets { + main { + manifest.srcFile "src/main/AndroidManifestNew.xml" + } + } + } + + ndkVersion getExtOrDefault("ndkVersion") + compileSdkVersion getExtOrIntegerDefault("compileSdkVersion") + defaultConfig { - minSdkVersion safeExtGet('minSdkVersion', 24) - targetSdkVersion safeExtGet('targetSdkVersion', 34) + minSdkVersion getExtOrIntegerDefault("minSdkVersion") + targetSdkVersion getExtOrIntegerDefault("targetSdkVersion") + buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled().toString() + + buildFeatures { + prefab true + } + externalNativeBuild { + cmake { + arguments '-DANDROID_STL=c++_shared' + abiFilters (*reactNativeArchitectures()) + } + } + ndk { + abiFilters "arm64-v8a", "armeabi-v7a", "x86", "x86_64" + } + } + + externalNativeBuild { + cmake { + path "CMakeLists.txt" + } + } + + buildFeatures { + buildConfig true + } + + buildTypes { + release { + minifyEnabled false + } + } + + lintOptions { + disable "GradleCompatible" } + compileOptions { - sourceCompatibility JavaVersion.VERSION_17 - targetCompatibility JavaVersion.VERSION_17 + sourceCompatibility JavaVersion.VERSION_1_8 + targetCompatibility JavaVersion.VERSION_1_8 } - kotlinOptions { - jvmTarget = '17' + + sourceSets { + main { + if (isNewArchitectureEnabled()) { + java.srcDirs += [ + "generated/java", + "generated/jni" + ] + } + } } } repositories { - google() - mavenCentral() - mavenLocal() - maven { - name = "GitHubPackages" - url = uri("https://maven.pkg.github.com/blockstream/lwk") - credentials { - username = System.getenv('PAT_USER') - password = System.getenv('PAT_TOKEN') - } - } + mavenCentral() + google() } + +def kotlin_version = getExtOrDefault("kotlinVersion") + dependencies { - //noinspection GradleDynamicVersion - implementation 'com.facebook.react:react-android:0.75.2' - implementation 'com.facebook.react:hermes-android:0.75.2' - implementation 'com.blockstream:lwk_bindings:0.8.2' + // For < 0.71, this will be from the local maven repo + // For > 0.71, this will be replaced by `com.facebook.react:react-android:$version` by react gradle plugin + //noinspection GradleDynamicVersion + implementation "com.facebook.react:react-native:+" + implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" +} + +if (isNewArchitectureEnabled()) { + react { + jsRootDir = file("../src/") + libraryName = "LwkRn" + codegenJavaPackageName = "com.lwkrn" + } } diff --git a/android/cpp-adapter.cpp b/android/cpp-adapter.cpp new file mode 100644 index 0000000..3c47b05 --- /dev/null +++ b/android/cpp-adapter.cpp @@ -0,0 +1,63 @@ +// Generated by uniffi-bindgen-react-native +#include +#include +#include +#include "lwk-rn.h" + +namespace jsi = facebook::jsi; +namespace react = facebook::react; + +// Automated testing checks Java_com_lwkrn_LwkRnModule and lwkrn +// by comparing the whole line here. +/* +Java_com_lwkrn_LwkRnModule_nativeMultiply(JNIEnv *env, jclass type, jdouble a, jdouble b) { + return lwkrn::multiply(a, b); +} +*/ + +// Installer coming from LwkRnModule +extern "C" +JNIEXPORT jboolean JNICALL +Java_com_lwkrn_LwkRnModule_nativeInstallRustCrate( + JNIEnv *env, + jclass type, + jlong rtPtr, + jobject callInvokerHolderJavaObj +) { + // https://github.com/realm/realm-js/blob/main/packages/realm/binding/android/src/main/cpp/io_realm_react_RealmReactModule.cpp#L122-L145 + // React Native uses the fbjni library for handling JNI, which has the concept of "hybrid objects", + // which are Java objects containing a pointer to a C++ object. The CallInvokerHolder, which has the + // invokeAsync method we want access to, is one such hybrid object. + // Rather than reworking our code to use fbjni throughout, this code unpacks the C++ object from the Java + // object `callInvokerHolderJavaObj` manually, based on reverse engineering the fbjni code. + + // 1. Get the Java object referred to by the mHybridData field of the Java holder object + auto callInvokerHolderClass = env->GetObjectClass(callInvokerHolderJavaObj); + auto hybridDataField = env->GetFieldID(callInvokerHolderClass, "mHybridData", "Lcom/facebook/jni/HybridData;"); + auto hybridDataObj = env->GetObjectField(callInvokerHolderJavaObj, hybridDataField); + + // 2. Get the destructor Java object referred to by the mDestructor field from the myHybridData Java object + auto hybridDataClass = env->FindClass("com/facebook/jni/HybridData"); + auto destructorField = + env->GetFieldID(hybridDataClass, "mDestructor", "Lcom/facebook/jni/HybridData$Destructor;"); + auto destructorObj = env->GetObjectField(hybridDataObj, destructorField); + + // 3. Get the mNativePointer field from the mDestructor Java object + auto destructorClass = env->FindClass("com/facebook/jni/HybridData$Destructor"); + auto nativePointerField = env->GetFieldID(destructorClass, "mNativePointer", "J"); + auto nativePointerValue = env->GetLongField(destructorObj, nativePointerField); + + // 4. Cast the mNativePointer back to its C++ type + auto nativePointer = reinterpret_cast(nativePointerValue); + auto jsCallInvoker = nativePointer->getCallInvoker(); + + auto runtime = reinterpret_cast(rtPtr); + return lwkrn::installRustCrate(*runtime, jsCallInvoker); +} + +extern "C" +JNIEXPORT jboolean JNICALL +Java_com_lwkrn_LwkRnModule_nativeCleanupRustCrate(JNIEnv *env, jclass type, jlong rtPtr) { + auto runtime = reinterpret_cast(rtPtr); + return lwkrn::cleanupRustCrate(*runtime); +} \ No newline at end of file diff --git a/android/gradle.properties b/android/gradle.properties index 2d8d1e4..0f0e3e3 100644 --- a/android/gradle.properties +++ b/android/gradle.properties @@ -1 +1,5 @@ -android.useAndroidX=true \ No newline at end of file +LwkRn_kotlinVersion=2.0.21 +LwkRn_minSdkVersion=24 +LwkRn_targetSdkVersion=34 +LwkRn_compileSdkVersion=35 +LwkRn_ndkVersion=27.1.12297006 diff --git a/android/src/main/AndroidManifest.xml b/android/src/main/AndroidManifest.xml index 7281ebc..8e8b969 100644 --- a/android/src/main/AndroidManifest.xml +++ b/android/src/main/AndroidManifest.xml @@ -1,3 +1,5 @@ - - - + + + + \ No newline at end of file diff --git a/android/src/main/AndroidManifestNew.xml b/android/src/main/AndroidManifestNew.xml new file mode 100644 index 0000000..a2f47b6 --- /dev/null +++ b/android/src/main/AndroidManifestNew.xml @@ -0,0 +1,2 @@ + + diff --git a/android/src/main/java/com/lwkrn/LwkRnModule.kt b/android/src/main/java/com/lwkrn/LwkRnModule.kt new file mode 100644 index 0000000..1bed3eb --- /dev/null +++ b/android/src/main/java/com/lwkrn/LwkRnModule.kt @@ -0,0 +1,43 @@ +// Generated by uniffi-bindgen-react-native +package com.lwkrn + +import com.facebook.react.bridge.ReactApplicationContext +import com.facebook.react.module.annotations.ReactModule +import com.facebook.react.turbomodule.core.interfaces.CallInvokerHolder + +@ReactModule(name = LwkRnModule.NAME) +class LwkRnModule(reactContext: ReactApplicationContext) : + NativeLwkRnSpec(reactContext) { + + override fun getName(): String { + return NAME + } + + // Two native methods implemented in cpp-adapter.cpp, and ultimately + // lwk-rn.cpp + + external fun nativeInstallRustCrate(runtimePointer: Long, callInvoker: CallInvokerHolder): Boolean + external fun nativeCleanupRustCrate(runtimePointer: Long): Boolean + + override fun installRustCrate(): Boolean { + val context = this.reactApplicationContext + return nativeInstallRustCrate( + context.javaScriptContextHolder!!.get(), + context.jsCallInvokerHolder!! + ) + } + + override fun cleanupRustCrate(): Boolean { + return nativeCleanupRustCrate( + this.reactApplicationContext.javaScriptContextHolder!!.get() + ) + } + + companion object { + const val NAME = "LwkRn" + + init { + System.loadLibrary("lwk-rn") + } + } +} \ No newline at end of file diff --git a/android/src/main/java/com/lwkrn/LwkRnPackage.kt b/android/src/main/java/com/lwkrn/LwkRnPackage.kt new file mode 100644 index 0000000..9a9f729 --- /dev/null +++ b/android/src/main/java/com/lwkrn/LwkRnPackage.kt @@ -0,0 +1,34 @@ +// Generated by uniffi-bindgen-react-native +package com.lwkrn + +import com.facebook.react.TurboReactPackage +import com.facebook.react.bridge.NativeModule +import com.facebook.react.bridge.ReactApplicationContext +import com.facebook.react.module.model.ReactModuleInfo +import com.facebook.react.module.model.ReactModuleInfoProvider +import java.util.HashMap + +class LwkRnPackage : TurboReactPackage() { + override fun getModule(name: String, reactContext: ReactApplicationContext): NativeModule? { + return if (name == LwkRnModule.NAME) { + LwkRnModule(reactContext) + } else { + null + } + } + + override fun getReactModuleInfoProvider(): ReactModuleInfoProvider { + return ReactModuleInfoProvider { + val moduleInfos: MutableMap = HashMap() + moduleInfos[LwkRnModule.NAME] = ReactModuleInfo( + LwkRnModule.NAME, + LwkRnModule.NAME, + false, // canOverrideExistingModule + false, // needsEagerInit + false, // isCxxModule + true // isTurboModule + ) + moduleInfos + } + } +} \ No newline at end of file diff --git a/android/src/main/java/io/lwkrn/LwkRnModule.kt b/android/src/main/java/io/lwkrn/LwkRnModule.kt deleted file mode 100644 index cdb1933..0000000 --- a/android/src/main/java/io/lwkrn/LwkRnModule.kt +++ /dev/null @@ -1,674 +0,0 @@ -package io.lwkrn - -import com.facebook.react.bridge.Arguments -import com.facebook.react.bridge.Dynamic -import com.facebook.react.bridge.Promise -import com.facebook.react.bridge.ReactApplicationContext -import com.facebook.react.bridge.ReactContextBaseJavaModule -import com.facebook.react.bridge.ReactMethod -import lwk.Address -import lwk.Contract -import lwk.ElectrumClient -import lwk.Mnemonic -import lwk.Pset -import lwk.Signer -import lwk.Transaction -import lwk.TxBuilder -import lwk.Txid -import lwk.Update -import lwk.WalletTx -import lwk.Wollet -import lwk.WolletDescriptor -import lwk.Bip - -class LwkRnModule(reactContext: ReactApplicationContext) : - ReactContextBaseJavaModule(reactContext) { - override fun getName() = "LwkRnModule" - override fun getConstants(): MutableMap { - return hashMapOf("count" to 1) - } - - private var _descriptors = mutableMapOf() - private var _electrumClients = mutableMapOf() - private var _wollets = mutableMapOf() - private var _updates = mutableMapOf() - private var _walletTxs = mutableMapOf() - private var _transactions = mutableMapOf() - private var _psets = mutableMapOf() - private var _signers = mutableMapOf() - private var _txBuilders = mutableMapOf() - private var _contracts = mutableMapOf() - private var _bips = mutableMapOf() - - /* Descriptor */ - - @ReactMethod - fun createDescriptor( - descriptor: String, result: Promise - ) { - try { - val id = randomId() - _descriptors[id] = WolletDescriptor(descriptor) - result.resolve(id) - } catch (error: Throwable) { - result.reject("WolletDescriptor create error", error.localizedMessage, error) - } - } - - @ReactMethod - fun descriptorAsString( - keyId: String, - result: Promise - ) { - result.resolve(_descriptors[keyId]!!.toString()) - } - - /* Bip */ - - @ReactMethod - fun newBip49( - result: Promise - ) { - try { - val id = randomId() - _bips[id] = Bip.newBip49() - result.resolve(id) - } catch (error: Throwable) { - result.reject("Bip newBip49 error", error.localizedMessage, error) - } - } - - @ReactMethod - fun newBip84( - result: Promise - ) { - try { - val id = randomId() - _bips[id] = Bip.newBip84() - result.resolve(id) - } catch (error: Throwable) { - result.reject("Bip newBip84 error", error.localizedMessage, error) - } - } - - @ReactMethod - fun newBip87( - result: Promise - ) { - try { - val id = randomId() - _bips[id] = Bip.newBip87() - result.resolve(id) - } catch (error: Throwable) { - result.reject("Bip newBip87 error", error.localizedMessage, error) - } - } - - /* Signer */ - - @ReactMethod - fun createSigner( - mnemonic: String, - network: String, - result: Promise - ) { - try { - val id = randomId() - val mnemonicObj = Mnemonic(mnemonic) - val networkObj = setNetwork(network) - _signers[id] = Signer(mnemonicObj, networkObj) - result.resolve(id) - } catch (error: Throwable) { - result.reject("Signer create error", error.localizedMessage, error) - } - } - - @ReactMethod - fun sign( - signerId: String, - psetId: String, - result: Promise - ) { - try { - val id = randomId() - val signer = _signers[signerId] - val pset = _psets[psetId] - _psets[id] = signer!!.sign(pset!!) - result.resolve(id) - } catch (error: Throwable) { - result.reject("Signer sign error", error.localizedMessage, error) - } - } - - @ReactMethod - fun wpkhSlip77Descriptor( - signerId: String, - result: Promise - ) { - try { - val id = randomId() - val signer = _signers[signerId] - _descriptors[id] = signer!!.wpkhSlip77Descriptor() - result.resolve(id) - } catch (error: Throwable) { - result.reject("Signer wpkhSlip77Descriptor error", error.localizedMessage, error) - } - } - - @ReactMethod - fun keyoriginXpub( - signerId: String, - bipId: String, - result: Promise - ) { - try { - val signer = _signers[signerId] - val bip = _bips[bipId] - val res = signer!!.keyoriginXpub(bip!!) - result.resolve(res) - } catch (error: Throwable) { - result.reject("Signer keyoriginXpub error", error.localizedMessage, error) - } - } - - @ReactMethod - fun mnemonic( - signerId: String, - result: Promise - ) { - try { - val id = randomId() - val signer = _signers[signerId] - val res = signer!!.mnemonic() - result.resolve(res) - } catch (error: Throwable) { - result.reject("Signer mnemonic error", error.localizedMessage, error) - } - } - - @ReactMethod - fun createRandomSigner( - network: String, - result: Promise - ) { - try { - val id = randomId() - val networkObj = setNetwork(network) - _signers[id] = Signer.random(networkObj) - result.resolve(id) - } catch (error: Throwable) { - result.reject("Signer createRandomSigner error", error.localizedMessage, error) - } - } - - /* Electrum client */ - - @ReactMethod - fun initElectrumClient( - electrumUrl: String, - tls: Boolean, - validateDomain: Boolean, - result: Promise - ) { - try { - val id = randomId() - _electrumClients[id] = ElectrumClient(electrumUrl, tls, validateDomain) - result.resolve(id) - } catch (error: Throwable) { - result.reject("ElectrumClient create error", error.localizedMessage, error) - } - } - - @ReactMethod - fun defaultElectrumClient( - network: String, - result: Promise - ) { - try { - val id = randomId() - val networkObj = setNetwork(network) - _electrumClients[id] = networkObj.defaultElectrumClient() - result.resolve(id) - } catch (error: Throwable) { - result.reject( - "ElectrumClient defaultElectrumClient error", - error.localizedMessage, - error - ) - } - } - - @ReactMethod - fun broadcast( - clientId: String, - txId: String, - result: Promise - ) { - Thread { - try { - val client = _electrumClients[clientId] - val transaction = _transactions[txId] - val txid = client!!.broadcast(transaction!!) - result.resolve(txid.toString()) - } catch (error: Throwable) { - result.reject( - "ElectrumClient broadcast error", - error.localizedMessage, - error - ) - } - }.start() - } - - @ReactMethod - fun fullScan( - wolletId: String, - clientId: String, - result: Promise - ) { - Thread { - try { - val id = randomId() - val client = _electrumClients[clientId] - val wollet = _wollets[wolletId] - _updates[id] = client!!.fullScan(wollet!!)!! - result.resolve(id) - } catch (error: Throwable) { - result.reject("ElectrumClient fullScan error", error.localizedMessage, error) - } - }.start() - } - - /* Wollet */ - - @ReactMethod - fun createWollet( - network: String, - descriptorId: String, - datadir: String?, - result: Promise - ) { - try { - val id = randomId() - val networkObj = setNetwork(network) - val descriptor = _descriptors[descriptorId] - _wollets[id] = Wollet(networkObj, descriptor!!, datadir) - result.resolve(id) - } catch (error: Throwable) { - result.reject("Wollet create error", error.localizedMessage, error) - } - } - - @ReactMethod - fun applyUpdate( - wolletId: String, - updateId: String, - result: Promise - ) { - Thread { - try { - val wollet = _wollets[wolletId] - val update = _updates[updateId] - wollet!!.applyUpdate(update!!) - result.resolve(null) - } catch (error: Throwable) { - result.reject("Wollet applyUpdate error", error.localizedMessage, error) - } - }.start() - } - - @ReactMethod - fun getTransactions(wolletId: String, result: Promise) { - Thread { - try { - val wollet = _wollets[wolletId] - val list = wollet!!.transactions() - val transactions: MutableList> = mutableListOf() - for (item in list) { - var txObject = getTransactionObject(item) - val randomId = randomId() - _walletTxs[randomId] = item - txObject["transaction"] = randomId - transactions.add(txObject) - } - result.resolve(Arguments.makeNativeArray(transactions)) - } catch (error: Throwable) { - result.reject("Wollet getTransactions error", error.localizedMessage, error) - } - }.start() - } - - @ReactMethod - fun getDescriptor(wolletId: String, result: Promise) { - try { - val wollet = _wollets[wolletId] - result.resolve(wollet!!.descriptor().toString()) - } catch (error: Throwable) { - result.reject("Wollet getDescriptor error", error.localizedMessage, error) - } - } - - @ReactMethod - fun getAddress(wolletId: String, index: Dynamic, result: Promise) { - Thread { - try { - val wollet = _wollets[wolletId] - val address = wollet!!.address(if (index.isNull) null else index.asInt().toUInt()).address() - result.resolve(Arguments.makeNativeMap(getAddressObject(address))) - } catch (error: Throwable) { - result.reject("Wollet getAddress error", error.localizedMessage, error) - } - }.start() - } - - @ReactMethod - fun getBalance(wolletId: String, result: Promise) { - Thread { - try { - val wollet = _wollets[wolletId] - val balance = wollet!!.balance().mapValues { it.value.toInt() } - result.resolve(Arguments.makeNativeMap(balance)) - } catch (error: Throwable) { - result.reject("Wollet getBalance error", error.localizedMessage, error) - } - }.start() - } - - @ReactMethod - fun finalize(wolletId: String, psetId: String, result: Promise) { - try { - val wollet = _wollets[wolletId] - val pset = _psets[psetId] - val id = randomId() - _psets[id] = wollet!!.finalize(pset!!) - result.resolve(id) - } catch (error: Throwable) { - result.reject("Wollet finalize error", error.localizedMessage, error) - } - } - - @ReactMethod - fun waitTx(wolletId: String, txid: String, clientId: String, result: Promise) { - Thread { - try { - val wollet = _wollets[wolletId] - val client = _electrumClients[clientId] - val walletTx = wollet!!.waitForTx(Txid(txid), client!!) - val id = randomId() - _walletTxs[id] = walletTx - val txObject = getTransactionObject(walletTx) - txObject["transaction"] = id - result.resolve(Arguments.makeNativeMap(txObject)) - } catch (error: Throwable) { - result.reject("Wollet waitTx error", error.localizedMessage, error) - } - }.start() - } - /* Transaction */ - - @ReactMethod - fun createTransaction( - hex: String, result: Promise - ) { - try { - val id = randomId() - _transactions[id] = Transaction(hex) - result.resolve(id) - } catch (error: Throwable) { - result.reject("Transaction create error", error.localizedMessage, error) - } - } - - @ReactMethod - fun txId(txId: String, result: Promise) { - try { - val tx = _transactions[txId] - result.resolve(tx!!.txid().toString()) - } catch (error: Throwable) { - result.reject("Transaction toString error", error.localizedMessage, error) - } - } - - @ReactMethod - fun txFee(txId: String, policyAsset: String, result: Promise) { - try { - val tx = _transactions[txId] - result.resolve(tx!!.fee(policyAsset).toString()) - } catch (error: Throwable) { - result.reject("Transaction toString error", error.localizedMessage, error) - } - } - - @ReactMethod - fun txAsString(txId: String, result: Promise) { - try { - val tx = _transactions[txId] - result.resolve(tx.toString()) - } catch (error: Throwable) { - result.reject("Transaction toString error", error.localizedMessage, error) - } - } - - /* Pset */ - - @ReactMethod - fun createPset(base64: String, result: Promise) { - try { - val id = randomId() - _psets[id] = Pset(base64) - result.resolve(id) - } catch (error: Throwable) { - result.reject("Pset createPset error", error.localizedMessage, error) - } - } - - @ReactMethod - fun psetAsString(psetId: String, result: Promise) { - try { - val pset = _psets[psetId] - result.resolve(pset.toString()) - } catch (error: Throwable) { - result.reject("Pset toString error", error.localizedMessage, error) - } - } - - @ReactMethod - fun psetExtractTx(psetId: String, result: Promise) { - try { - val id = randomId() - val pset = _psets[psetId] - _transactions[id] = pset!!.extractTx() - result.resolve(id) - } catch (error: Throwable) { - result.reject("Pset extractTx error", error.localizedMessage, error) - } - } - - @ReactMethod - fun psetIssuanceAsset(id: String, index: Int, result: Promise) { - try { - val assetId = _psets[id]?.issuanceAsset(index.toUInt()) - result.resolve(assetId) - } catch (error: Throwable) { - result.reject("Pset issuanceAsset error", error.localizedMessage, error) - } - } - - @ReactMethod - fun psetIssuanceToken(id: String, index: Int, result: Promise) { - try { - val assetId = _psets[id]?.issuanceToken(index.toUInt()) - result.resolve(assetId) - } catch (error: Throwable) { - result.reject("Pset issuanceToken error", error.localizedMessage, error) - } - } - - /* TxBuilder */ - @ReactMethod - fun createTxBuilder( - network: String, result: Promise - ) { - try { - val id = randomId() - val networkObj = setNetwork(network) - _txBuilders[id] = networkObj.txBuilder() - result.resolve(id) - } catch (error: Throwable) { - result.reject("TxBuilder create error", error.localizedMessage, error) - } - } - - @ReactMethod - fun txBuilderAddBurn(id: String, satoshi: Int, asset: String, result: Promise) { - try { - _txBuilders[id]!!.addBurn(satoshi.toULong(), asset) - result.resolve(null) - } catch (error: Throwable) { - result.reject("TxBuilder addBurn error", error.localizedMessage, error) - } - } - - @ReactMethod - fun txBuilderAddLbtcRecipient(id: String, address: String, satoshi: Int, result: Promise) { - try { - _txBuilders[id]!!.addLbtcRecipient(Address(address), satoshi.toULong()) - result.resolve(null) - } catch (error: Throwable) { - result.reject("TxBuilder addLbtcRecipient error", error.localizedMessage, error) - } - } - - @ReactMethod - fun txBuilderAddRecipient( - id: String, - address: String, - satoshi: Int, - asset: String, - result: Promise - ) { - try { - _txBuilders[id]!!.addRecipient(Address(address), satoshi.toULong(), asset) - result.resolve(null) - } catch (error: Throwable) { - result.reject("TxBuilder addRecipient error", error.localizedMessage, error) - } - } - - @ReactMethod - fun txBuilderDrainLbtcTo(id: String, address: String, result: Promise) { - try { - _txBuilders[id]!!.drainLbtcTo(Address(address)) - result.resolve(null) - } catch (error: Throwable) { - result.reject("TxBuilder drainLbtcTo error", error.localizedMessage, error) - } - } - - @ReactMethod - fun txBuilderDrainLbtcWallet(id: String, result: Promise) { - try { - _txBuilders[id]!!.drainLbtcWallet() - result.resolve(null) - } catch (error: Throwable) { - result.reject("TxBuilder drainLbtcWallet error", error.localizedMessage, error) - } - } - - @ReactMethod - fun txBuilderFeeRate(id: String, rate: Float, result: Promise) { - try { - _txBuilders[id]!!.feeRate(rate) - result.resolve(null) - } catch (error: Throwable) { - result.reject("TxBuilder feeRate error", error.localizedMessage, error) - } - } - - @ReactMethod - fun txBuilderEnableDiscount(id: String, result: Promise) { - try { - _txBuilders[id]!!.enableCtDiscount() - result.resolve(null) - } catch (error: Throwable) { - result.reject("TxBuilder enableCtDiscount error", error.localizedMessage, error) - } - } - - @ReactMethod - fun txBuilderFinish(id: String, wolletId: String, result: Promise) { - try { - val newId = randomId() - val wollet = _wollets[wolletId] - _psets[newId] = _txBuilders[id]!!.finish(wollet!!) - result.resolve(newId) - } catch (error: Throwable) { - result.reject("TxBuilder finish error", error.localizedMessage, error) - } - } - - @ReactMethod - fun txBuilderIssueAsset( - id: String, - assetSats: Int, - assetReceiver: String?, - tokenSats: Int, - tokenReceiver: String?, - contractId: String?, - result: Promise) { - try { - val assetReceiver = assetReceiver?.let { Address(assetReceiver) } - val tokenReceiver = tokenReceiver?.let { Address(tokenReceiver) } - val contract = contractId?.let { _contracts[contractId] } - _txBuilders[id]!!.issueAsset(assetSats.toULong(), assetReceiver, tokenSats.toULong(), tokenReceiver, contract) - result.resolve(null) - } catch (error: Throwable) { - result.reject("TxBuilder issueAsset error", error.localizedMessage, error) - } - } - - @ReactMethod - fun txBuilderReissueAsset( - id: String, - assetToReissue: String, - satoshiToReissue: Int, - assetReceiver: String?, - issuanceTx: String?, - result: Promise) { - try { - val assetReceiver = assetReceiver?.let { Address(assetReceiver) } - val issuanceTx = issuanceTx?.let { Transaction(issuanceTx) } - _txBuilders[id]!!.reissueAsset(assetToReissue, satoshiToReissue.toULong(), assetReceiver, issuanceTx) - result.resolve(null) - } catch (error: Throwable) { - result.reject("TxBuilder reissueAsset error", error.localizedMessage, error) - } - } - /* Contract */ - @ReactMethod - fun createContract( - domain: String, - issuerPubkey: String, - name: String, - precision: UByte, - ticker: String, - version: UByte, - result: Promise) { - try { - val id = randomId() - _contracts[id] = Contract(domain, issuerPubkey, name, precision, ticker, version) - result.resolve(null) - } catch (error: Throwable) { - result.reject("Contract create error", error.localizedMessage, error) - } - } - - @ReactMethod - fun contractAsString( - id: String, - result: Promise - ) { - result.resolve(_contracts[id]!!.toString()) - } - -} diff --git a/android/src/main/java/io/lwkrn/LwkRnPackage.kt b/android/src/main/java/io/lwkrn/LwkRnPackage.kt deleted file mode 100644 index 47abfe5..0000000 --- a/android/src/main/java/io/lwkrn/LwkRnPackage.kt +++ /dev/null @@ -1,19 +0,0 @@ -package io.lwkrn - -import com.facebook.react.ReactPackage -import com.facebook.react.bridge.NativeModule -import com.facebook.react.bridge.ReactApplicationContext -import com.facebook.react.uimanager.ViewManager - -class LwkRnPackage : ReactPackage { - - override fun createViewManagers(reactContext: ReactApplicationContext): - MutableList> { - return mutableListOf() - } - - override fun createNativeModules(reactContext: ReactApplicationContext): - MutableList { - return mutableListOf(LwkRnModule(reactContext)) - } -} diff --git a/android/src/main/java/io/lwkrn/Utils.kt b/android/src/main/java/io/lwkrn/Utils.kt deleted file mode 100644 index c307642..0000000 --- a/android/src/main/java/io/lwkrn/Utils.kt +++ /dev/null @@ -1,67 +0,0 @@ -package io.lwkrn - -import lwk.Network -import lwk.WalletTx -import lwk.Address -import lwk.Chain -import lwk.WalletTxOut -import java.util.* - -fun setNetwork(networkStr: String? = "testnet"): Network { - return when (networkStr) { - "testnet" -> Network.testnet() - "mainnet" -> Network.mainnet() - "regtest" -> Network.regtestDefault() - else -> Network.testnet() - } -} - -fun getNetworkString(network: Network): String { - if (network.isMainnet()) { - return "mainnet" - } else { - return "testnet" - } -} - -fun randomId() = UUID.randomUUID().toString() - -fun getTransactionObject(transaction: WalletTx): MutableMap { - return mutableMapOf( - "fee" to transaction.fee().toInt(), - "balance" to transaction.balance().mapValues { it.value.toInt() }, - "type" to transaction.type(), - "txid" to transaction.txid().toString(), - "height" to transaction.height()?.toInt(), - "timestamp" to transaction.timestamp()?.toInt(), - "inputs" to transaction.inputs().map { getWalletTxOutObject(it) }, - "outputs" to transaction.outputs().map { getWalletTxOutObject(it) } - ) -} - -fun getAddressObject(address: Address): MutableMap { - return mutableMapOf( - "description" to address.toString(), - "is_blinded" to address.isBlinded(), - "qr_code_text" to address.qrCodeText(), - "script_pubkey" to address.scriptPubkey().toString() - ) -} -fun getWalletTxOutObject(out: WalletTxOut?): MutableMap { - return mutableMapOf( - "ext_int" to if (out?.extInt() == Chain.EXTERNAL) "external" else "internal", - "height" to out?.height()?.toInt(), - "outpoint" to mutableMapOf ( - "txid" to out?.outpoint()?.txid().toString(), - "vout" to out?.outpoint()?.vout()?.toInt() - ), - "script_pubkey" to out?.scriptPubkey().toString(), - "unblinded" to mutableMapOf ( - "asset" to out?.unblinded()?.asset(), - "assetBf" to out?.unblinded()?.assetBf(), - "value" to out?.unblinded()?.value()?.toInt(), - "valueBf" to out?.unblinded()?.valueBf() - ), - "wildcard_index" to out?.wildcardIndex()?.toInt() - ) -} diff --git a/babel.config.js b/babel.config.js index 29f3a60..5d51f25 100644 --- a/babel.config.js +++ b/babel.config.js @@ -1,5 +1,3 @@ module.exports = { - presets: [ - ['module:react-native-builder-bob/babel-preset', { modules: 'commonjs' }], - ], + presets: ['module:react-native-builder-bob/babel-preset'], }; diff --git a/cpp/generated/lwk.cpp b/cpp/generated/lwk.cpp new file mode 100644 index 0000000..a01aa7f --- /dev/null +++ b/cpp/generated/lwk.cpp @@ -0,0 +1,12357 @@ +// This file was autogenerated by some hot garbage in the +// `uniffi-bindgen-react-native` crate. Trust me, you don't want to mess with +// it! +#include "lwk.hpp" + +#include "UniffiJsiTypes.h" +#include +#include +#include +#include +#include + +namespace react = facebook::react; +namespace jsi = facebook::jsi; + +// Calling into Rust. +extern "C" { +typedef void (*UniffiRustFutureContinuationCallback)(uint64_t data, + int8_t poll_result); +typedef void (*UniffiForeignFutureFree)(uint64_t handle); +typedef void (*UniffiCallbackInterfaceFree)(uint64_t handle); +typedef struct UniffiForeignFuture { + uint64_t handle; + UniffiForeignFutureFree free; +} UniffiForeignFuture; +typedef struct UniffiForeignFutureStructU8 { + uint8_t return_value; + RustCallStatus call_status; +} UniffiForeignFutureStructU8; +typedef void (*UniffiForeignFutureCompleteU8)( + uint64_t callback_data, UniffiForeignFutureStructU8 result); +typedef struct UniffiForeignFutureStructI8 { + int8_t return_value; + RustCallStatus call_status; +} UniffiForeignFutureStructI8; +typedef void (*UniffiForeignFutureCompleteI8)( + uint64_t callback_data, UniffiForeignFutureStructI8 result); +typedef struct UniffiForeignFutureStructU16 { + uint16_t return_value; + RustCallStatus call_status; +} UniffiForeignFutureStructU16; +typedef void (*UniffiForeignFutureCompleteU16)( + uint64_t callback_data, UniffiForeignFutureStructU16 result); +typedef struct UniffiForeignFutureStructI16 { + int16_t return_value; + RustCallStatus call_status; +} UniffiForeignFutureStructI16; +typedef void (*UniffiForeignFutureCompleteI16)( + uint64_t callback_data, UniffiForeignFutureStructI16 result); +typedef struct UniffiForeignFutureStructU32 { + uint32_t return_value; + RustCallStatus call_status; +} UniffiForeignFutureStructU32; +typedef void (*UniffiForeignFutureCompleteU32)( + uint64_t callback_data, UniffiForeignFutureStructU32 result); +typedef struct UniffiForeignFutureStructI32 { + int32_t return_value; + RustCallStatus call_status; +} UniffiForeignFutureStructI32; +typedef void (*UniffiForeignFutureCompleteI32)( + uint64_t callback_data, UniffiForeignFutureStructI32 result); +typedef struct UniffiForeignFutureStructU64 { + uint64_t return_value; + RustCallStatus call_status; +} UniffiForeignFutureStructU64; +typedef void (*UniffiForeignFutureCompleteU64)( + uint64_t callback_data, UniffiForeignFutureStructU64 result); +typedef struct UniffiForeignFutureStructI64 { + int64_t return_value; + RustCallStatus call_status; +} UniffiForeignFutureStructI64; +typedef void (*UniffiForeignFutureCompleteI64)( + uint64_t callback_data, UniffiForeignFutureStructI64 result); +typedef struct UniffiForeignFutureStructF32 { + float return_value; + RustCallStatus call_status; +} UniffiForeignFutureStructF32; +typedef void (*UniffiForeignFutureCompleteF32)( + uint64_t callback_data, UniffiForeignFutureStructF32 result); +typedef struct UniffiForeignFutureStructF64 { + double return_value; + RustCallStatus call_status; +} UniffiForeignFutureStructF64; +typedef void (*UniffiForeignFutureCompleteF64)( + uint64_t callback_data, UniffiForeignFutureStructF64 result); +typedef struct UniffiForeignFutureStructPointer { + void *return_value; + RustCallStatus call_status; +} UniffiForeignFutureStructPointer; +typedef void (*UniffiForeignFutureCompletePointer)( + uint64_t callback_data, UniffiForeignFutureStructPointer result); +typedef struct UniffiForeignFutureStructRustBuffer { + RustBuffer return_value; + RustCallStatus call_status; +} UniffiForeignFutureStructRustBuffer; +typedef void (*UniffiForeignFutureCompleteRustBuffer)( + uint64_t callback_data, UniffiForeignFutureStructRustBuffer result); +typedef struct UniffiForeignFutureStructVoid { + RustCallStatus call_status; +} UniffiForeignFutureStructVoid; +typedef void (*UniffiForeignFutureCompleteVoid)( + uint64_t callback_data, UniffiForeignFutureStructVoid result); +typedef void (*UniffiCallbackInterfaceForeignPersisterMethod0)( + uint64_t uniffi_handle, uint64_t index, RustBuffer *uniffi_out_return, + RustCallStatus *rust_call_status); +typedef void (*UniffiCallbackInterfaceForeignPersisterMethod1)( + uint64_t uniffi_handle, void *update, void *uniffi_out_return, + RustCallStatus *rust_call_status); +typedef struct UniffiVTableCallbackInterfaceForeignPersister { + UniffiCallbackInterfaceForeignPersisterMethod0 get; + UniffiCallbackInterfaceForeignPersisterMethod1 push; + UniffiCallbackInterfaceFree uniffi_free; +} UniffiVTableCallbackInterfaceForeignPersister; +void *uniffi_lwk_fn_clone_address(void *ptr, RustCallStatus *uniffi_out_err); +void uniffi_lwk_fn_free_address(void *ptr, RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_constructor_address_new(RustBuffer s, + RustCallStatus *uniffi_out_err); +int8_t uniffi_lwk_fn_method_address_is_blinded(void *ptr, + RustCallStatus *uniffi_out_err); +RustBuffer +uniffi_lwk_fn_method_address_qr_code_text(void *ptr, + RustCallStatus *uniffi_out_err); +RustBuffer +uniffi_lwk_fn_method_address_qr_code_uri(void *ptr, RustBuffer pixel_per_module, + RustCallStatus *uniffi_out_err); +void * +uniffi_lwk_fn_method_address_script_pubkey(void *ptr, + RustCallStatus *uniffi_out_err); +void * +uniffi_lwk_fn_method_address_to_unconfidential(void *ptr, + RustCallStatus *uniffi_out_err); +RustBuffer uniffi_lwk_fn_method_address_uniffi_trait_display( + void *ptr, RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_clone_addressresult(void *ptr, + RustCallStatus *uniffi_out_err); +void uniffi_lwk_fn_free_addressresult(void *ptr, + RustCallStatus *uniffi_out_err); +void * +uniffi_lwk_fn_method_addressresult_address(void *ptr, + RustCallStatus *uniffi_out_err); +uint32_t +uniffi_lwk_fn_method_addressresult_index(void *ptr, + RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_clone_amp2(void *ptr, RustCallStatus *uniffi_out_err); +void uniffi_lwk_fn_free_amp2(void *ptr, RustCallStatus *uniffi_out_err); +void * +uniffi_lwk_fn_constructor_amp2_new_testnet(RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_method_amp2_cosign(void *ptr, void *pset, + RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_method_amp2_descriptor_from_str( + void *ptr, RustBuffer keyorigin_xpub, RustCallStatus *uniffi_out_err); +RustBuffer uniffi_lwk_fn_method_amp2_register(void *ptr, void *desc, + RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_clone_amp2descriptor(void *ptr, + RustCallStatus *uniffi_out_err); +void uniffi_lwk_fn_free_amp2descriptor(void *ptr, + RustCallStatus *uniffi_out_err); +void * +uniffi_lwk_fn_method_amp2descriptor_descriptor(void *ptr, + RustCallStatus *uniffi_out_err); +RustBuffer uniffi_lwk_fn_method_amp2descriptor_uniffi_trait_display( + void *ptr, RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_clone_bip(void *ptr, RustCallStatus *uniffi_out_err); +void uniffi_lwk_fn_free_bip(void *ptr, RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_constructor_bip_new_bip49(RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_constructor_bip_new_bip84(RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_constructor_bip_new_bip87(RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_clone_contract(void *ptr, RustCallStatus *uniffi_out_err); +void uniffi_lwk_fn_free_contract(void *ptr, RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_constructor_contract_new(RustBuffer domain, + RustBuffer issuer_pubkey, + RustBuffer name, uint8_t precision, + RustBuffer ticker, uint8_t version, + RustCallStatus *uniffi_out_err); +RustBuffer uniffi_lwk_fn_method_contract_uniffi_trait_display( + void *ptr, RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_clone_electrumclient(void *ptr, + RustCallStatus *uniffi_out_err); +void uniffi_lwk_fn_free_electrumclient(void *ptr, + RustCallStatus *uniffi_out_err); +void * +uniffi_lwk_fn_constructor_electrumclient_new(RustBuffer electrum_url, + int8_t tls, int8_t validate_domain, + RustCallStatus *uniffi_out_err); +void * +uniffi_lwk_fn_method_electrumclient_broadcast(void *ptr, void *tx, + RustCallStatus *uniffi_out_err); +RustBuffer +uniffi_lwk_fn_method_electrumclient_full_scan(void *ptr, void *wollet, + RustCallStatus *uniffi_out_err); +RustBuffer uniffi_lwk_fn_method_electrumclient_full_scan_to_index( + void *ptr, void *wollet, uint32_t index, RustCallStatus *uniffi_out_err); +void uniffi_lwk_fn_method_electrumclient_ping(void *ptr, + RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_clone_esploraclient(void *ptr, + RustCallStatus *uniffi_out_err); +void uniffi_lwk_fn_free_esploraclient(void *ptr, + RustCallStatus *uniffi_out_err); +void * +uniffi_lwk_fn_constructor_esploraclient_new(RustBuffer url, void *network, + RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_constructor_esploraclient_new_waterfalls( + RustBuffer url, void *network, RustCallStatus *uniffi_out_err); +void * +uniffi_lwk_fn_method_esploraclient_broadcast(void *ptr, void *tx, + RustCallStatus *uniffi_out_err); +RustBuffer +uniffi_lwk_fn_method_esploraclient_full_scan(void *ptr, void *wollet, + RustCallStatus *uniffi_out_err); +RustBuffer uniffi_lwk_fn_method_esploraclient_full_scan_to_index( + void *ptr, void *wollet, uint32_t index, RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_clone_foreignpersister(void *ptr, + RustCallStatus *uniffi_out_err); +void uniffi_lwk_fn_free_foreignpersister(void *ptr, + RustCallStatus *uniffi_out_err); +void uniffi_lwk_fn_init_callback_vtable_foreignpersister( + UniffiVTableCallbackInterfaceForeignPersister *vtable); +RustBuffer +uniffi_lwk_fn_method_foreignpersister_get(void *ptr, uint64_t index, + RustCallStatus *uniffi_out_err); +void uniffi_lwk_fn_method_foreignpersister_push(void *ptr, void *update, + RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_clone_foreignpersisterlink(void *ptr, + RustCallStatus *uniffi_out_err); +void uniffi_lwk_fn_free_foreignpersisterlink(void *ptr, + RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_constructor_foreignpersisterlink_new( + void *persister, RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_clone_issuance(void *ptr, RustCallStatus *uniffi_out_err); +void uniffi_lwk_fn_free_issuance(void *ptr, RustCallStatus *uniffi_out_err); +RustBuffer uniffi_lwk_fn_method_issuance_asset(void *ptr, + RustCallStatus *uniffi_out_err); +int8_t +uniffi_lwk_fn_method_issuance_is_issuance(void *ptr, + RustCallStatus *uniffi_out_err); +int8_t +uniffi_lwk_fn_method_issuance_is_reissuance(void *ptr, + RustCallStatus *uniffi_out_err); +RustBuffer +uniffi_lwk_fn_method_issuance_prev_txid(void *ptr, + RustCallStatus *uniffi_out_err); +RustBuffer +uniffi_lwk_fn_method_issuance_prev_vout(void *ptr, + RustCallStatus *uniffi_out_err); +RustBuffer uniffi_lwk_fn_method_issuance_token(void *ptr, + RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_clone_mnemonic(void *ptr, RustCallStatus *uniffi_out_err); +void uniffi_lwk_fn_free_mnemonic(void *ptr, RustCallStatus *uniffi_out_err); +void * +uniffi_lwk_fn_constructor_mnemonic_from_entropy(RustBuffer b, + RustCallStatus *uniffi_out_err); +void * +uniffi_lwk_fn_constructor_mnemonic_from_random(uint8_t word_count, + RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_constructor_mnemonic_new(RustBuffer s, + RustCallStatus *uniffi_out_err); +RustBuffer uniffi_lwk_fn_method_mnemonic_uniffi_trait_display( + void *ptr, RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_clone_network(void *ptr, RustCallStatus *uniffi_out_err); +void uniffi_lwk_fn_free_network(void *ptr, RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_constructor_network_mainnet(RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_constructor_network_regtest(RustBuffer policy_asset, + RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_constructor_network_regtest_default( + RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_constructor_network_testnet(RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_method_network_default_electrum_client( + void *ptr, RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_method_network_default_esplora_client( + void *ptr, RustCallStatus *uniffi_out_err); +int8_t uniffi_lwk_fn_method_network_is_mainnet(void *ptr, + RustCallStatus *uniffi_out_err); +RustBuffer +uniffi_lwk_fn_method_network_policy_asset(void *ptr, + RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_method_network_tx_builder(void *ptr, + RustCallStatus *uniffi_out_err); +RustBuffer uniffi_lwk_fn_method_network_uniffi_trait_display( + void *ptr, RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_clone_outpoint(void *ptr, RustCallStatus *uniffi_out_err); +void uniffi_lwk_fn_free_outpoint(void *ptr, RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_constructor_outpoint_new(RustBuffer s, + RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_method_outpoint_txid(void *ptr, + RustCallStatus *uniffi_out_err); +uint32_t uniffi_lwk_fn_method_outpoint_vout(void *ptr, + RustCallStatus *uniffi_out_err); +RustBuffer uniffi_lwk_fn_method_outpoint_uniffi_trait_display( + void *ptr, RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_clone_precision(void *ptr, RustCallStatus *uniffi_out_err); +void uniffi_lwk_fn_free_precision(void *ptr, RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_constructor_precision_new(uint8_t precision, + RustCallStatus *uniffi_out_err); +RustBuffer +uniffi_lwk_fn_method_precision_sats_to_string(void *ptr, int64_t sats, + RustCallStatus *uniffi_out_err); +int64_t +uniffi_lwk_fn_method_precision_string_to_sats(void *ptr, RustBuffer val, + RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_clone_pset(void *ptr, RustCallStatus *uniffi_out_err); +void uniffi_lwk_fn_free_pset(void *ptr, RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_constructor_pset_new(RustBuffer base64, + RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_method_pset_extract_tx(void *ptr, + RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_method_pset_finalize(void *ptr, + RustCallStatus *uniffi_out_err); +RustBuffer uniffi_lwk_fn_method_pset_inputs(void *ptr, + RustCallStatus *uniffi_out_err); +RustBuffer +uniffi_lwk_fn_method_pset_uniffi_trait_display(void *ptr, + RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_clone_psetbalance(void *ptr, + RustCallStatus *uniffi_out_err); +void uniffi_lwk_fn_free_psetbalance(void *ptr, RustCallStatus *uniffi_out_err); +RustBuffer +uniffi_lwk_fn_method_psetbalance_balances(void *ptr, + RustCallStatus *uniffi_out_err); +uint64_t uniffi_lwk_fn_method_psetbalance_fee(void *ptr, + RustCallStatus *uniffi_out_err); +RustBuffer +uniffi_lwk_fn_method_psetbalance_recipients(void *ptr, + RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_clone_psetdetails(void *ptr, + RustCallStatus *uniffi_out_err); +void uniffi_lwk_fn_free_psetdetails(void *ptr, RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_method_psetdetails_balance(void *ptr, + RustCallStatus *uniffi_out_err); +RustBuffer uniffi_lwk_fn_method_psetdetails_inputs_issuances( + void *ptr, RustCallStatus *uniffi_out_err); +RustBuffer +uniffi_lwk_fn_method_psetdetails_signatures(void *ptr, + RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_clone_psetinput(void *ptr, RustCallStatus *uniffi_out_err); +void uniffi_lwk_fn_free_psetinput(void *ptr, RustCallStatus *uniffi_out_err); +RustBuffer +uniffi_lwk_fn_method_psetinput_issuance_asset(void *ptr, + RustCallStatus *uniffi_out_err); +RustBuffer +uniffi_lwk_fn_method_psetinput_issuance_token(void *ptr, + RustCallStatus *uniffi_out_err); +RustBuffer uniffi_lwk_fn_method_psetinput_previous_script_pubkey( + void *ptr, RustCallStatus *uniffi_out_err); +void * +uniffi_lwk_fn_method_psetinput_previous_txid(void *ptr, + RustCallStatus *uniffi_out_err); +uint32_t +uniffi_lwk_fn_method_psetinput_previous_vout(void *ptr, + RustCallStatus *uniffi_out_err); +RustBuffer +uniffi_lwk_fn_method_psetinput_redeem_script(void *ptr, + RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_clone_psetsignatures(void *ptr, + RustCallStatus *uniffi_out_err); +void uniffi_lwk_fn_free_psetsignatures(void *ptr, + RustCallStatus *uniffi_out_err); +RustBuffer uniffi_lwk_fn_method_psetsignatures_has_signature( + void *ptr, RustCallStatus *uniffi_out_err); +RustBuffer uniffi_lwk_fn_method_psetsignatures_missing_signature( + void *ptr, RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_clone_recipient(void *ptr, RustCallStatus *uniffi_out_err); +void uniffi_lwk_fn_free_recipient(void *ptr, RustCallStatus *uniffi_out_err); +RustBuffer +uniffi_lwk_fn_method_recipient_address(void *ptr, + RustCallStatus *uniffi_out_err); +RustBuffer uniffi_lwk_fn_method_recipient_asset(void *ptr, + RustCallStatus *uniffi_out_err); +RustBuffer uniffi_lwk_fn_method_recipient_value(void *ptr, + RustCallStatus *uniffi_out_err); +uint32_t uniffi_lwk_fn_method_recipient_vout(void *ptr, + RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_clone_script(void *ptr, RustCallStatus *uniffi_out_err); +void uniffi_lwk_fn_free_script(void *ptr, RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_constructor_script_new(RustBuffer hex, + RustCallStatus *uniffi_out_err); +RustBuffer uniffi_lwk_fn_method_script_asm(void *ptr, + RustCallStatus *uniffi_out_err); +RustBuffer uniffi_lwk_fn_method_script_bytes(void *ptr, + RustCallStatus *uniffi_out_err); +RustBuffer uniffi_lwk_fn_method_script_uniffi_trait_display( + void *ptr, RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_clone_secretkey(void *ptr, RustCallStatus *uniffi_out_err); +void uniffi_lwk_fn_free_secretkey(void *ptr, RustCallStatus *uniffi_out_err); +void * +uniffi_lwk_fn_constructor_secretkey_from_bytes(RustBuffer bytes, + RustCallStatus *uniffi_out_err); +RustBuffer uniffi_lwk_fn_method_secretkey_bytes(void *ptr, + RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_clone_signer(void *ptr, RustCallStatus *uniffi_out_err); +void uniffi_lwk_fn_free_signer(void *ptr, RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_constructor_signer_new(void *mnemonic, void *network, + RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_constructor_signer_random(void *network, + RustCallStatus *uniffi_out_err); +RustBuffer +uniffi_lwk_fn_method_signer_keyorigin_xpub(void *ptr, void *bip, + RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_method_signer_mnemonic(void *ptr, + RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_method_signer_sign(void *ptr, void *pset, + RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_method_signer_wpkh_slip77_descriptor( + void *ptr, RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_clone_testenv(void *ptr, RustCallStatus *uniffi_out_err); +void uniffi_lwk_fn_free_testenv(void *ptr, RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_constructor_testenv_new(RustCallStatus *uniffi_out_err); +RustBuffer +uniffi_lwk_fn_method_testenv_electrum_url(void *ptr, + RustCallStatus *uniffi_out_err); +void uniffi_lwk_fn_method_testenv_generate(void *ptr, uint32_t blocks, + RustCallStatus *uniffi_out_err); +void * +uniffi_lwk_fn_method_testenv_get_new_address(void *ptr, + RustCallStatus *uniffi_out_err); +uint64_t uniffi_lwk_fn_method_testenv_height(void *ptr, + RustCallStatus *uniffi_out_err); +RustBuffer +uniffi_lwk_fn_method_testenv_issue_asset(void *ptr, uint64_t satoshi, + RustCallStatus *uniffi_out_err); +void * +uniffi_lwk_fn_method_testenv_send_to_address(void *ptr, void *address, + uint64_t satoshi, RustBuffer asset, + RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_clone_transaction(void *ptr, + RustCallStatus *uniffi_out_err); +void uniffi_lwk_fn_free_transaction(void *ptr, RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_constructor_transaction_new(RustBuffer hex, + RustCallStatus *uniffi_out_err); +RustBuffer +uniffi_lwk_fn_method_transaction_bytes(void *ptr, + RustCallStatus *uniffi_out_err); +uint64_t uniffi_lwk_fn_method_transaction_fee(void *ptr, + RustBuffer policy_asset, + RustCallStatus *uniffi_out_err); +RustBuffer +uniffi_lwk_fn_method_transaction_inputs(void *ptr, + RustCallStatus *uniffi_out_err); +RustBuffer +uniffi_lwk_fn_method_transaction_outputs(void *ptr, + RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_method_transaction_txid(void *ptr, + RustCallStatus *uniffi_out_err); +RustBuffer uniffi_lwk_fn_method_transaction_uniffi_trait_display( + void *ptr, RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_clone_txbuilder(void *ptr, RustCallStatus *uniffi_out_err); +void uniffi_lwk_fn_free_txbuilder(void *ptr, RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_constructor_txbuilder_new(void *network, + RustCallStatus *uniffi_out_err); +void uniffi_lwk_fn_method_txbuilder_add_burn(void *ptr, uint64_t satoshi, + RustBuffer asset, + RustCallStatus *uniffi_out_err); +void uniffi_lwk_fn_method_txbuilder_add_lbtc_recipient( + void *ptr, void *address, uint64_t satoshi, RustCallStatus *uniffi_out_err); +void uniffi_lwk_fn_method_txbuilder_add_recipient( + void *ptr, void *address, uint64_t satoshi, RustBuffer asset, + RustCallStatus *uniffi_out_err); +void uniffi_lwk_fn_method_txbuilder_drain_lbtc_to( + void *ptr, void *address, RustCallStatus *uniffi_out_err); +void uniffi_lwk_fn_method_txbuilder_drain_lbtc_wallet( + void *ptr, RustCallStatus *uniffi_out_err); +void uniffi_lwk_fn_method_txbuilder_fee_rate(void *ptr, RustBuffer rate, + RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_method_txbuilder_finish(void *ptr, void *wollet, + RustCallStatus *uniffi_out_err); +void uniffi_lwk_fn_method_txbuilder_issue_asset(void *ptr, uint64_t asset_sats, + RustBuffer asset_receiver, + uint64_t token_sats, + RustBuffer token_receiver, + RustBuffer contract, + RustCallStatus *uniffi_out_err); +void uniffi_lwk_fn_method_txbuilder_reissue_asset( + void *ptr, RustBuffer asset_to_reissue, uint64_t satoshi_to_reissue, + RustBuffer asset_receiver, RustBuffer issuance_tx, + RustCallStatus *uniffi_out_err); +void uniffi_lwk_fn_method_txbuilder_set_wallet_utxos( + void *ptr, RustBuffer utxos, RustCallStatus *uniffi_out_err); +RustBuffer uniffi_lwk_fn_method_txbuilder_uniffi_trait_display( + void *ptr, RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_clone_txin(void *ptr, RustCallStatus *uniffi_out_err); +void uniffi_lwk_fn_free_txin(void *ptr, RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_method_txin_outpoint(void *ptr, + RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_clone_txout(void *ptr, RustCallStatus *uniffi_out_err); +void uniffi_lwk_fn_free_txout(void *ptr, RustCallStatus *uniffi_out_err); +RustBuffer uniffi_lwk_fn_method_txout_asset(void *ptr, + RustCallStatus *uniffi_out_err); +int8_t uniffi_lwk_fn_method_txout_is_fee(void *ptr, + RustCallStatus *uniffi_out_err); +int8_t +uniffi_lwk_fn_method_txout_is_partially_blinded(void *ptr, + RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_method_txout_script_pubkey(void *ptr, + RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_method_txout_unblind(void *ptr, void *secret_key, + RustCallStatus *uniffi_out_err); +RustBuffer uniffi_lwk_fn_method_txout_value(void *ptr, + RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_clone_txoutsecrets(void *ptr, + RustCallStatus *uniffi_out_err); +void uniffi_lwk_fn_free_txoutsecrets(void *ptr, RustCallStatus *uniffi_out_err); +RustBuffer +uniffi_lwk_fn_method_txoutsecrets_asset(void *ptr, + RustCallStatus *uniffi_out_err); +RustBuffer +uniffi_lwk_fn_method_txoutsecrets_asset_bf(void *ptr, + RustCallStatus *uniffi_out_err); +uint64_t +uniffi_lwk_fn_method_txoutsecrets_value(void *ptr, + RustCallStatus *uniffi_out_err); +RustBuffer +uniffi_lwk_fn_method_txoutsecrets_value_bf(void *ptr, + RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_clone_txid(void *ptr, RustCallStatus *uniffi_out_err); +void uniffi_lwk_fn_free_txid(void *ptr, RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_constructor_txid_new(RustBuffer hex, + RustCallStatus *uniffi_out_err); +RustBuffer uniffi_lwk_fn_method_txid_bytes(void *ptr, + RustCallStatus *uniffi_out_err); +RustBuffer +uniffi_lwk_fn_method_txid_uniffi_trait_display(void *ptr, + RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_clone_update(void *ptr, RustCallStatus *uniffi_out_err); +void uniffi_lwk_fn_free_update(void *ptr, RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_constructor_update_new(RustBuffer bytes, + RustCallStatus *uniffi_out_err); +int8_t uniffi_lwk_fn_method_update_only_tip(void *ptr, + RustCallStatus *uniffi_out_err); +RustBuffer +uniffi_lwk_fn_method_update_serialize(void *ptr, + RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_clone_wallettx(void *ptr, RustCallStatus *uniffi_out_err); +void uniffi_lwk_fn_free_wallettx(void *ptr, RustCallStatus *uniffi_out_err); +RustBuffer +uniffi_lwk_fn_method_wallettx_balance(void *ptr, + RustCallStatus *uniffi_out_err); +uint64_t uniffi_lwk_fn_method_wallettx_fee(void *ptr, + RustCallStatus *uniffi_out_err); +RustBuffer uniffi_lwk_fn_method_wallettx_height(void *ptr, + RustCallStatus *uniffi_out_err); +RustBuffer uniffi_lwk_fn_method_wallettx_inputs(void *ptr, + RustCallStatus *uniffi_out_err); +RustBuffer +uniffi_lwk_fn_method_wallettx_outputs(void *ptr, + RustCallStatus *uniffi_out_err); +RustBuffer +uniffi_lwk_fn_method_wallettx_timestamp(void *ptr, + RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_method_wallettx_tx(void *ptr, + RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_method_wallettx_txid(void *ptr, + RustCallStatus *uniffi_out_err); +RustBuffer uniffi_lwk_fn_method_wallettx_type_(void *ptr, + RustCallStatus *uniffi_out_err); +RustBuffer +uniffi_lwk_fn_method_wallettx_unblinded_url(void *ptr, RustBuffer explorer_url, + RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_clone_wallettxout(void *ptr, + RustCallStatus *uniffi_out_err); +void uniffi_lwk_fn_free_wallettxout(void *ptr, RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_method_wallettxout_address(void *ptr, + RustCallStatus *uniffi_out_err); +RustBuffer +uniffi_lwk_fn_method_wallettxout_ext_int(void *ptr, + RustCallStatus *uniffi_out_err); +RustBuffer +uniffi_lwk_fn_method_wallettxout_height(void *ptr, + RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_method_wallettxout_outpoint(void *ptr, + RustCallStatus *uniffi_out_err); +void * +uniffi_lwk_fn_method_wallettxout_script_pubkey(void *ptr, + RustCallStatus *uniffi_out_err); +void * +uniffi_lwk_fn_method_wallettxout_unblinded(void *ptr, + RustCallStatus *uniffi_out_err); +uint32_t +uniffi_lwk_fn_method_wallettxout_wildcard_index(void *ptr, + RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_clone_wollet(void *ptr, RustCallStatus *uniffi_out_err); +void uniffi_lwk_fn_free_wollet(void *ptr, RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_constructor_wollet_new(void *network, void *descriptor, + RustBuffer datadir, + RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_constructor_wollet_with_custom_persister( + void *network, void *descriptor, void *persister, + RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_method_wollet_address(void *ptr, RustBuffer index, + RustCallStatus *uniffi_out_err); +void uniffi_lwk_fn_method_wollet_apply_update(void *ptr, void *update, + RustCallStatus *uniffi_out_err); +RustBuffer uniffi_lwk_fn_method_wollet_balance(void *ptr, + RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_method_wollet_descriptor(void *ptr, + RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_method_wollet_finalize(void *ptr, void *pset, + RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_method_wollet_pset_details(void *ptr, void *pset, + RustCallStatus *uniffi_out_err); +RustBuffer +uniffi_lwk_fn_method_wollet_transactions(void *ptr, + RustCallStatus *uniffi_out_err); +RustBuffer uniffi_lwk_fn_method_wollet_txos(void *ptr, + RustCallStatus *uniffi_out_err); +RustBuffer uniffi_lwk_fn_method_wollet_utxos(void *ptr, + RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_method_wollet_wait_for_tx(void *ptr, void *txid, + void *client, + RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_clone_wolletdescriptor(void *ptr, + RustCallStatus *uniffi_out_err); +void uniffi_lwk_fn_free_wolletdescriptor(void *ptr, + RustCallStatus *uniffi_out_err); +void * +uniffi_lwk_fn_constructor_wolletdescriptor_new(RustBuffer descriptor, + RustCallStatus *uniffi_out_err); +RustBuffer uniffi_lwk_fn_method_wolletdescriptor_derive_blinding_key( + void *ptr, void *script_pubkey, RustCallStatus *uniffi_out_err); +int8_t uniffi_lwk_fn_method_wolletdescriptor_is_mainnet( + void *ptr, RustCallStatus *uniffi_out_err); +void *uniffi_lwk_fn_method_wolletdescriptor_script_pubkey( + void *ptr, RustBuffer ext_int, uint32_t index, + RustCallStatus *uniffi_out_err); +RustBuffer uniffi_lwk_fn_method_wolletdescriptor_uniffi_trait_display( + void *ptr, RustCallStatus *uniffi_out_err); +int8_t uniffi_lwk_fn_func_is_provably_segwit(void *script_pubkey, + RustBuffer redeem_script, + RustCallStatus *uniffi_out_err); +RustBuffer ffi_lwk_rustbuffer_alloc(uint64_t size, + RustCallStatus *uniffi_out_err); +RustBuffer ffi_lwk_rustbuffer_from_bytes(ForeignBytes bytes, + RustCallStatus *uniffi_out_err); +void ffi_lwk_rustbuffer_free(RustBuffer buf, RustCallStatus *uniffi_out_err); +RustBuffer ffi_lwk_rustbuffer_reserve(RustBuffer buf, uint64_t additional, + RustCallStatus *uniffi_out_err); +void ffi_lwk_rust_future_poll_u8( + /*handle*/ uint64_t handle, UniffiRustFutureContinuationCallback callback, + /*handle*/ uint64_t callback_data); +void ffi_lwk_rust_future_cancel_u8( + /*handle*/ uint64_t handle); +void ffi_lwk_rust_future_free_u8( + /*handle*/ uint64_t handle); +uint8_t ffi_lwk_rust_future_complete_u8( + /*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err); +void ffi_lwk_rust_future_poll_i8( + /*handle*/ uint64_t handle, UniffiRustFutureContinuationCallback callback, + /*handle*/ uint64_t callback_data); +void ffi_lwk_rust_future_cancel_i8( + /*handle*/ uint64_t handle); +void ffi_lwk_rust_future_free_i8( + /*handle*/ uint64_t handle); +int8_t ffi_lwk_rust_future_complete_i8( + /*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err); +void ffi_lwk_rust_future_poll_u16( + /*handle*/ uint64_t handle, UniffiRustFutureContinuationCallback callback, + /*handle*/ uint64_t callback_data); +void ffi_lwk_rust_future_cancel_u16( + /*handle*/ uint64_t handle); +void ffi_lwk_rust_future_free_u16( + /*handle*/ uint64_t handle); +uint16_t ffi_lwk_rust_future_complete_u16( + /*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err); +void ffi_lwk_rust_future_poll_i16( + /*handle*/ uint64_t handle, UniffiRustFutureContinuationCallback callback, + /*handle*/ uint64_t callback_data); +void ffi_lwk_rust_future_cancel_i16( + /*handle*/ uint64_t handle); +void ffi_lwk_rust_future_free_i16( + /*handle*/ uint64_t handle); +int16_t ffi_lwk_rust_future_complete_i16( + /*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err); +void ffi_lwk_rust_future_poll_u32( + /*handle*/ uint64_t handle, UniffiRustFutureContinuationCallback callback, + /*handle*/ uint64_t callback_data); +void ffi_lwk_rust_future_cancel_u32( + /*handle*/ uint64_t handle); +void ffi_lwk_rust_future_free_u32( + /*handle*/ uint64_t handle); +uint32_t ffi_lwk_rust_future_complete_u32( + /*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err); +void ffi_lwk_rust_future_poll_i32( + /*handle*/ uint64_t handle, UniffiRustFutureContinuationCallback callback, + /*handle*/ uint64_t callback_data); +void ffi_lwk_rust_future_cancel_i32( + /*handle*/ uint64_t handle); +void ffi_lwk_rust_future_free_i32( + /*handle*/ uint64_t handle); +int32_t ffi_lwk_rust_future_complete_i32( + /*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err); +void ffi_lwk_rust_future_poll_u64( + /*handle*/ uint64_t handle, UniffiRustFutureContinuationCallback callback, + /*handle*/ uint64_t callback_data); +void ffi_lwk_rust_future_cancel_u64( + /*handle*/ uint64_t handle); +void ffi_lwk_rust_future_free_u64( + /*handle*/ uint64_t handle); +uint64_t ffi_lwk_rust_future_complete_u64( + /*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err); +void ffi_lwk_rust_future_poll_i64( + /*handle*/ uint64_t handle, UniffiRustFutureContinuationCallback callback, + /*handle*/ uint64_t callback_data); +void ffi_lwk_rust_future_cancel_i64( + /*handle*/ uint64_t handle); +void ffi_lwk_rust_future_free_i64( + /*handle*/ uint64_t handle); +int64_t ffi_lwk_rust_future_complete_i64( + /*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err); +void ffi_lwk_rust_future_poll_f32( + /*handle*/ uint64_t handle, UniffiRustFutureContinuationCallback callback, + /*handle*/ uint64_t callback_data); +void ffi_lwk_rust_future_cancel_f32( + /*handle*/ uint64_t handle); +void ffi_lwk_rust_future_free_f32( + /*handle*/ uint64_t handle); +float ffi_lwk_rust_future_complete_f32( + /*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err); +void ffi_lwk_rust_future_poll_f64( + /*handle*/ uint64_t handle, UniffiRustFutureContinuationCallback callback, + /*handle*/ uint64_t callback_data); +void ffi_lwk_rust_future_cancel_f64( + /*handle*/ uint64_t handle); +void ffi_lwk_rust_future_free_f64( + /*handle*/ uint64_t handle); +double ffi_lwk_rust_future_complete_f64( + /*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err); +void ffi_lwk_rust_future_poll_pointer( + /*handle*/ uint64_t handle, UniffiRustFutureContinuationCallback callback, + /*handle*/ uint64_t callback_data); +void ffi_lwk_rust_future_cancel_pointer( + /*handle*/ uint64_t handle); +void ffi_lwk_rust_future_free_pointer( + /*handle*/ uint64_t handle); +void *ffi_lwk_rust_future_complete_pointer( + /*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err); +void ffi_lwk_rust_future_poll_rust_buffer( + /*handle*/ uint64_t handle, UniffiRustFutureContinuationCallback callback, + /*handle*/ uint64_t callback_data); +void ffi_lwk_rust_future_cancel_rust_buffer( + /*handle*/ uint64_t handle); +void ffi_lwk_rust_future_free_rust_buffer( + /*handle*/ uint64_t handle); +RustBuffer ffi_lwk_rust_future_complete_rust_buffer( + /*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err); +void ffi_lwk_rust_future_poll_void( + /*handle*/ uint64_t handle, UniffiRustFutureContinuationCallback callback, + /*handle*/ uint64_t callback_data); +void ffi_lwk_rust_future_cancel_void( + /*handle*/ uint64_t handle); +void ffi_lwk_rust_future_free_void( + /*handle*/ uint64_t handle); +void ffi_lwk_rust_future_complete_void( + /*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err); +uint16_t uniffi_lwk_checksum_func_is_provably_segwit(); +uint16_t uniffi_lwk_checksum_method_address_is_blinded(); +uint16_t uniffi_lwk_checksum_method_address_qr_code_text(); +uint16_t uniffi_lwk_checksum_method_address_qr_code_uri(); +uint16_t uniffi_lwk_checksum_method_address_script_pubkey(); +uint16_t uniffi_lwk_checksum_method_address_to_unconfidential(); +uint16_t uniffi_lwk_checksum_method_addressresult_address(); +uint16_t uniffi_lwk_checksum_method_addressresult_index(); +uint16_t uniffi_lwk_checksum_method_amp2_cosign(); +uint16_t uniffi_lwk_checksum_method_amp2_descriptor_from_str(); +uint16_t uniffi_lwk_checksum_method_amp2_register(); +uint16_t uniffi_lwk_checksum_method_amp2descriptor_descriptor(); +uint16_t uniffi_lwk_checksum_method_electrumclient_broadcast(); +uint16_t uniffi_lwk_checksum_method_electrumclient_full_scan(); +uint16_t uniffi_lwk_checksum_method_electrumclient_full_scan_to_index(); +uint16_t uniffi_lwk_checksum_method_electrumclient_ping(); +uint16_t uniffi_lwk_checksum_method_esploraclient_broadcast(); +uint16_t uniffi_lwk_checksum_method_esploraclient_full_scan(); +uint16_t uniffi_lwk_checksum_method_esploraclient_full_scan_to_index(); +uint16_t uniffi_lwk_checksum_method_foreignpersister_get(); +uint16_t uniffi_lwk_checksum_method_foreignpersister_push(); +uint16_t uniffi_lwk_checksum_method_issuance_asset(); +uint16_t uniffi_lwk_checksum_method_issuance_is_issuance(); +uint16_t uniffi_lwk_checksum_method_issuance_is_reissuance(); +uint16_t uniffi_lwk_checksum_method_issuance_prev_txid(); +uint16_t uniffi_lwk_checksum_method_issuance_prev_vout(); +uint16_t uniffi_lwk_checksum_method_issuance_token(); +uint16_t uniffi_lwk_checksum_method_network_default_electrum_client(); +uint16_t uniffi_lwk_checksum_method_network_default_esplora_client(); +uint16_t uniffi_lwk_checksum_method_network_is_mainnet(); +uint16_t uniffi_lwk_checksum_method_network_policy_asset(); +uint16_t uniffi_lwk_checksum_method_network_tx_builder(); +uint16_t uniffi_lwk_checksum_method_outpoint_txid(); +uint16_t uniffi_lwk_checksum_method_outpoint_vout(); +uint16_t uniffi_lwk_checksum_method_precision_sats_to_string(); +uint16_t uniffi_lwk_checksum_method_precision_string_to_sats(); +uint16_t uniffi_lwk_checksum_method_pset_extract_tx(); +uint16_t uniffi_lwk_checksum_method_pset_finalize(); +uint16_t uniffi_lwk_checksum_method_pset_inputs(); +uint16_t uniffi_lwk_checksum_method_psetbalance_balances(); +uint16_t uniffi_lwk_checksum_method_psetbalance_fee(); +uint16_t uniffi_lwk_checksum_method_psetbalance_recipients(); +uint16_t uniffi_lwk_checksum_method_psetdetails_balance(); +uint16_t uniffi_lwk_checksum_method_psetdetails_inputs_issuances(); +uint16_t uniffi_lwk_checksum_method_psetdetails_signatures(); +uint16_t uniffi_lwk_checksum_method_psetinput_issuance_asset(); +uint16_t uniffi_lwk_checksum_method_psetinput_issuance_token(); +uint16_t uniffi_lwk_checksum_method_psetinput_previous_script_pubkey(); +uint16_t uniffi_lwk_checksum_method_psetinput_previous_txid(); +uint16_t uniffi_lwk_checksum_method_psetinput_previous_vout(); +uint16_t uniffi_lwk_checksum_method_psetinput_redeem_script(); +uint16_t uniffi_lwk_checksum_method_psetsignatures_has_signature(); +uint16_t uniffi_lwk_checksum_method_psetsignatures_missing_signature(); +uint16_t uniffi_lwk_checksum_method_recipient_address(); +uint16_t uniffi_lwk_checksum_method_recipient_asset(); +uint16_t uniffi_lwk_checksum_method_recipient_value(); +uint16_t uniffi_lwk_checksum_method_recipient_vout(); +uint16_t uniffi_lwk_checksum_method_script_asm(); +uint16_t uniffi_lwk_checksum_method_script_bytes(); +uint16_t uniffi_lwk_checksum_method_secretkey_bytes(); +uint16_t uniffi_lwk_checksum_method_signer_keyorigin_xpub(); +uint16_t uniffi_lwk_checksum_method_signer_mnemonic(); +uint16_t uniffi_lwk_checksum_method_signer_sign(); +uint16_t uniffi_lwk_checksum_method_signer_wpkh_slip77_descriptor(); +uint16_t uniffi_lwk_checksum_method_testenv_electrum_url(); +uint16_t uniffi_lwk_checksum_method_testenv_generate(); +uint16_t uniffi_lwk_checksum_method_testenv_get_new_address(); +uint16_t uniffi_lwk_checksum_method_testenv_height(); +uint16_t uniffi_lwk_checksum_method_testenv_issue_asset(); +uint16_t uniffi_lwk_checksum_method_testenv_send_to_address(); +uint16_t uniffi_lwk_checksum_method_transaction_bytes(); +uint16_t uniffi_lwk_checksum_method_transaction_fee(); +uint16_t uniffi_lwk_checksum_method_transaction_inputs(); +uint16_t uniffi_lwk_checksum_method_transaction_outputs(); +uint16_t uniffi_lwk_checksum_method_transaction_txid(); +uint16_t uniffi_lwk_checksum_method_txbuilder_add_burn(); +uint16_t uniffi_lwk_checksum_method_txbuilder_add_lbtc_recipient(); +uint16_t uniffi_lwk_checksum_method_txbuilder_add_recipient(); +uint16_t uniffi_lwk_checksum_method_txbuilder_drain_lbtc_to(); +uint16_t uniffi_lwk_checksum_method_txbuilder_drain_lbtc_wallet(); +uint16_t uniffi_lwk_checksum_method_txbuilder_fee_rate(); +uint16_t uniffi_lwk_checksum_method_txbuilder_finish(); +uint16_t uniffi_lwk_checksum_method_txbuilder_issue_asset(); +uint16_t uniffi_lwk_checksum_method_txbuilder_reissue_asset(); +uint16_t uniffi_lwk_checksum_method_txbuilder_set_wallet_utxos(); +uint16_t uniffi_lwk_checksum_method_txin_outpoint(); +uint16_t uniffi_lwk_checksum_method_txout_asset(); +uint16_t uniffi_lwk_checksum_method_txout_is_fee(); +uint16_t uniffi_lwk_checksum_method_txout_is_partially_blinded(); +uint16_t uniffi_lwk_checksum_method_txout_script_pubkey(); +uint16_t uniffi_lwk_checksum_method_txout_unblind(); +uint16_t uniffi_lwk_checksum_method_txout_value(); +uint16_t uniffi_lwk_checksum_method_txoutsecrets_asset(); +uint16_t uniffi_lwk_checksum_method_txoutsecrets_asset_bf(); +uint16_t uniffi_lwk_checksum_method_txoutsecrets_value(); +uint16_t uniffi_lwk_checksum_method_txoutsecrets_value_bf(); +uint16_t uniffi_lwk_checksum_method_txid_bytes(); +uint16_t uniffi_lwk_checksum_method_update_only_tip(); +uint16_t uniffi_lwk_checksum_method_update_serialize(); +uint16_t uniffi_lwk_checksum_method_wallettx_balance(); +uint16_t uniffi_lwk_checksum_method_wallettx_fee(); +uint16_t uniffi_lwk_checksum_method_wallettx_height(); +uint16_t uniffi_lwk_checksum_method_wallettx_inputs(); +uint16_t uniffi_lwk_checksum_method_wallettx_outputs(); +uint16_t uniffi_lwk_checksum_method_wallettx_timestamp(); +uint16_t uniffi_lwk_checksum_method_wallettx_tx(); +uint16_t uniffi_lwk_checksum_method_wallettx_txid(); +uint16_t uniffi_lwk_checksum_method_wallettx_type_(); +uint16_t uniffi_lwk_checksum_method_wallettx_unblinded_url(); +uint16_t uniffi_lwk_checksum_method_wallettxout_address(); +uint16_t uniffi_lwk_checksum_method_wallettxout_ext_int(); +uint16_t uniffi_lwk_checksum_method_wallettxout_height(); +uint16_t uniffi_lwk_checksum_method_wallettxout_outpoint(); +uint16_t uniffi_lwk_checksum_method_wallettxout_script_pubkey(); +uint16_t uniffi_lwk_checksum_method_wallettxout_unblinded(); +uint16_t uniffi_lwk_checksum_method_wallettxout_wildcard_index(); +uint16_t uniffi_lwk_checksum_method_wollet_address(); +uint16_t uniffi_lwk_checksum_method_wollet_apply_update(); +uint16_t uniffi_lwk_checksum_method_wollet_balance(); +uint16_t uniffi_lwk_checksum_method_wollet_descriptor(); +uint16_t uniffi_lwk_checksum_method_wollet_finalize(); +uint16_t uniffi_lwk_checksum_method_wollet_pset_details(); +uint16_t uniffi_lwk_checksum_method_wollet_transactions(); +uint16_t uniffi_lwk_checksum_method_wollet_txos(); +uint16_t uniffi_lwk_checksum_method_wollet_utxos(); +uint16_t uniffi_lwk_checksum_method_wollet_wait_for_tx(); +uint16_t uniffi_lwk_checksum_method_wolletdescriptor_derive_blinding_key(); +uint16_t uniffi_lwk_checksum_method_wolletdescriptor_is_mainnet(); +uint16_t uniffi_lwk_checksum_method_wolletdescriptor_script_pubkey(); +uint16_t uniffi_lwk_checksum_constructor_address_new(); +uint16_t uniffi_lwk_checksum_constructor_amp2_new_testnet(); +uint16_t uniffi_lwk_checksum_constructor_bip_new_bip49(); +uint16_t uniffi_lwk_checksum_constructor_bip_new_bip84(); +uint16_t uniffi_lwk_checksum_constructor_bip_new_bip87(); +uint16_t uniffi_lwk_checksum_constructor_contract_new(); +uint16_t uniffi_lwk_checksum_constructor_electrumclient_new(); +uint16_t uniffi_lwk_checksum_constructor_esploraclient_new(); +uint16_t uniffi_lwk_checksum_constructor_esploraclient_new_waterfalls(); +uint16_t uniffi_lwk_checksum_constructor_foreignpersisterlink_new(); +uint16_t uniffi_lwk_checksum_constructor_mnemonic_from_entropy(); +uint16_t uniffi_lwk_checksum_constructor_mnemonic_from_random(); +uint16_t uniffi_lwk_checksum_constructor_mnemonic_new(); +uint16_t uniffi_lwk_checksum_constructor_network_mainnet(); +uint16_t uniffi_lwk_checksum_constructor_network_regtest(); +uint16_t uniffi_lwk_checksum_constructor_network_regtest_default(); +uint16_t uniffi_lwk_checksum_constructor_network_testnet(); +uint16_t uniffi_lwk_checksum_constructor_outpoint_new(); +uint16_t uniffi_lwk_checksum_constructor_precision_new(); +uint16_t uniffi_lwk_checksum_constructor_pset_new(); +uint16_t uniffi_lwk_checksum_constructor_script_new(); +uint16_t uniffi_lwk_checksum_constructor_secretkey_from_bytes(); +uint16_t uniffi_lwk_checksum_constructor_signer_new(); +uint16_t uniffi_lwk_checksum_constructor_signer_random(); +uint16_t uniffi_lwk_checksum_constructor_testenv_new(); +uint16_t uniffi_lwk_checksum_constructor_transaction_new(); +uint16_t uniffi_lwk_checksum_constructor_txbuilder_new(); +uint16_t uniffi_lwk_checksum_constructor_txid_new(); +uint16_t uniffi_lwk_checksum_constructor_update_new(); +uint16_t uniffi_lwk_checksum_constructor_wollet_new(); +uint16_t uniffi_lwk_checksum_constructor_wollet_with_custom_persister(); +uint16_t uniffi_lwk_checksum_constructor_wolletdescriptor_new(); +uint32_t ffi_lwk_uniffi_contract_version(); +} + +// This calls into Rust. + +namespace uniffi::lwk { +template struct Bridging; + +using namespace facebook; +using CallInvoker = uniffi_runtime::UniffiCallInvoker; + +template struct Bridging> { + static jsi::Value jsNew(jsi::Runtime &rt) { + auto holder = jsi::Object(rt); + return holder; + } + static T fromJs(jsi::Runtime &rt, std::shared_ptr callInvoker, + const jsi::Value &value) { + auto obj = value.asObject(rt); + if (obj.hasProperty(rt, "pointee")) { + auto pointee = obj.getProperty(rt, "pointee"); + return uniffi::lwk::Bridging::fromJs(rt, callInvoker, pointee); + } + throw jsi::JSError(rt, + "Expected ReferenceHolder to have a pointee property. " + "This is likely a bug in uniffi-bindgen-react-native"); + } +}; +} // namespace uniffi::lwk +namespace uniffi::lwk { +using namespace facebook; +using CallInvoker = uniffi_runtime::UniffiCallInvoker; + +template <> struct Bridging { + static RustBuffer rustbuffer_alloc(int32_t size) { + RustCallStatus status = {UNIFFI_CALL_STATUS_OK}; + return ffi_lwk_rustbuffer_alloc(size, &status); + } + + static void rustbuffer_free(RustBuffer buf) { + RustCallStatus status = {UNIFFI_CALL_STATUS_OK}; + ffi_lwk_rustbuffer_free(buf, &status); + } + + static RustBuffer rustbuffer_from_bytes(ForeignBytes bytes) { + RustCallStatus status = {UNIFFI_CALL_STATUS_OK}; + return ffi_lwk_rustbuffer_from_bytes(bytes, &status); + } + + static RustBuffer fromJs(jsi::Runtime &rt, std::shared_ptr, + const jsi::Value &value) { + try { + auto buffer = + uniffi_jsi::Bridging::value_to_arraybuffer(rt, + value); + auto bytes = ForeignBytes{ + .len = static_cast(buffer.length(rt)), + .data = buffer.data(rt), + }; + + // This buffer is constructed from foreign bytes. Rust scaffolding copies + // the bytes, to make the RustBuffer. + auto buf = rustbuffer_from_bytes(bytes); + // Once it leaves this function, the buffer is immediately passed back + // into Rust, where it's used to deserialize into the Rust versions of the + // arguments. At that point, the copy is destroyed. + return buf; + } catch (const std::logic_error &e) { + throw jsi::JSError(rt, e.what()); + } + } + + static jsi::Value toJs(jsi::Runtime &rt, std::shared_ptr, + RustBuffer buf) { + // We need to make a copy of the bytes from Rust's memory space into + // Javascripts memory space. We need to do this because the two languages + // manages memory very differently: a garbage collector needs to track all + // the memory at runtime, Rust is doing it all closer to compile time. + uint8_t *bytes = new uint8_t[buf.len]; + std::memcpy(bytes, buf.data, buf.len); + + // Construct an ArrayBuffer with copy of the bytes from the RustBuffer. + auto payload = std::make_shared( + uniffi_jsi::CMutableBuffer((uint8_t *)bytes, buf.len)); + auto arrayBuffer = jsi::ArrayBuffer(rt, payload); + + // Once we have a Javascript version, we no longer need the Rust version, so + // we can call into Rust to tell it it's okay to free that memory. + rustbuffer_free(buf); + + // Finally, return the ArrayBuffer. + return uniffi_jsi::Bridging::arraybuffer_to_value( + rt, arrayBuffer); + ; + } +}; + +} // namespace uniffi::lwk + +namespace uniffi::lwk { +using namespace facebook; +using CallInvoker = uniffi_runtime::UniffiCallInvoker; + +template <> struct Bridging { + static jsi::Value jsSuccess(jsi::Runtime &rt) { + auto statusObject = jsi::Object(rt); + statusObject.setProperty(rt, "code", jsi::Value(rt, UNIFFI_CALL_STATUS_OK)); + return statusObject; + } + static RustCallStatus rustSuccess(jsi::Runtime &rt) { + return {UNIFFI_CALL_STATUS_OK}; + } + static void copyIntoJs(jsi::Runtime &rt, + std::shared_ptr callInvoker, + const RustCallStatus status, + const jsi::Value &jsStatus) { + auto statusObject = jsStatus.asObject(rt); + if (status.error_buf.data != nullptr) { + auto rbuf = Bridging::toJs(rt, callInvoker, status.error_buf); + statusObject.setProperty(rt, "errorBuf", rbuf); + } + if (status.code != UNIFFI_CALL_STATUS_OK) { + auto code = + uniffi_jsi::Bridging::toJs(rt, callInvoker, status.code); + statusObject.setProperty(rt, "code", code); + } + } + + static RustCallStatus fromJs(jsi::Runtime &rt, + std::shared_ptr invoker, + const jsi::Value &jsStatus) { + RustCallStatus status; + auto statusObject = jsStatus.asObject(rt); + if (statusObject.hasProperty(rt, "errorBuf")) { + auto rbuf = statusObject.getProperty(rt, "errorBuf"); + status.error_buf = Bridging::fromJs(rt, invoker, rbuf); + } + if (statusObject.hasProperty(rt, "code")) { + auto code = statusObject.getProperty(rt, "code"); + status.code = uniffi_jsi::Bridging::fromJs(rt, invoker, code); + } + return status; + } + + static void copyFromJs(jsi::Runtime &rt, std::shared_ptr invoker, + const jsi::Value &jsStatus, RustCallStatus *status) { + auto statusObject = jsStatus.asObject(rt); + if (statusObject.hasProperty(rt, "errorBuf")) { + auto rbuf = statusObject.getProperty(rt, "errorBuf"); + status->error_buf = Bridging::fromJs(rt, invoker, rbuf); + } + if (statusObject.hasProperty(rt, "code")) { + auto code = statusObject.getProperty(rt, "code"); + status->code = uniffi_jsi::Bridging::fromJs(rt, invoker, code); + } + } +}; + +} // namespace uniffi::lwk + // Implementation of callback function calling from Rust to JS + // RustFutureContinuationCallback + +// Callback function: +// uniffi::lwk::cb::rustfuturecontinuationcallback::UniffiRustFutureContinuationCallback +// +// We have the following constraints: +// - we need to pass a function pointer to Rust. +// - we need a jsi::Runtime and jsi::Function to call into JS. +// - function pointers can't store state, so we can't use a lamda. +// +// For this, we store a lambda as a global, as `rsLambda`. The `callback` +// function calls the lambda, which itself calls the `body` which then calls +// into JS. +// +// We then give the `callback` function pointer to Rust which will call the +// lambda sometime in the future. +namespace uniffi::lwk::cb::rustfuturecontinuationcallback { +using namespace facebook; + +// We need to store a lambda in a global so we can call it from +// a function pointer. The function pointer is passed to Rust. +static std::function rsLambda = nullptr; + +// This is the main body of the callback. It's called from the lambda, +// which itself is called from the callback function which is passed to Rust. +static void body(jsi::Runtime &rt, + std::shared_ptr callInvoker, + std::shared_ptr callbackValue, uint64_t rs_data, + int8_t rs_pollResult) { + + // Convert the arguments from Rust, into jsi::Values. + // We'll use the Bridging class to do this… + auto js_data = uniffi_jsi::Bridging::toJs(rt, callInvoker, rs_data); + auto js_pollResult = + uniffi_jsi::Bridging::toJs(rt, callInvoker, rs_pollResult); + + // Now we are ready to call the callback. + // We are already on the JS thread, because this `body` function was + // invoked from the CallInvoker. + try { + // Getting the callback function + auto cb = callbackValue->asObject(rt).asFunction(rt); + auto uniffiResult = cb.call(rt, js_data, js_pollResult); + + } catch (const jsi::JSError &error) { + std::cout << "Error in callback UniffiRustFutureContinuationCallback: " + << error.what() << std::endl; + throw error; + } +} + +static void callback(uint64_t rs_data, int8_t rs_pollResult) { + // If the runtime has shutdown, then there is no point in trying to + // call into Javascript. BUT how do we tell if the runtime has shutdown? + // + // Answer: the module destructor calls into callback `cleanup` method, + // which nulls out the rsLamda. + // + // If rsLamda is null, then there is no runtime to call into. + if (rsLambda == nullptr) { + // This only occurs when destructors are calling into Rust free/drop, + // which causes the JS callback to be dropped. + return; + } + + // The runtime, the actual callback jsi::funtion, and the callInvoker + // are all in the lambda. + rsLambda(rs_data, rs_pollResult); +} + +static UniffiRustFutureContinuationCallback +makeCallbackFunction( // uniffi::lwk::cb::rustfuturecontinuationcallback + jsi::Runtime &rt, + std::shared_ptr callInvoker, + const jsi::Value &value) { + auto callbackFunction = value.asObject(rt).asFunction(rt); + auto callbackValue = std::make_shared(rt, callbackFunction); + rsLambda = [&rt, callInvoker, callbackValue](uint64_t rs_data, + int8_t rs_pollResult) { + // We immediately make a lambda which will do the work of transforming the + // arguments into JSI values and calling the callback. + uniffi_runtime::UniffiCallFunc jsLambda = + [callInvoker, callbackValue, rs_data, + rs_pollResult](jsi::Runtime &rt) mutable { + body(rt, callInvoker, callbackValue, rs_data, rs_pollResult); + }; + // We'll then call that lambda from the callInvoker which will + // look after calling it on the correct thread. + + callInvoker->invokeNonBlocking(rt, jsLambda); + }; + return callback; +} + +// This method is called from the destructor of NativeLwk, which only happens +// when the jsi::Runtime is being destroyed. +static void cleanup() { + // The lambda holds a reference to the the Runtime, so when this is nulled + // out, then the pointer will no longer be left dangling. + rsLambda = nullptr; +} +} // namespace uniffi::lwk::cb::rustfuturecontinuationcallback + // Implementation of callback function calling from JS to Rust + // ForeignFutureFree, passed from Rust to JS as part of async callbacks. +namespace uniffi::lwk { +using CallInvoker = uniffi_runtime::UniffiCallInvoker; + +template <> struct Bridging { + static jsi::Value toJs(jsi::Runtime &rt, + std::shared_ptr callInvoker, + UniffiForeignFutureFree rsCallback) { + return jsi::Function::createFromHostFunction( + rt, jsi::PropNameID::forAscii(rt, "--ForeignFutureFree"), 1, + [rsCallback, callInvoker](jsi::Runtime &rt, const jsi::Value &thisValue, + const jsi::Value *arguments, + size_t count) -> jsi::Value { + return intoRust(rt, callInvoker, thisValue, arguments, count, + rsCallback); + }); + } + + static jsi::Value intoRust(jsi::Runtime &rt, + std::shared_ptr callInvoker, + const jsi::Value &thisValue, + const jsi::Value *args, size_t count, + UniffiForeignFutureFree func) { + // Convert the arguments into the Rust, with Bridging::fromJs, + // then call the rs_callback with those arguments. + func(uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0])); + + return jsi::Value::undefined(); + } +}; +} // namespace uniffi::lwk + // Implementation of free callback function CallbackInterfaceFree + +// Callback function: +// uniffi::lwk::st::foreignfuture::foreignfuture::free::UniffiCallbackInterfaceFree +// +// We have the following constraints: +// - we need to pass a function pointer to Rust. +// - we need a jsi::Runtime and jsi::Function to call into JS. +// - function pointers can't store state, so we can't use a lamda. +// +// For this, we store a lambda as a global, as `rsLambda`. The `callback` +// function calls the lambda, which itself calls the `body` which then calls +// into JS. +// +// We then give the `callback` function pointer to Rust which will call the +// lambda sometime in the future. +namespace uniffi::lwk::st::foreignfuture::foreignfuture::free { +using namespace facebook; + +// We need to store a lambda in a global so we can call it from +// a function pointer. The function pointer is passed to Rust. +static std::function rsLambda = nullptr; + +// This is the main body of the callback. It's called from the lambda, +// which itself is called from the callback function which is passed to Rust. +static void body(jsi::Runtime &rt, + std::shared_ptr callInvoker, + std::shared_ptr callbackValue, + uint64_t rs_handle) { + + // Convert the arguments from Rust, into jsi::Values. + // We'll use the Bridging class to do this… + auto js_handle = + uniffi_jsi::Bridging::toJs(rt, callInvoker, rs_handle); + + // Now we are ready to call the callback. + // We are already on the JS thread, because this `body` function was + // invoked from the CallInvoker. + try { + // Getting the callback function + auto cb = callbackValue->asObject(rt).asFunction(rt); + auto uniffiResult = cb.call(rt, js_handle); + + } catch (const jsi::JSError &error) { + std::cout << "Error in callback UniffiCallbackInterfaceFree: " + << error.what() << std::endl; + throw error; + } +} + +static void callback(uint64_t rs_handle) { + // If the runtime has shutdown, then there is no point in trying to + // call into Javascript. BUT how do we tell if the runtime has shutdown? + // + // Answer: the module destructor calls into callback `cleanup` method, + // which nulls out the rsLamda. + // + // If rsLamda is null, then there is no runtime to call into. + if (rsLambda == nullptr) { + // This only occurs when destructors are calling into Rust free/drop, + // which causes the JS callback to be dropped. + return; + } + + // The runtime, the actual callback jsi::funtion, and the callInvoker + // are all in the lambda. + rsLambda(rs_handle); +} + +static UniffiCallbackInterfaceFree +makeCallbackFunction( // uniffi::lwk::st::foreignfuture::foreignfuture::free + jsi::Runtime &rt, + std::shared_ptr callInvoker, + const jsi::Value &value) { + auto callbackFunction = value.asObject(rt).asFunction(rt); + auto callbackValue = std::make_shared(rt, callbackFunction); + rsLambda = [&rt, callInvoker, callbackValue](uint64_t rs_handle) { + // We immediately make a lambda which will do the work of transforming the + // arguments into JSI values and calling the callback. + uniffi_runtime::UniffiCallFunc jsLambda = + [callInvoker, callbackValue, rs_handle](jsi::Runtime &rt) mutable { + body(rt, callInvoker, callbackValue, rs_handle); + }; + // We'll then call that lambda from the callInvoker which will + // look after calling it on the correct thread. + + callInvoker->invokeNonBlocking(rt, jsLambda); + }; + return callback; +} + +// This method is called from the destructor of NativeLwk, which only happens +// when the jsi::Runtime is being destroyed. +static void cleanup() { + // The lambda holds a reference to the the Runtime, so when this is nulled + // out, then the pointer will no longer be left dangling. + rsLambda = nullptr; +} +} // namespace uniffi::lwk::st::foreignfuture::foreignfuture::free + +// Callback function: +// uniffi::lwk::st::vtablecallbackinterfaceforeignpersister::vtablecallbackinterfaceforeignpersister::free::UniffiCallbackInterfaceFree +// +// We have the following constraints: +// - we need to pass a function pointer to Rust. +// - we need a jsi::Runtime and jsi::Function to call into JS. +// - function pointers can't store state, so we can't use a lamda. +// +// For this, we store a lambda as a global, as `rsLambda`. The `callback` +// function calls the lambda, which itself calls the `body` which then calls +// into JS. +// +// We then give the `callback` function pointer to Rust which will call the +// lambda sometime in the future. +namespace uniffi::lwk::st::vtablecallbackinterfaceforeignpersister:: + vtablecallbackinterfaceforeignpersister::free { +using namespace facebook; + +// We need to store a lambda in a global so we can call it from +// a function pointer. The function pointer is passed to Rust. +static std::function rsLambda = nullptr; + +// This is the main body of the callback. It's called from the lambda, +// which itself is called from the callback function which is passed to Rust. +static void body(jsi::Runtime &rt, + std::shared_ptr callInvoker, + std::shared_ptr callbackValue, + uint64_t rs_handle) { + + // Convert the arguments from Rust, into jsi::Values. + // We'll use the Bridging class to do this… + auto js_handle = + uniffi_jsi::Bridging::toJs(rt, callInvoker, rs_handle); + + // Now we are ready to call the callback. + // We are already on the JS thread, because this `body` function was + // invoked from the CallInvoker. + try { + // Getting the callback function + auto cb = callbackValue->asObject(rt).asFunction(rt); + auto uniffiResult = cb.call(rt, js_handle); + + } catch (const jsi::JSError &error) { + std::cout << "Error in callback UniffiCallbackInterfaceFree: " + << error.what() << std::endl; + throw error; + } +} + +static void callback(uint64_t rs_handle) { + // If the runtime has shutdown, then there is no point in trying to + // call into Javascript. BUT how do we tell if the runtime has shutdown? + // + // Answer: the module destructor calls into callback `cleanup` method, + // which nulls out the rsLamda. + // + // If rsLamda is null, then there is no runtime to call into. + if (rsLambda == nullptr) { + // This only occurs when destructors are calling into Rust free/drop, + // which causes the JS callback to be dropped. + return; + } + + // The runtime, the actual callback jsi::funtion, and the callInvoker + // are all in the lambda. + rsLambda(rs_handle); +} + +static UniffiCallbackInterfaceFree +makeCallbackFunction( // uniffi::lwk::st::vtablecallbackinterfaceforeignpersister::vtablecallbackinterfaceforeignpersister::free + jsi::Runtime &rt, + std::shared_ptr callInvoker, + const jsi::Value &value) { + auto callbackFunction = value.asObject(rt).asFunction(rt); + auto callbackValue = std::make_shared(rt, callbackFunction); + rsLambda = [&rt, callInvoker, callbackValue](uint64_t rs_handle) { + // We immediately make a lambda which will do the work of transforming the + // arguments into JSI values and calling the callback. + uniffi_runtime::UniffiCallFunc jsLambda = + [callInvoker, callbackValue, rs_handle](jsi::Runtime &rt) mutable { + body(rt, callInvoker, callbackValue, rs_handle); + }; + // We'll then call that lambda from the callInvoker which will + // look after calling it on the correct thread. + + callInvoker->invokeNonBlocking(rt, jsLambda); + }; + return callback; +} + +// This method is called from the destructor of NativeLwk, which only happens +// when the jsi::Runtime is being destroyed. +static void cleanup() { + // The lambda holds a reference to the the Runtime, so when this is nulled + // out, then the pointer will no longer be left dangling. + rsLambda = nullptr; +} +} // namespace + // uniffi::lwk::st::vtablecallbackinterfaceforeignpersister::vtablecallbackinterfaceforeignpersister::free +namespace uniffi::lwk { +using namespace facebook; +using CallInvoker = uniffi_runtime::UniffiCallInvoker; + +template <> struct Bridging { + static UniffiForeignFuture fromJs(jsi::Runtime &rt, + std::shared_ptr callInvoker, + const jsi::Value &jsValue) { + // Check if the input is an object + if (!jsValue.isObject()) { + throw jsi::JSError(rt, "Expected an object for UniffiForeignFuture"); + } + + // Get the object from the jsi::Value + auto jsObject = jsValue.getObject(rt); + + // Create the vtable struct + UniffiForeignFuture rsObject; + + // Create the vtable from the js callbacks. + rsObject.handle = uniffi_jsi::Bridging::fromJs( + rt, callInvoker, jsObject.getProperty(rt, "handle")); + rsObject.free = uniffi::lwk::st::foreignfuture::foreignfuture::free:: + makeCallbackFunction(rt, callInvoker, jsObject.getProperty(rt, "free")); + + return rsObject; + } +}; + +} // namespace uniffi::lwk +namespace uniffi::lwk { +using namespace facebook; +using CallInvoker = uniffi_runtime::UniffiCallInvoker; + +template <> struct Bridging { + static UniffiForeignFutureStructU8 + fromJs(jsi::Runtime &rt, std::shared_ptr callInvoker, + const jsi::Value &jsValue) { + // Check if the input is an object + if (!jsValue.isObject()) { + throw jsi::JSError(rt, + "Expected an object for UniffiForeignFutureStructU8"); + } + + // Get the object from the jsi::Value + auto jsObject = jsValue.getObject(rt); + + // Create the vtable struct + UniffiForeignFutureStructU8 rsObject; + + // Create the vtable from the js callbacks. + rsObject.return_value = uniffi_jsi::Bridging::fromJs( + rt, callInvoker, jsObject.getProperty(rt, "returnValue")); + rsObject.call_status = uniffi::lwk::Bridging::fromJs( + rt, callInvoker, jsObject.getProperty(rt, "callStatus")); + + return rsObject; + } +}; + +} // namespace uniffi::lwk + // Implementation of callback function calling from JS to Rust + // ForeignFutureCompleteU8, passed from Rust to JS as part of async callbacks. +namespace uniffi::lwk { +using CallInvoker = uniffi_runtime::UniffiCallInvoker; + +template <> struct Bridging { + static jsi::Value toJs(jsi::Runtime &rt, + std::shared_ptr callInvoker, + UniffiForeignFutureCompleteU8 rsCallback) { + return jsi::Function::createFromHostFunction( + rt, jsi::PropNameID::forAscii(rt, "--ForeignFutureCompleteU8"), 2, + [rsCallback, callInvoker](jsi::Runtime &rt, const jsi::Value &thisValue, + const jsi::Value *arguments, + size_t count) -> jsi::Value { + return intoRust(rt, callInvoker, thisValue, arguments, count, + rsCallback); + }); + } + + static jsi::Value intoRust(jsi::Runtime &rt, + std::shared_ptr callInvoker, + const jsi::Value &thisValue, + const jsi::Value *args, size_t count, + UniffiForeignFutureCompleteU8 func) { + // Convert the arguments into the Rust, with Bridging::fromJs, + // then call the rs_callback with those arguments. + func(uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), + uniffi::lwk::Bridging::fromJs( + rt, callInvoker, args[1])); + + return jsi::Value::undefined(); + } +}; +} // namespace uniffi::lwk +namespace uniffi::lwk { +using namespace facebook; +using CallInvoker = uniffi_runtime::UniffiCallInvoker; + +template <> struct Bridging { + static UniffiForeignFutureStructI8 + fromJs(jsi::Runtime &rt, std::shared_ptr callInvoker, + const jsi::Value &jsValue) { + // Check if the input is an object + if (!jsValue.isObject()) { + throw jsi::JSError(rt, + "Expected an object for UniffiForeignFutureStructI8"); + } + + // Get the object from the jsi::Value + auto jsObject = jsValue.getObject(rt); + + // Create the vtable struct + UniffiForeignFutureStructI8 rsObject; + + // Create the vtable from the js callbacks. + rsObject.return_value = uniffi_jsi::Bridging::fromJs( + rt, callInvoker, jsObject.getProperty(rt, "returnValue")); + rsObject.call_status = uniffi::lwk::Bridging::fromJs( + rt, callInvoker, jsObject.getProperty(rt, "callStatus")); + + return rsObject; + } +}; + +} // namespace uniffi::lwk + // Implementation of callback function calling from JS to Rust + // ForeignFutureCompleteI8, passed from Rust to JS as part of async callbacks. +namespace uniffi::lwk { +using CallInvoker = uniffi_runtime::UniffiCallInvoker; + +template <> struct Bridging { + static jsi::Value toJs(jsi::Runtime &rt, + std::shared_ptr callInvoker, + UniffiForeignFutureCompleteI8 rsCallback) { + return jsi::Function::createFromHostFunction( + rt, jsi::PropNameID::forAscii(rt, "--ForeignFutureCompleteI8"), 2, + [rsCallback, callInvoker](jsi::Runtime &rt, const jsi::Value &thisValue, + const jsi::Value *arguments, + size_t count) -> jsi::Value { + return intoRust(rt, callInvoker, thisValue, arguments, count, + rsCallback); + }); + } + + static jsi::Value intoRust(jsi::Runtime &rt, + std::shared_ptr callInvoker, + const jsi::Value &thisValue, + const jsi::Value *args, size_t count, + UniffiForeignFutureCompleteI8 func) { + // Convert the arguments into the Rust, with Bridging::fromJs, + // then call the rs_callback with those arguments. + func(uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), + uniffi::lwk::Bridging::fromJs( + rt, callInvoker, args[1])); + + return jsi::Value::undefined(); + } +}; +} // namespace uniffi::lwk +namespace uniffi::lwk { +using namespace facebook; +using CallInvoker = uniffi_runtime::UniffiCallInvoker; + +template <> struct Bridging { + static UniffiForeignFutureStructU16 + fromJs(jsi::Runtime &rt, std::shared_ptr callInvoker, + const jsi::Value &jsValue) { + // Check if the input is an object + if (!jsValue.isObject()) { + throw jsi::JSError(rt, + "Expected an object for UniffiForeignFutureStructU16"); + } + + // Get the object from the jsi::Value + auto jsObject = jsValue.getObject(rt); + + // Create the vtable struct + UniffiForeignFutureStructU16 rsObject; + + // Create the vtable from the js callbacks. + rsObject.return_value = uniffi_jsi::Bridging::fromJs( + rt, callInvoker, jsObject.getProperty(rt, "returnValue")); + rsObject.call_status = uniffi::lwk::Bridging::fromJs( + rt, callInvoker, jsObject.getProperty(rt, "callStatus")); + + return rsObject; + } +}; + +} // namespace uniffi::lwk + // Implementation of callback function calling from JS to Rust + // ForeignFutureCompleteU16, passed from Rust to JS as part of async + // callbacks. +namespace uniffi::lwk { +using CallInvoker = uniffi_runtime::UniffiCallInvoker; + +template <> struct Bridging { + static jsi::Value toJs(jsi::Runtime &rt, + std::shared_ptr callInvoker, + UniffiForeignFutureCompleteU16 rsCallback) { + return jsi::Function::createFromHostFunction( + rt, jsi::PropNameID::forAscii(rt, "--ForeignFutureCompleteU16"), 2, + [rsCallback, callInvoker](jsi::Runtime &rt, const jsi::Value &thisValue, + const jsi::Value *arguments, + size_t count) -> jsi::Value { + return intoRust(rt, callInvoker, thisValue, arguments, count, + rsCallback); + }); + } + + static jsi::Value intoRust(jsi::Runtime &rt, + std::shared_ptr callInvoker, + const jsi::Value &thisValue, + const jsi::Value *args, size_t count, + UniffiForeignFutureCompleteU16 func) { + // Convert the arguments into the Rust, with Bridging::fromJs, + // then call the rs_callback with those arguments. + func(uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), + uniffi::lwk::Bridging::fromJs( + rt, callInvoker, args[1])); + + return jsi::Value::undefined(); + } +}; +} // namespace uniffi::lwk +namespace uniffi::lwk { +using namespace facebook; +using CallInvoker = uniffi_runtime::UniffiCallInvoker; + +template <> struct Bridging { + static UniffiForeignFutureStructI16 + fromJs(jsi::Runtime &rt, std::shared_ptr callInvoker, + const jsi::Value &jsValue) { + // Check if the input is an object + if (!jsValue.isObject()) { + throw jsi::JSError(rt, + "Expected an object for UniffiForeignFutureStructI16"); + } + + // Get the object from the jsi::Value + auto jsObject = jsValue.getObject(rt); + + // Create the vtable struct + UniffiForeignFutureStructI16 rsObject; + + // Create the vtable from the js callbacks. + rsObject.return_value = uniffi_jsi::Bridging::fromJs( + rt, callInvoker, jsObject.getProperty(rt, "returnValue")); + rsObject.call_status = uniffi::lwk::Bridging::fromJs( + rt, callInvoker, jsObject.getProperty(rt, "callStatus")); + + return rsObject; + } +}; + +} // namespace uniffi::lwk + // Implementation of callback function calling from JS to Rust + // ForeignFutureCompleteI16, passed from Rust to JS as part of async + // callbacks. +namespace uniffi::lwk { +using CallInvoker = uniffi_runtime::UniffiCallInvoker; + +template <> struct Bridging { + static jsi::Value toJs(jsi::Runtime &rt, + std::shared_ptr callInvoker, + UniffiForeignFutureCompleteI16 rsCallback) { + return jsi::Function::createFromHostFunction( + rt, jsi::PropNameID::forAscii(rt, "--ForeignFutureCompleteI16"), 2, + [rsCallback, callInvoker](jsi::Runtime &rt, const jsi::Value &thisValue, + const jsi::Value *arguments, + size_t count) -> jsi::Value { + return intoRust(rt, callInvoker, thisValue, arguments, count, + rsCallback); + }); + } + + static jsi::Value intoRust(jsi::Runtime &rt, + std::shared_ptr callInvoker, + const jsi::Value &thisValue, + const jsi::Value *args, size_t count, + UniffiForeignFutureCompleteI16 func) { + // Convert the arguments into the Rust, with Bridging::fromJs, + // then call the rs_callback with those arguments. + func(uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), + uniffi::lwk::Bridging::fromJs( + rt, callInvoker, args[1])); + + return jsi::Value::undefined(); + } +}; +} // namespace uniffi::lwk +namespace uniffi::lwk { +using namespace facebook; +using CallInvoker = uniffi_runtime::UniffiCallInvoker; + +template <> struct Bridging { + static UniffiForeignFutureStructU32 + fromJs(jsi::Runtime &rt, std::shared_ptr callInvoker, + const jsi::Value &jsValue) { + // Check if the input is an object + if (!jsValue.isObject()) { + throw jsi::JSError(rt, + "Expected an object for UniffiForeignFutureStructU32"); + } + + // Get the object from the jsi::Value + auto jsObject = jsValue.getObject(rt); + + // Create the vtable struct + UniffiForeignFutureStructU32 rsObject; + + // Create the vtable from the js callbacks. + rsObject.return_value = uniffi_jsi::Bridging::fromJs( + rt, callInvoker, jsObject.getProperty(rt, "returnValue")); + rsObject.call_status = uniffi::lwk::Bridging::fromJs( + rt, callInvoker, jsObject.getProperty(rt, "callStatus")); + + return rsObject; + } +}; + +} // namespace uniffi::lwk + // Implementation of callback function calling from JS to Rust + // ForeignFutureCompleteU32, passed from Rust to JS as part of async + // callbacks. +namespace uniffi::lwk { +using CallInvoker = uniffi_runtime::UniffiCallInvoker; + +template <> struct Bridging { + static jsi::Value toJs(jsi::Runtime &rt, + std::shared_ptr callInvoker, + UniffiForeignFutureCompleteU32 rsCallback) { + return jsi::Function::createFromHostFunction( + rt, jsi::PropNameID::forAscii(rt, "--ForeignFutureCompleteU32"), 2, + [rsCallback, callInvoker](jsi::Runtime &rt, const jsi::Value &thisValue, + const jsi::Value *arguments, + size_t count) -> jsi::Value { + return intoRust(rt, callInvoker, thisValue, arguments, count, + rsCallback); + }); + } + + static jsi::Value intoRust(jsi::Runtime &rt, + std::shared_ptr callInvoker, + const jsi::Value &thisValue, + const jsi::Value *args, size_t count, + UniffiForeignFutureCompleteU32 func) { + // Convert the arguments into the Rust, with Bridging::fromJs, + // then call the rs_callback with those arguments. + func(uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), + uniffi::lwk::Bridging::fromJs( + rt, callInvoker, args[1])); + + return jsi::Value::undefined(); + } +}; +} // namespace uniffi::lwk +namespace uniffi::lwk { +using namespace facebook; +using CallInvoker = uniffi_runtime::UniffiCallInvoker; + +template <> struct Bridging { + static UniffiForeignFutureStructI32 + fromJs(jsi::Runtime &rt, std::shared_ptr callInvoker, + const jsi::Value &jsValue) { + // Check if the input is an object + if (!jsValue.isObject()) { + throw jsi::JSError(rt, + "Expected an object for UniffiForeignFutureStructI32"); + } + + // Get the object from the jsi::Value + auto jsObject = jsValue.getObject(rt); + + // Create the vtable struct + UniffiForeignFutureStructI32 rsObject; + + // Create the vtable from the js callbacks. + rsObject.return_value = uniffi_jsi::Bridging::fromJs( + rt, callInvoker, jsObject.getProperty(rt, "returnValue")); + rsObject.call_status = uniffi::lwk::Bridging::fromJs( + rt, callInvoker, jsObject.getProperty(rt, "callStatus")); + + return rsObject; + } +}; + +} // namespace uniffi::lwk + // Implementation of callback function calling from JS to Rust + // ForeignFutureCompleteI32, passed from Rust to JS as part of async + // callbacks. +namespace uniffi::lwk { +using CallInvoker = uniffi_runtime::UniffiCallInvoker; + +template <> struct Bridging { + static jsi::Value toJs(jsi::Runtime &rt, + std::shared_ptr callInvoker, + UniffiForeignFutureCompleteI32 rsCallback) { + return jsi::Function::createFromHostFunction( + rt, jsi::PropNameID::forAscii(rt, "--ForeignFutureCompleteI32"), 2, + [rsCallback, callInvoker](jsi::Runtime &rt, const jsi::Value &thisValue, + const jsi::Value *arguments, + size_t count) -> jsi::Value { + return intoRust(rt, callInvoker, thisValue, arguments, count, + rsCallback); + }); + } + + static jsi::Value intoRust(jsi::Runtime &rt, + std::shared_ptr callInvoker, + const jsi::Value &thisValue, + const jsi::Value *args, size_t count, + UniffiForeignFutureCompleteI32 func) { + // Convert the arguments into the Rust, with Bridging::fromJs, + // then call the rs_callback with those arguments. + func(uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), + uniffi::lwk::Bridging::fromJs( + rt, callInvoker, args[1])); + + return jsi::Value::undefined(); + } +}; +} // namespace uniffi::lwk +namespace uniffi::lwk { +using namespace facebook; +using CallInvoker = uniffi_runtime::UniffiCallInvoker; + +template <> struct Bridging { + static UniffiForeignFutureStructU64 + fromJs(jsi::Runtime &rt, std::shared_ptr callInvoker, + const jsi::Value &jsValue) { + // Check if the input is an object + if (!jsValue.isObject()) { + throw jsi::JSError(rt, + "Expected an object for UniffiForeignFutureStructU64"); + } + + // Get the object from the jsi::Value + auto jsObject = jsValue.getObject(rt); + + // Create the vtable struct + UniffiForeignFutureStructU64 rsObject; + + // Create the vtable from the js callbacks. + rsObject.return_value = uniffi_jsi::Bridging::fromJs( + rt, callInvoker, jsObject.getProperty(rt, "returnValue")); + rsObject.call_status = uniffi::lwk::Bridging::fromJs( + rt, callInvoker, jsObject.getProperty(rt, "callStatus")); + + return rsObject; + } +}; + +} // namespace uniffi::lwk + // Implementation of callback function calling from JS to Rust + // ForeignFutureCompleteU64, passed from Rust to JS as part of async + // callbacks. +namespace uniffi::lwk { +using CallInvoker = uniffi_runtime::UniffiCallInvoker; + +template <> struct Bridging { + static jsi::Value toJs(jsi::Runtime &rt, + std::shared_ptr callInvoker, + UniffiForeignFutureCompleteU64 rsCallback) { + return jsi::Function::createFromHostFunction( + rt, jsi::PropNameID::forAscii(rt, "--ForeignFutureCompleteU64"), 2, + [rsCallback, callInvoker](jsi::Runtime &rt, const jsi::Value &thisValue, + const jsi::Value *arguments, + size_t count) -> jsi::Value { + return intoRust(rt, callInvoker, thisValue, arguments, count, + rsCallback); + }); + } + + static jsi::Value intoRust(jsi::Runtime &rt, + std::shared_ptr callInvoker, + const jsi::Value &thisValue, + const jsi::Value *args, size_t count, + UniffiForeignFutureCompleteU64 func) { + // Convert the arguments into the Rust, with Bridging::fromJs, + // then call the rs_callback with those arguments. + func(uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), + uniffi::lwk::Bridging::fromJs( + rt, callInvoker, args[1])); + + return jsi::Value::undefined(); + } +}; +} // namespace uniffi::lwk +namespace uniffi::lwk { +using namespace facebook; +using CallInvoker = uniffi_runtime::UniffiCallInvoker; + +template <> struct Bridging { + static UniffiForeignFutureStructI64 + fromJs(jsi::Runtime &rt, std::shared_ptr callInvoker, + const jsi::Value &jsValue) { + // Check if the input is an object + if (!jsValue.isObject()) { + throw jsi::JSError(rt, + "Expected an object for UniffiForeignFutureStructI64"); + } + + // Get the object from the jsi::Value + auto jsObject = jsValue.getObject(rt); + + // Create the vtable struct + UniffiForeignFutureStructI64 rsObject; + + // Create the vtable from the js callbacks. + rsObject.return_value = uniffi_jsi::Bridging::fromJs( + rt, callInvoker, jsObject.getProperty(rt, "returnValue")); + rsObject.call_status = uniffi::lwk::Bridging::fromJs( + rt, callInvoker, jsObject.getProperty(rt, "callStatus")); + + return rsObject; + } +}; + +} // namespace uniffi::lwk + // Implementation of callback function calling from JS to Rust + // ForeignFutureCompleteI64, passed from Rust to JS as part of async + // callbacks. +namespace uniffi::lwk { +using CallInvoker = uniffi_runtime::UniffiCallInvoker; + +template <> struct Bridging { + static jsi::Value toJs(jsi::Runtime &rt, + std::shared_ptr callInvoker, + UniffiForeignFutureCompleteI64 rsCallback) { + return jsi::Function::createFromHostFunction( + rt, jsi::PropNameID::forAscii(rt, "--ForeignFutureCompleteI64"), 2, + [rsCallback, callInvoker](jsi::Runtime &rt, const jsi::Value &thisValue, + const jsi::Value *arguments, + size_t count) -> jsi::Value { + return intoRust(rt, callInvoker, thisValue, arguments, count, + rsCallback); + }); + } + + static jsi::Value intoRust(jsi::Runtime &rt, + std::shared_ptr callInvoker, + const jsi::Value &thisValue, + const jsi::Value *args, size_t count, + UniffiForeignFutureCompleteI64 func) { + // Convert the arguments into the Rust, with Bridging::fromJs, + // then call the rs_callback with those arguments. + func(uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), + uniffi::lwk::Bridging::fromJs( + rt, callInvoker, args[1])); + + return jsi::Value::undefined(); + } +}; +} // namespace uniffi::lwk +namespace uniffi::lwk { +using namespace facebook; +using CallInvoker = uniffi_runtime::UniffiCallInvoker; + +template <> struct Bridging { + static UniffiForeignFutureStructF32 + fromJs(jsi::Runtime &rt, std::shared_ptr callInvoker, + const jsi::Value &jsValue) { + // Check if the input is an object + if (!jsValue.isObject()) { + throw jsi::JSError(rt, + "Expected an object for UniffiForeignFutureStructF32"); + } + + // Get the object from the jsi::Value + auto jsObject = jsValue.getObject(rt); + + // Create the vtable struct + UniffiForeignFutureStructF32 rsObject; + + // Create the vtable from the js callbacks. + rsObject.return_value = uniffi_jsi::Bridging::fromJs( + rt, callInvoker, jsObject.getProperty(rt, "returnValue")); + rsObject.call_status = uniffi::lwk::Bridging::fromJs( + rt, callInvoker, jsObject.getProperty(rt, "callStatus")); + + return rsObject; + } +}; + +} // namespace uniffi::lwk + // Implementation of callback function calling from JS to Rust + // ForeignFutureCompleteF32, passed from Rust to JS as part of async + // callbacks. +namespace uniffi::lwk { +using CallInvoker = uniffi_runtime::UniffiCallInvoker; + +template <> struct Bridging { + static jsi::Value toJs(jsi::Runtime &rt, + std::shared_ptr callInvoker, + UniffiForeignFutureCompleteF32 rsCallback) { + return jsi::Function::createFromHostFunction( + rt, jsi::PropNameID::forAscii(rt, "--ForeignFutureCompleteF32"), 2, + [rsCallback, callInvoker](jsi::Runtime &rt, const jsi::Value &thisValue, + const jsi::Value *arguments, + size_t count) -> jsi::Value { + return intoRust(rt, callInvoker, thisValue, arguments, count, + rsCallback); + }); + } + + static jsi::Value intoRust(jsi::Runtime &rt, + std::shared_ptr callInvoker, + const jsi::Value &thisValue, + const jsi::Value *args, size_t count, + UniffiForeignFutureCompleteF32 func) { + // Convert the arguments into the Rust, with Bridging::fromJs, + // then call the rs_callback with those arguments. + func(uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), + uniffi::lwk::Bridging::fromJs( + rt, callInvoker, args[1])); + + return jsi::Value::undefined(); + } +}; +} // namespace uniffi::lwk +namespace uniffi::lwk { +using namespace facebook; +using CallInvoker = uniffi_runtime::UniffiCallInvoker; + +template <> struct Bridging { + static UniffiForeignFutureStructF64 + fromJs(jsi::Runtime &rt, std::shared_ptr callInvoker, + const jsi::Value &jsValue) { + // Check if the input is an object + if (!jsValue.isObject()) { + throw jsi::JSError(rt, + "Expected an object for UniffiForeignFutureStructF64"); + } + + // Get the object from the jsi::Value + auto jsObject = jsValue.getObject(rt); + + // Create the vtable struct + UniffiForeignFutureStructF64 rsObject; + + // Create the vtable from the js callbacks. + rsObject.return_value = uniffi_jsi::Bridging::fromJs( + rt, callInvoker, jsObject.getProperty(rt, "returnValue")); + rsObject.call_status = uniffi::lwk::Bridging::fromJs( + rt, callInvoker, jsObject.getProperty(rt, "callStatus")); + + return rsObject; + } +}; + +} // namespace uniffi::lwk + // Implementation of callback function calling from JS to Rust + // ForeignFutureCompleteF64, passed from Rust to JS as part of async + // callbacks. +namespace uniffi::lwk { +using CallInvoker = uniffi_runtime::UniffiCallInvoker; + +template <> struct Bridging { + static jsi::Value toJs(jsi::Runtime &rt, + std::shared_ptr callInvoker, + UniffiForeignFutureCompleteF64 rsCallback) { + return jsi::Function::createFromHostFunction( + rt, jsi::PropNameID::forAscii(rt, "--ForeignFutureCompleteF64"), 2, + [rsCallback, callInvoker](jsi::Runtime &rt, const jsi::Value &thisValue, + const jsi::Value *arguments, + size_t count) -> jsi::Value { + return intoRust(rt, callInvoker, thisValue, arguments, count, + rsCallback); + }); + } + + static jsi::Value intoRust(jsi::Runtime &rt, + std::shared_ptr callInvoker, + const jsi::Value &thisValue, + const jsi::Value *args, size_t count, + UniffiForeignFutureCompleteF64 func) { + // Convert the arguments into the Rust, with Bridging::fromJs, + // then call the rs_callback with those arguments. + func(uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), + uniffi::lwk::Bridging::fromJs( + rt, callInvoker, args[1])); + + return jsi::Value::undefined(); + } +}; +} // namespace uniffi::lwk +namespace uniffi::lwk { +using namespace facebook; +using CallInvoker = uniffi_runtime::UniffiCallInvoker; + +template <> struct Bridging { + static UniffiForeignFutureStructPointer + fromJs(jsi::Runtime &rt, std::shared_ptr callInvoker, + const jsi::Value &jsValue) { + // Check if the input is an object + if (!jsValue.isObject()) { + throw jsi::JSError( + rt, "Expected an object for UniffiForeignFutureStructPointer"); + } + + // Get the object from the jsi::Value + auto jsObject = jsValue.getObject(rt); + + // Create the vtable struct + UniffiForeignFutureStructPointer rsObject; + + // Create the vtable from the js callbacks. + rsObject.return_value = uniffi_jsi::Bridging::fromJs( + rt, callInvoker, jsObject.getProperty(rt, "returnValue")); + rsObject.call_status = uniffi::lwk::Bridging::fromJs( + rt, callInvoker, jsObject.getProperty(rt, "callStatus")); + + return rsObject; + } +}; + +} // namespace uniffi::lwk + // Implementation of callback function calling from JS to Rust + // ForeignFutureCompletePointer, passed from Rust to JS as part of async + // callbacks. +namespace uniffi::lwk { +using CallInvoker = uniffi_runtime::UniffiCallInvoker; + +template <> struct Bridging { + static jsi::Value toJs(jsi::Runtime &rt, + std::shared_ptr callInvoker, + UniffiForeignFutureCompletePointer rsCallback) { + return jsi::Function::createFromHostFunction( + rt, jsi::PropNameID::forAscii(rt, "--ForeignFutureCompletePointer"), 2, + [rsCallback, callInvoker](jsi::Runtime &rt, const jsi::Value &thisValue, + const jsi::Value *arguments, + size_t count) -> jsi::Value { + return intoRust(rt, callInvoker, thisValue, arguments, count, + rsCallback); + }); + } + + static jsi::Value intoRust(jsi::Runtime &rt, + std::shared_ptr callInvoker, + const jsi::Value &thisValue, + const jsi::Value *args, size_t count, + UniffiForeignFutureCompletePointer func) { + // Convert the arguments into the Rust, with Bridging::fromJs, + // then call the rs_callback with those arguments. + func(uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), + uniffi::lwk::Bridging::fromJs( + rt, callInvoker, args[1])); + + return jsi::Value::undefined(); + } +}; +} // namespace uniffi::lwk +namespace uniffi::lwk { +using namespace facebook; +using CallInvoker = uniffi_runtime::UniffiCallInvoker; + +template <> struct Bridging { + static UniffiForeignFutureStructRustBuffer + fromJs(jsi::Runtime &rt, std::shared_ptr callInvoker, + const jsi::Value &jsValue) { + // Check if the input is an object + if (!jsValue.isObject()) { + throw jsi::JSError( + rt, "Expected an object for UniffiForeignFutureStructRustBuffer"); + } + + // Get the object from the jsi::Value + auto jsObject = jsValue.getObject(rt); + + // Create the vtable struct + UniffiForeignFutureStructRustBuffer rsObject; + + // Create the vtable from the js callbacks. + rsObject.return_value = uniffi::lwk::Bridging::fromJs( + rt, callInvoker, jsObject.getProperty(rt, "returnValue")); + rsObject.call_status = uniffi::lwk::Bridging::fromJs( + rt, callInvoker, jsObject.getProperty(rt, "callStatus")); + + return rsObject; + } +}; + +} // namespace uniffi::lwk + // Implementation of callback function calling from JS to Rust + // ForeignFutureCompleteRustBuffer, passed from Rust to JS as part of async + // callbacks. +namespace uniffi::lwk { +using CallInvoker = uniffi_runtime::UniffiCallInvoker; + +template <> struct Bridging { + static jsi::Value toJs(jsi::Runtime &rt, + std::shared_ptr callInvoker, + UniffiForeignFutureCompleteRustBuffer rsCallback) { + return jsi::Function::createFromHostFunction( + rt, jsi::PropNameID::forAscii(rt, "--ForeignFutureCompleteRustBuffer"), + 2, + [rsCallback, callInvoker](jsi::Runtime &rt, const jsi::Value &thisValue, + const jsi::Value *arguments, + size_t count) -> jsi::Value { + return intoRust(rt, callInvoker, thisValue, arguments, count, + rsCallback); + }); + } + + static jsi::Value intoRust(jsi::Runtime &rt, + std::shared_ptr callInvoker, + const jsi::Value &thisValue, + const jsi::Value *args, size_t count, + UniffiForeignFutureCompleteRustBuffer func) { + // Convert the arguments into the Rust, with Bridging::fromJs, + // then call the rs_callback with those arguments. + func(uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), + uniffi::lwk::Bridging::fromJs( + rt, callInvoker, args[1])); + + return jsi::Value::undefined(); + } +}; +} // namespace uniffi::lwk +namespace uniffi::lwk { +using namespace facebook; +using CallInvoker = uniffi_runtime::UniffiCallInvoker; + +template <> struct Bridging { + static UniffiForeignFutureStructVoid + fromJs(jsi::Runtime &rt, std::shared_ptr callInvoker, + const jsi::Value &jsValue) { + // Check if the input is an object + if (!jsValue.isObject()) { + throw jsi::JSError( + rt, "Expected an object for UniffiForeignFutureStructVoid"); + } + + // Get the object from the jsi::Value + auto jsObject = jsValue.getObject(rt); + + // Create the vtable struct + UniffiForeignFutureStructVoid rsObject; + + // Create the vtable from the js callbacks. + rsObject.call_status = uniffi::lwk::Bridging::fromJs( + rt, callInvoker, jsObject.getProperty(rt, "callStatus")); + + return rsObject; + } +}; + +} // namespace uniffi::lwk + // Implementation of callback function calling from JS to Rust + // ForeignFutureCompleteVoid, passed from Rust to JS as part of async + // callbacks. +namespace uniffi::lwk { +using CallInvoker = uniffi_runtime::UniffiCallInvoker; + +template <> struct Bridging { + static jsi::Value toJs(jsi::Runtime &rt, + std::shared_ptr callInvoker, + UniffiForeignFutureCompleteVoid rsCallback) { + return jsi::Function::createFromHostFunction( + rt, jsi::PropNameID::forAscii(rt, "--ForeignFutureCompleteVoid"), 2, + [rsCallback, callInvoker](jsi::Runtime &rt, const jsi::Value &thisValue, + const jsi::Value *arguments, + size_t count) -> jsi::Value { + return intoRust(rt, callInvoker, thisValue, arguments, count, + rsCallback); + }); + } + + static jsi::Value intoRust(jsi::Runtime &rt, + std::shared_ptr callInvoker, + const jsi::Value &thisValue, + const jsi::Value *args, size_t count, + UniffiForeignFutureCompleteVoid func) { + // Convert the arguments into the Rust, with Bridging::fromJs, + // then call the rs_callback with those arguments. + func(uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), + uniffi::lwk::Bridging::fromJs( + rt, callInvoker, args[1])); + + return jsi::Value::undefined(); + } +}; +} // namespace uniffi::lwk + // Implementation of callback function calling from Rust to JS + // CallbackInterfaceForeignPersisterMethod0 + +// Callback function: +// uniffi::lwk::cb::callbackinterfaceforeignpersistermethod0::UniffiCallbackInterfaceForeignPersisterMethod0 +// +// We have the following constraints: +// - we need to pass a function pointer to Rust. +// - we need a jsi::Runtime and jsi::Function to call into JS. +// - function pointers can't store state, so we can't use a lamda. +// +// For this, we store a lambda as a global, as `rsLambda`. The `callback` +// function calls the lambda, which itself calls the `body` which then calls +// into JS. +// +// We then give the `callback` function pointer to Rust which will call the +// lambda sometime in the future. +namespace uniffi::lwk::cb::callbackinterfaceforeignpersistermethod0 { +using namespace facebook; + +// We need to store a lambda in a global so we can call it from +// a function pointer. The function pointer is passed to Rust. +static std::function + rsLambda = nullptr; + +// This is the main body of the callback. It's called from the lambda, +// which itself is called from the callback function which is passed to Rust. +static void body(jsi::Runtime &rt, + std::shared_ptr callInvoker, + std::shared_ptr callbackValue, + uint64_t rs_uniffiHandle, uint64_t rs_index, + RustBuffer *rs_uniffiOutReturn, + RustCallStatus *uniffi_call_status) { + + // Convert the arguments from Rust, into jsi::Values. + // We'll use the Bridging class to do this… + auto js_uniffiHandle = + uniffi_jsi::Bridging::toJs(rt, callInvoker, rs_uniffiHandle); + auto js_index = + uniffi_jsi::Bridging::toJs(rt, callInvoker, rs_index); + + // Now we are ready to call the callback. + // We are already on the JS thread, because this `body` function was + // invoked from the CallInvoker. + try { + // Getting the callback function + auto cb = callbackValue->asObject(rt).asFunction(rt); + auto uniffiResult = cb.call(rt, js_uniffiHandle, js_index); + + // Now copy the result back from JS into the RustCallStatus object. + uniffi::lwk::Bridging::copyFromJs( + rt, callInvoker, uniffiResult, uniffi_call_status); + + if (uniffi_call_status->code != UNIFFI_CALL_STATUS_OK) { + // The JS callback finished abnormally, so we cannot retrieve the return + // value. + return; + } + + // Finally, we need to copy the return value back into the Rust pointer. + *rs_uniffiOutReturn = + uniffi::lwk::Bridging>::fromJs( + rt, callInvoker, uniffiResult); + } catch (const jsi::JSError &error) { + std::cout + << "Error in callback UniffiCallbackInterfaceForeignPersisterMethod0: " + << error.what() << std::endl; + throw error; + } +} + +static void callback(uint64_t rs_uniffiHandle, uint64_t rs_index, + RustBuffer *rs_uniffiOutReturn, + RustCallStatus *uniffi_call_status) { + // If the runtime has shutdown, then there is no point in trying to + // call into Javascript. BUT how do we tell if the runtime has shutdown? + // + // Answer: the module destructor calls into callback `cleanup` method, + // which nulls out the rsLamda. + // + // If rsLamda is null, then there is no runtime to call into. + if (rsLambda == nullptr) { + // This only occurs when destructors are calling into Rust free/drop, + // which causes the JS callback to be dropped. + return; + } + + // The runtime, the actual callback jsi::funtion, and the callInvoker + // are all in the lambda. + rsLambda(rs_uniffiHandle, rs_index, rs_uniffiOutReturn, uniffi_call_status); +} + +static UniffiCallbackInterfaceForeignPersisterMethod0 +makeCallbackFunction( // uniffi::lwk::cb::callbackinterfaceforeignpersistermethod0 + jsi::Runtime &rt, + std::shared_ptr callInvoker, + const jsi::Value &value) { + auto callbackFunction = value.asObject(rt).asFunction(rt); + auto callbackValue = std::make_shared(rt, callbackFunction); + rsLambda = [&rt, callInvoker, + callbackValue](uint64_t rs_uniffiHandle, uint64_t rs_index, + RustBuffer *rs_uniffiOutReturn, + RustCallStatus *uniffi_call_status) { + // We immediately make a lambda which will do the work of transforming the + // arguments into JSI values and calling the callback. + uniffi_runtime::UniffiCallFunc jsLambda = + [callInvoker, callbackValue, rs_uniffiHandle, rs_index, + rs_uniffiOutReturn, uniffi_call_status](jsi::Runtime &rt) mutable { + body(rt, callInvoker, callbackValue, rs_uniffiHandle, rs_index, + rs_uniffiOutReturn, uniffi_call_status); + }; + // We'll then call that lambda from the callInvoker which will + // look after calling it on the correct thread. + callInvoker->invokeBlocking(rt, jsLambda); + }; + return callback; +} + +// This method is called from the destructor of NativeLwk, which only happens +// when the jsi::Runtime is being destroyed. +static void cleanup() { + // The lambda holds a reference to the the Runtime, so when this is nulled + // out, then the pointer will no longer be left dangling. + rsLambda = nullptr; +} +} // namespace uniffi::lwk::cb::callbackinterfaceforeignpersistermethod0 + // Implementation of callback function calling from Rust to JS + // CallbackInterfaceForeignPersisterMethod1 + +// Callback function: +// uniffi::lwk::cb::callbackinterfaceforeignpersistermethod1::UniffiCallbackInterfaceForeignPersisterMethod1 +// +// We have the following constraints: +// - we need to pass a function pointer to Rust. +// - we need a jsi::Runtime and jsi::Function to call into JS. +// - function pointers can't store state, so we can't use a lamda. +// +// For this, we store a lambda as a global, as `rsLambda`. The `callback` +// function calls the lambda, which itself calls the `body` which then calls +// into JS. +// +// We then give the `callback` function pointer to Rust which will call the +// lambda sometime in the future. +namespace uniffi::lwk::cb::callbackinterfaceforeignpersistermethod1 { +using namespace facebook; + +// We need to store a lambda in a global so we can call it from +// a function pointer. The function pointer is passed to Rust. +static std::function + rsLambda = nullptr; + +// This is the main body of the callback. It's called from the lambda, +// which itself is called from the callback function which is passed to Rust. +static void body(jsi::Runtime &rt, + std::shared_ptr callInvoker, + std::shared_ptr callbackValue, + uint64_t rs_uniffiHandle, void *rs_update, + void *rs_uniffiOutReturn, RustCallStatus *uniffi_call_status) { + + // Convert the arguments from Rust, into jsi::Values. + // We'll use the Bridging class to do this… + auto js_uniffiHandle = + uniffi_jsi::Bridging::toJs(rt, callInvoker, rs_uniffiHandle); + auto js_update = + uniffi_jsi::Bridging::toJs(rt, callInvoker, rs_update); + + // Now we are ready to call the callback. + // We are already on the JS thread, because this `body` function was + // invoked from the CallInvoker. + try { + // Getting the callback function + auto cb = callbackValue->asObject(rt).asFunction(rt); + auto uniffiResult = cb.call(rt, js_uniffiHandle, js_update); + + // Now copy the result back from JS into the RustCallStatus object. + uniffi::lwk::Bridging::copyFromJs( + rt, callInvoker, uniffiResult, uniffi_call_status); + + if (uniffi_call_status->code != UNIFFI_CALL_STATUS_OK) { + // The JS callback finished abnormally, so we cannot retrieve the return + // value. + return; + } + + } catch (const jsi::JSError &error) { + std::cout + << "Error in callback UniffiCallbackInterfaceForeignPersisterMethod1: " + << error.what() << std::endl; + throw error; + } +} + +static void callback(uint64_t rs_uniffiHandle, void *rs_update, + void *rs_uniffiOutReturn, + RustCallStatus *uniffi_call_status) { + // If the runtime has shutdown, then there is no point in trying to + // call into Javascript. BUT how do we tell if the runtime has shutdown? + // + // Answer: the module destructor calls into callback `cleanup` method, + // which nulls out the rsLamda. + // + // If rsLamda is null, then there is no runtime to call into. + if (rsLambda == nullptr) { + // This only occurs when destructors are calling into Rust free/drop, + // which causes the JS callback to be dropped. + return; + } + + // The runtime, the actual callback jsi::funtion, and the callInvoker + // are all in the lambda. + rsLambda(rs_uniffiHandle, rs_update, rs_uniffiOutReturn, uniffi_call_status); +} + +static UniffiCallbackInterfaceForeignPersisterMethod1 +makeCallbackFunction( // uniffi::lwk::cb::callbackinterfaceforeignpersistermethod1 + jsi::Runtime &rt, + std::shared_ptr callInvoker, + const jsi::Value &value) { + auto callbackFunction = value.asObject(rt).asFunction(rt); + auto callbackValue = std::make_shared(rt, callbackFunction); + rsLambda = [&rt, callInvoker, callbackValue]( + uint64_t rs_uniffiHandle, void *rs_update, + void *rs_uniffiOutReturn, RustCallStatus *uniffi_call_status) { + // We immediately make a lambda which will do the work of transforming the + // arguments into JSI values and calling the callback. + uniffi_runtime::UniffiCallFunc jsLambda = + [callInvoker, callbackValue, rs_uniffiHandle, rs_update, + rs_uniffiOutReturn, uniffi_call_status](jsi::Runtime &rt) mutable { + body(rt, callInvoker, callbackValue, rs_uniffiHandle, rs_update, + rs_uniffiOutReturn, uniffi_call_status); + }; + // We'll then call that lambda from the callInvoker which will + // look after calling it on the correct thread. + callInvoker->invokeBlocking(rt, jsLambda); + }; + return callback; +} + +// This method is called from the destructor of NativeLwk, which only happens +// when the jsi::Runtime is being destroyed. +static void cleanup() { + // The lambda holds a reference to the the Runtime, so when this is nulled + // out, then the pointer will no longer be left dangling. + rsLambda = nullptr; +} +} // namespace uniffi::lwk::cb::callbackinterfaceforeignpersistermethod1 +namespace uniffi::lwk { +using namespace facebook; +using CallInvoker = uniffi_runtime::UniffiCallInvoker; + +template <> struct Bridging { + static UniffiVTableCallbackInterfaceForeignPersister + fromJs(jsi::Runtime &rt, std::shared_ptr callInvoker, + const jsi::Value &jsValue) { + // Check if the input is an object + if (!jsValue.isObject()) { + throw jsi::JSError(rt, "Expected an object for " + "UniffiVTableCallbackInterfaceForeignPersister"); + } + + // Get the object from the jsi::Value + auto jsObject = jsValue.getObject(rt); + + // Create the vtable struct + UniffiVTableCallbackInterfaceForeignPersister rsObject; + + // Create the vtable from the js callbacks. + rsObject.get = uniffi::lwk::cb::callbackinterfaceforeignpersistermethod0:: + makeCallbackFunction(rt, callInvoker, jsObject.getProperty(rt, "get")); + rsObject.push = uniffi::lwk::cb::callbackinterfaceforeignpersistermethod1:: + makeCallbackFunction(rt, callInvoker, jsObject.getProperty(rt, "push")); + rsObject.uniffi_free = + uniffi::lwk::st::vtablecallbackinterfaceforeignpersister:: + vtablecallbackinterfaceforeignpersister::free::makeCallbackFunction( + rt, callInvoker, jsObject.getProperty(rt, "uniffiFree")); + + return rsObject; + } +}; + +} // namespace uniffi::lwk + +namespace uniffi::lwk { +using namespace facebook; +using CallInvoker = uniffi_runtime::UniffiCallInvoker; + +template <> struct Bridging { + static UniffiRustFutureContinuationCallback + fromJs(jsi::Runtime &rt, std::shared_ptr callInvoker, + const jsi::Value &value) { + try { + static auto callback = + uniffi::lwk::cb::rustfuturecontinuationcallback::makeCallbackFunction( + rt, callInvoker, value); + return callback; + } catch (const std::logic_error &e) { + throw jsi::JSError(rt, e.what()); + } + } +}; + +} // namespace uniffi::lwk + +NativeLwk::NativeLwk(jsi::Runtime &rt, + std::shared_ptr invoker) + : callInvoker(invoker), props() { + // Map from Javascript names to the cpp names + props["ubrn_uniffi_internal_fn_func_ffi__string_to_byte_length"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_internal_fn_func_ffi__string_to_byte_length"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_internal_fn_func_ffi__string_to_byte_length( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_internal_fn_func_ffi__string_to_arraybuffer"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_internal_fn_func_ffi__string_to_arraybuffer"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_internal_fn_func_ffi__string_to_arraybuffer( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_internal_fn_func_ffi__arraybuffer_to_string"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_internal_fn_func_ffi__arraybuffer_to_string"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_internal_fn_func_ffi__arraybuffer_to_string( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_clone_address"] = + jsi::Function::createFromHostFunction( + rt, jsi::PropNameID::forAscii(rt, "ubrn_uniffi_lwk_fn_clone_address"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_clone_address(rt, thisVal, args, + count); + }); + props["ubrn_uniffi_lwk_fn_free_address"] = + jsi::Function::createFromHostFunction( + rt, jsi::PropNameID::forAscii(rt, "ubrn_uniffi_lwk_fn_free_address"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_free_address(rt, thisVal, args, + count); + }); + props["ubrn_uniffi_lwk_fn_constructor_address_new"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_constructor_address_new"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_constructor_address_new(rt, thisVal, + args, count); + }); + props["ubrn_uniffi_lwk_fn_method_address_is_blinded"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_address_is_blinded"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_address_is_blinded( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_address_qr_code_text"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_address_qr_code_text"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_address_qr_code_text( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_address_qr_code_uri"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_address_qr_code_uri"), + 2, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_address_qr_code_uri( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_address_script_pubkey"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_address_script_pubkey"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_address_script_pubkey( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_address_to_unconfidential"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_address_to_unconfidential"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_address_to_unconfidential( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_address_uniffi_trait_display"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_address_uniffi_trait_display"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_address_uniffi_trait_display( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_clone_addressresult"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, + "ubrn_uniffi_lwk_fn_clone_addressresult"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_clone_addressresult(rt, thisVal, + args, count); + }); + props["ubrn_uniffi_lwk_fn_free_addressresult"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, + "ubrn_uniffi_lwk_fn_free_addressresult"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_free_addressresult(rt, thisVal, args, + count); + }); + props["ubrn_uniffi_lwk_fn_method_addressresult_address"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_addressresult_address"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_addressresult_address( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_addressresult_index"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_addressresult_index"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_addressresult_index( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_clone_amp2"] = + jsi::Function::createFromHostFunction( + rt, jsi::PropNameID::forAscii(rt, "ubrn_uniffi_lwk_fn_clone_amp2"), 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_clone_amp2(rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_free_amp2"] = jsi::Function::createFromHostFunction( + rt, jsi::PropNameID::forAscii(rt, "ubrn_uniffi_lwk_fn_free_amp2"), 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_free_amp2(rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_constructor_amp2_new_testnet"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_constructor_amp2_new_testnet"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_constructor_amp2_new_testnet( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_amp2_cosign"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, + "ubrn_uniffi_lwk_fn_method_amp2_cosign"), + 2, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_amp2_cosign(rt, thisVal, args, + count); + }); + props["ubrn_uniffi_lwk_fn_method_amp2_descriptor_from_str"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_amp2_descriptor_from_str"), + 2, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_amp2_descriptor_from_str( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_amp2_register"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, + "ubrn_uniffi_lwk_fn_method_amp2_register"), + 2, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_amp2_register(rt, thisVal, + args, count); + }); + props["ubrn_uniffi_lwk_fn_clone_amp2descriptor"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, + "ubrn_uniffi_lwk_fn_clone_amp2descriptor"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_clone_amp2descriptor(rt, thisVal, + args, count); + }); + props["ubrn_uniffi_lwk_fn_free_amp2descriptor"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, + "ubrn_uniffi_lwk_fn_free_amp2descriptor"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_free_amp2descriptor(rt, thisVal, + args, count); + }); + props["ubrn_uniffi_lwk_fn_method_amp2descriptor_descriptor"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_amp2descriptor_descriptor"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_amp2descriptor_descriptor( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_amp2descriptor_uniffi_trait_display"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, + "ubrn_uniffi_lwk_fn_method_amp2descriptor_uniffi_trait_display"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_lwk_fn_method_amp2descriptor_uniffi_trait_display( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_clone_bip"] = jsi::Function::createFromHostFunction( + rt, jsi::PropNameID::forAscii(rt, "ubrn_uniffi_lwk_fn_clone_bip"), 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_clone_bip(rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_free_bip"] = jsi::Function::createFromHostFunction( + rt, jsi::PropNameID::forAscii(rt, "ubrn_uniffi_lwk_fn_free_bip"), 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_free_bip(rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_constructor_bip_new_bip49"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_constructor_bip_new_bip49"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_constructor_bip_new_bip49( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_constructor_bip_new_bip84"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_constructor_bip_new_bip84"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_constructor_bip_new_bip84( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_constructor_bip_new_bip87"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_constructor_bip_new_bip87"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_constructor_bip_new_bip87( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_clone_contract"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, "ubrn_uniffi_lwk_fn_clone_contract"), 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_clone_contract(rt, thisVal, args, + count); + }); + props["ubrn_uniffi_lwk_fn_free_contract"] = + jsi::Function::createFromHostFunction( + rt, jsi::PropNameID::forAscii(rt, "ubrn_uniffi_lwk_fn_free_contract"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_free_contract(rt, thisVal, args, + count); + }); + props["ubrn_uniffi_lwk_fn_constructor_contract_new"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_constructor_contract_new"), + 6, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_constructor_contract_new( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_contract_uniffi_trait_display"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_contract_uniffi_trait_display"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_contract_uniffi_trait_display( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_clone_electrumclient"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, + "ubrn_uniffi_lwk_fn_clone_electrumclient"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_clone_electrumclient(rt, thisVal, + args, count); + }); + props["ubrn_uniffi_lwk_fn_free_electrumclient"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, + "ubrn_uniffi_lwk_fn_free_electrumclient"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_free_electrumclient(rt, thisVal, + args, count); + }); + props["ubrn_uniffi_lwk_fn_constructor_electrumclient_new"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_constructor_electrumclient_new"), + 3, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_constructor_electrumclient_new( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_electrumclient_broadcast"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_electrumclient_broadcast"), + 2, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_electrumclient_broadcast( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_electrumclient_full_scan"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_electrumclient_full_scan"), + 2, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_electrumclient_full_scan( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_electrumclient_full_scan_to_index"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, + "ubrn_uniffi_lwk_fn_method_electrumclient_full_scan_to_index"), + 3, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_lwk_fn_method_electrumclient_full_scan_to_index( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_electrumclient_ping"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_electrumclient_ping"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_electrumclient_ping( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_clone_esploraclient"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, + "ubrn_uniffi_lwk_fn_clone_esploraclient"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_clone_esploraclient(rt, thisVal, + args, count); + }); + props["ubrn_uniffi_lwk_fn_free_esploraclient"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, + "ubrn_uniffi_lwk_fn_free_esploraclient"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_free_esploraclient(rt, thisVal, args, + count); + }); + props["ubrn_uniffi_lwk_fn_constructor_esploraclient_new"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_constructor_esploraclient_new"), + 2, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_constructor_esploraclient_new( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_constructor_esploraclient_new_waterfalls"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, + "ubrn_uniffi_lwk_fn_constructor_esploraclient_new_waterfalls"), + 2, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_lwk_fn_constructor_esploraclient_new_waterfalls( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_esploraclient_broadcast"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_esploraclient_broadcast"), + 2, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_esploraclient_broadcast( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_esploraclient_full_scan"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_esploraclient_full_scan"), + 2, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_esploraclient_full_scan( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_esploraclient_full_scan_to_index"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_esploraclient_full_scan_to_index"), + 3, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_lwk_fn_method_esploraclient_full_scan_to_index( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_clone_foreignpersister"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_clone_foreignpersister"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_clone_foreignpersister(rt, thisVal, + args, count); + }); + props["ubrn_uniffi_lwk_fn_free_foreignpersister"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, + "ubrn_uniffi_lwk_fn_free_foreignpersister"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_free_foreignpersister(rt, thisVal, + args, count); + }); + props["ubrn_uniffi_lwk_fn_method_foreignpersister_get"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_foreignpersister_get"), + 2, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_foreignpersister_get( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_foreignpersister_push"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_foreignpersister_push"), + 2, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_foreignpersister_push( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_clone_foreignpersisterlink"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_clone_foreignpersisterlink"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_clone_foreignpersisterlink( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_free_foreignpersisterlink"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_free_foreignpersisterlink"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_free_foreignpersisterlink( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_constructor_foreignpersisterlink_new"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_constructor_foreignpersisterlink_new"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_constructor_foreignpersisterlink_new( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_clone_issuance"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, "ubrn_uniffi_lwk_fn_clone_issuance"), 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_clone_issuance(rt, thisVal, args, + count); + }); + props["ubrn_uniffi_lwk_fn_free_issuance"] = + jsi::Function::createFromHostFunction( + rt, jsi::PropNameID::forAscii(rt, "ubrn_uniffi_lwk_fn_free_issuance"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_free_issuance(rt, thisVal, args, + count); + }); + props["ubrn_uniffi_lwk_fn_method_issuance_asset"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, + "ubrn_uniffi_lwk_fn_method_issuance_asset"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_issuance_asset(rt, thisVal, + args, count); + }); + props["ubrn_uniffi_lwk_fn_method_issuance_is_issuance"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_issuance_is_issuance"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_issuance_is_issuance( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_issuance_is_reissuance"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_issuance_is_reissuance"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_issuance_is_reissuance( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_issuance_prev_txid"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_issuance_prev_txid"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_issuance_prev_txid( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_issuance_prev_vout"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_issuance_prev_vout"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_issuance_prev_vout( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_issuance_token"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, + "ubrn_uniffi_lwk_fn_method_issuance_token"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_issuance_token(rt, thisVal, + args, count); + }); + props["ubrn_uniffi_lwk_fn_clone_mnemonic"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, "ubrn_uniffi_lwk_fn_clone_mnemonic"), 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_clone_mnemonic(rt, thisVal, args, + count); + }); + props["ubrn_uniffi_lwk_fn_free_mnemonic"] = + jsi::Function::createFromHostFunction( + rt, jsi::PropNameID::forAscii(rt, "ubrn_uniffi_lwk_fn_free_mnemonic"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_free_mnemonic(rt, thisVal, args, + count); + }); + props["ubrn_uniffi_lwk_fn_constructor_mnemonic_from_entropy"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_constructor_mnemonic_from_entropy"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_constructor_mnemonic_from_entropy( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_constructor_mnemonic_from_random"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_constructor_mnemonic_from_random"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_constructor_mnemonic_from_random( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_constructor_mnemonic_new"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_constructor_mnemonic_new"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_constructor_mnemonic_new( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_mnemonic_uniffi_trait_display"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_mnemonic_uniffi_trait_display"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_mnemonic_uniffi_trait_display( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_clone_network"] = + jsi::Function::createFromHostFunction( + rt, jsi::PropNameID::forAscii(rt, "ubrn_uniffi_lwk_fn_clone_network"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_clone_network(rt, thisVal, args, + count); + }); + props["ubrn_uniffi_lwk_fn_free_network"] = + jsi::Function::createFromHostFunction( + rt, jsi::PropNameID::forAscii(rt, "ubrn_uniffi_lwk_fn_free_network"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_free_network(rt, thisVal, args, + count); + }); + props["ubrn_uniffi_lwk_fn_constructor_network_mainnet"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_constructor_network_mainnet"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_constructor_network_mainnet( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_constructor_network_regtest"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_constructor_network_regtest"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_constructor_network_regtest( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_constructor_network_regtest_default"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_constructor_network_regtest_default"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_constructor_network_regtest_default( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_constructor_network_testnet"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_constructor_network_testnet"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_constructor_network_testnet( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_network_default_electrum_client"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_network_default_electrum_client"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_lwk_fn_method_network_default_electrum_client( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_network_default_esplora_client"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_network_default_esplora_client"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_lwk_fn_method_network_default_esplora_client( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_network_is_mainnet"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_network_is_mainnet"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_network_is_mainnet( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_network_policy_asset"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_network_policy_asset"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_network_policy_asset( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_network_tx_builder"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_network_tx_builder"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_network_tx_builder( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_network_uniffi_trait_display"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_network_uniffi_trait_display"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_network_uniffi_trait_display( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_clone_outpoint"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, "ubrn_uniffi_lwk_fn_clone_outpoint"), 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_clone_outpoint(rt, thisVal, args, + count); + }); + props["ubrn_uniffi_lwk_fn_free_outpoint"] = + jsi::Function::createFromHostFunction( + rt, jsi::PropNameID::forAscii(rt, "ubrn_uniffi_lwk_fn_free_outpoint"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_free_outpoint(rt, thisVal, args, + count); + }); + props["ubrn_uniffi_lwk_fn_constructor_outpoint_new"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_constructor_outpoint_new"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_constructor_outpoint_new( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_outpoint_txid"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, + "ubrn_uniffi_lwk_fn_method_outpoint_txid"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_outpoint_txid(rt, thisVal, + args, count); + }); + props["ubrn_uniffi_lwk_fn_method_outpoint_vout"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, + "ubrn_uniffi_lwk_fn_method_outpoint_vout"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_outpoint_vout(rt, thisVal, + args, count); + }); + props["ubrn_uniffi_lwk_fn_method_outpoint_uniffi_trait_display"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_outpoint_uniffi_trait_display"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_outpoint_uniffi_trait_display( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_clone_precision"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, "ubrn_uniffi_lwk_fn_clone_precision"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_clone_precision(rt, thisVal, args, + count); + }); + props["ubrn_uniffi_lwk_fn_free_precision"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, "ubrn_uniffi_lwk_fn_free_precision"), 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_free_precision(rt, thisVal, args, + count); + }); + props["ubrn_uniffi_lwk_fn_constructor_precision_new"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_constructor_precision_new"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_constructor_precision_new( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_precision_sats_to_string"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_precision_sats_to_string"), + 2, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_precision_sats_to_string( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_precision_string_to_sats"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_precision_string_to_sats"), + 2, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_precision_string_to_sats( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_clone_pset"] = + jsi::Function::createFromHostFunction( + rt, jsi::PropNameID::forAscii(rt, "ubrn_uniffi_lwk_fn_clone_pset"), 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_clone_pset(rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_free_pset"] = jsi::Function::createFromHostFunction( + rt, jsi::PropNameID::forAscii(rt, "ubrn_uniffi_lwk_fn_free_pset"), 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_free_pset(rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_constructor_pset_new"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, + "ubrn_uniffi_lwk_fn_constructor_pset_new"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_constructor_pset_new(rt, thisVal, + args, count); + }); + props["ubrn_uniffi_lwk_fn_method_pset_extract_tx"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_pset_extract_tx"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_pset_extract_tx(rt, thisVal, + args, count); + }); + props["ubrn_uniffi_lwk_fn_method_pset_finalize"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, + "ubrn_uniffi_lwk_fn_method_pset_finalize"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_pset_finalize(rt, thisVal, + args, count); + }); + props["ubrn_uniffi_lwk_fn_method_pset_inputs"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, + "ubrn_uniffi_lwk_fn_method_pset_inputs"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_pset_inputs(rt, thisVal, args, + count); + }); + props["ubrn_uniffi_lwk_fn_method_pset_uniffi_trait_display"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_pset_uniffi_trait_display"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_pset_uniffi_trait_display( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_clone_psetbalance"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, "ubrn_uniffi_lwk_fn_clone_psetbalance"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_clone_psetbalance(rt, thisVal, args, + count); + }); + props["ubrn_uniffi_lwk_fn_free_psetbalance"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, "ubrn_uniffi_lwk_fn_free_psetbalance"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_free_psetbalance(rt, thisVal, args, + count); + }); + props["ubrn_uniffi_lwk_fn_method_psetbalance_balances"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_psetbalance_balances"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_psetbalance_balances( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_psetbalance_fee"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_psetbalance_fee"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_psetbalance_fee(rt, thisVal, + args, count); + }); + props["ubrn_uniffi_lwk_fn_method_psetbalance_recipients"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_psetbalance_recipients"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_psetbalance_recipients( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_clone_psetdetails"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, "ubrn_uniffi_lwk_fn_clone_psetdetails"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_clone_psetdetails(rt, thisVal, args, + count); + }); + props["ubrn_uniffi_lwk_fn_free_psetdetails"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, "ubrn_uniffi_lwk_fn_free_psetdetails"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_free_psetdetails(rt, thisVal, args, + count); + }); + props["ubrn_uniffi_lwk_fn_method_psetdetails_balance"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_psetdetails_balance"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_psetdetails_balance( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_psetdetails_inputs_issuances"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_psetdetails_inputs_issuances"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_psetdetails_inputs_issuances( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_psetdetails_signatures"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_psetdetails_signatures"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_psetdetails_signatures( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_clone_psetinput"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, "ubrn_uniffi_lwk_fn_clone_psetinput"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_clone_psetinput(rt, thisVal, args, + count); + }); + props["ubrn_uniffi_lwk_fn_free_psetinput"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, "ubrn_uniffi_lwk_fn_free_psetinput"), 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_free_psetinput(rt, thisVal, args, + count); + }); + props["ubrn_uniffi_lwk_fn_method_psetinput_issuance_asset"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_psetinput_issuance_asset"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_psetinput_issuance_asset( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_psetinput_issuance_token"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_psetinput_issuance_token"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_psetinput_issuance_token( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_psetinput_previous_script_pubkey"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_psetinput_previous_script_pubkey"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_lwk_fn_method_psetinput_previous_script_pubkey( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_psetinput_previous_txid"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_psetinput_previous_txid"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_psetinput_previous_txid( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_psetinput_previous_vout"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_psetinput_previous_vout"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_psetinput_previous_vout( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_psetinput_redeem_script"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_psetinput_redeem_script"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_psetinput_redeem_script( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_clone_psetsignatures"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, + "ubrn_uniffi_lwk_fn_clone_psetsignatures"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_clone_psetsignatures(rt, thisVal, + args, count); + }); + props["ubrn_uniffi_lwk_fn_free_psetsignatures"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, + "ubrn_uniffi_lwk_fn_free_psetsignatures"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_free_psetsignatures(rt, thisVal, + args, count); + }); + props["ubrn_uniffi_lwk_fn_method_psetsignatures_has_signature"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_psetsignatures_has_signature"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_psetsignatures_has_signature( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_psetsignatures_missing_signature"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_psetsignatures_missing_signature"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_lwk_fn_method_psetsignatures_missing_signature( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_clone_recipient"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, "ubrn_uniffi_lwk_fn_clone_recipient"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_clone_recipient(rt, thisVal, args, + count); + }); + props["ubrn_uniffi_lwk_fn_free_recipient"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, "ubrn_uniffi_lwk_fn_free_recipient"), 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_free_recipient(rt, thisVal, args, + count); + }); + props["ubrn_uniffi_lwk_fn_method_recipient_address"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_recipient_address"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_recipient_address( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_recipient_asset"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_recipient_asset"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_recipient_asset(rt, thisVal, + args, count); + }); + props["ubrn_uniffi_lwk_fn_method_recipient_value"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_recipient_value"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_recipient_value(rt, thisVal, + args, count); + }); + props["ubrn_uniffi_lwk_fn_method_recipient_vout"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, + "ubrn_uniffi_lwk_fn_method_recipient_vout"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_recipient_vout(rt, thisVal, + args, count); + }); + props["ubrn_uniffi_lwk_fn_clone_script"] = + jsi::Function::createFromHostFunction( + rt, jsi::PropNameID::forAscii(rt, "ubrn_uniffi_lwk_fn_clone_script"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_clone_script(rt, thisVal, args, + count); + }); + props["ubrn_uniffi_lwk_fn_free_script"] = + jsi::Function::createFromHostFunction( + rt, jsi::PropNameID::forAscii(rt, "ubrn_uniffi_lwk_fn_free_script"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_free_script(rt, thisVal, args, + count); + }); + props["ubrn_uniffi_lwk_fn_constructor_script_new"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_constructor_script_new"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_constructor_script_new(rt, thisVal, + args, count); + }); + props["ubrn_uniffi_lwk_fn_method_script_asm"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, "ubrn_uniffi_lwk_fn_method_script_asm"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_script_asm(rt, thisVal, args, + count); + }); + props["ubrn_uniffi_lwk_fn_method_script_bytes"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, + "ubrn_uniffi_lwk_fn_method_script_bytes"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_script_bytes(rt, thisVal, + args, count); + }); + props["ubrn_uniffi_lwk_fn_method_script_uniffi_trait_display"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_script_uniffi_trait_display"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_script_uniffi_trait_display( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_clone_secretkey"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, "ubrn_uniffi_lwk_fn_clone_secretkey"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_clone_secretkey(rt, thisVal, args, + count); + }); + props["ubrn_uniffi_lwk_fn_free_secretkey"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, "ubrn_uniffi_lwk_fn_free_secretkey"), 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_free_secretkey(rt, thisVal, args, + count); + }); + props["ubrn_uniffi_lwk_fn_constructor_secretkey_from_bytes"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_constructor_secretkey_from_bytes"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_constructor_secretkey_from_bytes( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_secretkey_bytes"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_secretkey_bytes"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_secretkey_bytes(rt, thisVal, + args, count); + }); + props["ubrn_uniffi_lwk_fn_clone_signer"] = + jsi::Function::createFromHostFunction( + rt, jsi::PropNameID::forAscii(rt, "ubrn_uniffi_lwk_fn_clone_signer"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_clone_signer(rt, thisVal, args, + count); + }); + props["ubrn_uniffi_lwk_fn_free_signer"] = + jsi::Function::createFromHostFunction( + rt, jsi::PropNameID::forAscii(rt, "ubrn_uniffi_lwk_fn_free_signer"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_free_signer(rt, thisVal, args, + count); + }); + props["ubrn_uniffi_lwk_fn_constructor_signer_new"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_constructor_signer_new"), + 2, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_constructor_signer_new(rt, thisVal, + args, count); + }); + props["ubrn_uniffi_lwk_fn_constructor_signer_random"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_constructor_signer_random"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_constructor_signer_random( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_signer_keyorigin_xpub"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_signer_keyorigin_xpub"), + 2, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_signer_keyorigin_xpub( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_signer_mnemonic"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_signer_mnemonic"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_signer_mnemonic(rt, thisVal, + args, count); + }); + props["ubrn_uniffi_lwk_fn_method_signer_sign"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, + "ubrn_uniffi_lwk_fn_method_signer_sign"), + 2, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_signer_sign(rt, thisVal, args, + count); + }); + props["ubrn_uniffi_lwk_fn_method_signer_wpkh_slip77_descriptor"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_signer_wpkh_slip77_descriptor"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_signer_wpkh_slip77_descriptor( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_clone_testenv"] = + jsi::Function::createFromHostFunction( + rt, jsi::PropNameID::forAscii(rt, "ubrn_uniffi_lwk_fn_clone_testenv"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_clone_testenv(rt, thisVal, args, + count); + }); + props["ubrn_uniffi_lwk_fn_free_testenv"] = + jsi::Function::createFromHostFunction( + rt, jsi::PropNameID::forAscii(rt, "ubrn_uniffi_lwk_fn_free_testenv"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_free_testenv(rt, thisVal, args, + count); + }); + props["ubrn_uniffi_lwk_fn_constructor_testenv_new"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_constructor_testenv_new"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_constructor_testenv_new(rt, thisVal, + args, count); + }); + props["ubrn_uniffi_lwk_fn_method_testenv_electrum_url"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_testenv_electrum_url"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_testenv_electrum_url( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_testenv_generate"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_testenv_generate"), + 2, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_testenv_generate(rt, thisVal, + args, count); + }); + props["ubrn_uniffi_lwk_fn_method_testenv_get_new_address"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_testenv_get_new_address"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_testenv_get_new_address( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_testenv_height"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, + "ubrn_uniffi_lwk_fn_method_testenv_height"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_testenv_height(rt, thisVal, + args, count); + }); + props["ubrn_uniffi_lwk_fn_method_testenv_issue_asset"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_testenv_issue_asset"), + 2, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_testenv_issue_asset( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_testenv_send_to_address"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_testenv_send_to_address"), + 4, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_testenv_send_to_address( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_clone_transaction"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, "ubrn_uniffi_lwk_fn_clone_transaction"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_clone_transaction(rt, thisVal, args, + count); + }); + props["ubrn_uniffi_lwk_fn_free_transaction"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, "ubrn_uniffi_lwk_fn_free_transaction"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_free_transaction(rt, thisVal, args, + count); + }); + props["ubrn_uniffi_lwk_fn_constructor_transaction_new"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_constructor_transaction_new"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_constructor_transaction_new( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_transaction_bytes"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_transaction_bytes"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_transaction_bytes( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_transaction_fee"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_transaction_fee"), + 2, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_transaction_fee(rt, thisVal, + args, count); + }); + props["ubrn_uniffi_lwk_fn_method_transaction_inputs"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_transaction_inputs"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_transaction_inputs( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_transaction_outputs"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_transaction_outputs"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_transaction_outputs( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_transaction_txid"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_transaction_txid"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_transaction_txid(rt, thisVal, + args, count); + }); + props["ubrn_uniffi_lwk_fn_method_transaction_uniffi_trait_display"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_transaction_uniffi_trait_display"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_lwk_fn_method_transaction_uniffi_trait_display( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_clone_txbuilder"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, "ubrn_uniffi_lwk_fn_clone_txbuilder"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_clone_txbuilder(rt, thisVal, args, + count); + }); + props["ubrn_uniffi_lwk_fn_free_txbuilder"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, "ubrn_uniffi_lwk_fn_free_txbuilder"), 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_free_txbuilder(rt, thisVal, args, + count); + }); + props["ubrn_uniffi_lwk_fn_constructor_txbuilder_new"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_constructor_txbuilder_new"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_constructor_txbuilder_new( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_txbuilder_add_burn"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_txbuilder_add_burn"), + 3, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_txbuilder_add_burn( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_txbuilder_add_lbtc_recipient"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_txbuilder_add_lbtc_recipient"), + 3, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_txbuilder_add_lbtc_recipient( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_txbuilder_add_recipient"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_txbuilder_add_recipient"), + 4, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_txbuilder_add_recipient( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_txbuilder_drain_lbtc_to"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_txbuilder_drain_lbtc_to"), + 2, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_txbuilder_drain_lbtc_to( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_txbuilder_drain_lbtc_wallet"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_txbuilder_drain_lbtc_wallet"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_txbuilder_drain_lbtc_wallet( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_txbuilder_fee_rate"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_txbuilder_fee_rate"), + 2, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_txbuilder_fee_rate( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_txbuilder_finish"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_txbuilder_finish"), + 2, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_txbuilder_finish(rt, thisVal, + args, count); + }); + props["ubrn_uniffi_lwk_fn_method_txbuilder_issue_asset"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_txbuilder_issue_asset"), + 6, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_txbuilder_issue_asset( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_txbuilder_reissue_asset"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_txbuilder_reissue_asset"), + 5, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_txbuilder_reissue_asset( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_txbuilder_set_wallet_utxos"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_txbuilder_set_wallet_utxos"), + 2, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_txbuilder_set_wallet_utxos( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_txbuilder_uniffi_trait_display"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_txbuilder_uniffi_trait_display"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_lwk_fn_method_txbuilder_uniffi_trait_display( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_clone_txin"] = + jsi::Function::createFromHostFunction( + rt, jsi::PropNameID::forAscii(rt, "ubrn_uniffi_lwk_fn_clone_txin"), 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_clone_txin(rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_free_txin"] = jsi::Function::createFromHostFunction( + rt, jsi::PropNameID::forAscii(rt, "ubrn_uniffi_lwk_fn_free_txin"), 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_free_txin(rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_txin_outpoint"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, + "ubrn_uniffi_lwk_fn_method_txin_outpoint"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_txin_outpoint(rt, thisVal, + args, count); + }); + props["ubrn_uniffi_lwk_fn_clone_txout"] = + jsi::Function::createFromHostFunction( + rt, jsi::PropNameID::forAscii(rt, "ubrn_uniffi_lwk_fn_clone_txout"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_clone_txout(rt, thisVal, args, + count); + }); + props["ubrn_uniffi_lwk_fn_free_txout"] = + jsi::Function::createFromHostFunction( + rt, jsi::PropNameID::forAscii(rt, "ubrn_uniffi_lwk_fn_free_txout"), 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_free_txout(rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_txout_asset"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, + "ubrn_uniffi_lwk_fn_method_txout_asset"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_txout_asset(rt, thisVal, args, + count); + }); + props["ubrn_uniffi_lwk_fn_method_txout_is_fee"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, + "ubrn_uniffi_lwk_fn_method_txout_is_fee"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_txout_is_fee(rt, thisVal, + args, count); + }); + props["ubrn_uniffi_lwk_fn_method_txout_is_partially_blinded"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_txout_is_partially_blinded"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_txout_is_partially_blinded( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_txout_script_pubkey"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_txout_script_pubkey"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_txout_script_pubkey( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_txout_unblind"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, + "ubrn_uniffi_lwk_fn_method_txout_unblind"), + 2, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_txout_unblind(rt, thisVal, + args, count); + }); + props["ubrn_uniffi_lwk_fn_method_txout_value"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, + "ubrn_uniffi_lwk_fn_method_txout_value"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_txout_value(rt, thisVal, args, + count); + }); + props["ubrn_uniffi_lwk_fn_clone_txoutsecrets"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, + "ubrn_uniffi_lwk_fn_clone_txoutsecrets"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_clone_txoutsecrets(rt, thisVal, args, + count); + }); + props["ubrn_uniffi_lwk_fn_free_txoutsecrets"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, "ubrn_uniffi_lwk_fn_free_txoutsecrets"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_free_txoutsecrets(rt, thisVal, args, + count); + }); + props["ubrn_uniffi_lwk_fn_method_txoutsecrets_asset"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_txoutsecrets_asset"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_txoutsecrets_asset( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_txoutsecrets_asset_bf"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_txoutsecrets_asset_bf"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_txoutsecrets_asset_bf( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_txoutsecrets_value"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_txoutsecrets_value"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_txoutsecrets_value( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_txoutsecrets_value_bf"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_txoutsecrets_value_bf"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_txoutsecrets_value_bf( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_clone_txid"] = + jsi::Function::createFromHostFunction( + rt, jsi::PropNameID::forAscii(rt, "ubrn_uniffi_lwk_fn_clone_txid"), 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_clone_txid(rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_free_txid"] = jsi::Function::createFromHostFunction( + rt, jsi::PropNameID::forAscii(rt, "ubrn_uniffi_lwk_fn_free_txid"), 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_free_txid(rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_constructor_txid_new"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, + "ubrn_uniffi_lwk_fn_constructor_txid_new"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_constructor_txid_new(rt, thisVal, + args, count); + }); + props["ubrn_uniffi_lwk_fn_method_txid_bytes"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, "ubrn_uniffi_lwk_fn_method_txid_bytes"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_txid_bytes(rt, thisVal, args, + count); + }); + props["ubrn_uniffi_lwk_fn_method_txid_uniffi_trait_display"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_txid_uniffi_trait_display"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_txid_uniffi_trait_display( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_clone_update"] = + jsi::Function::createFromHostFunction( + rt, jsi::PropNameID::forAscii(rt, "ubrn_uniffi_lwk_fn_clone_update"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_clone_update(rt, thisVal, args, + count); + }); + props["ubrn_uniffi_lwk_fn_free_update"] = + jsi::Function::createFromHostFunction( + rt, jsi::PropNameID::forAscii(rt, "ubrn_uniffi_lwk_fn_free_update"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_free_update(rt, thisVal, args, + count); + }); + props["ubrn_uniffi_lwk_fn_constructor_update_new"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_constructor_update_new"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_constructor_update_new(rt, thisVal, + args, count); + }); + props["ubrn_uniffi_lwk_fn_method_update_only_tip"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_update_only_tip"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_update_only_tip(rt, thisVal, + args, count); + }); + props["ubrn_uniffi_lwk_fn_method_update_serialize"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_update_serialize"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_update_serialize(rt, thisVal, + args, count); + }); + props["ubrn_uniffi_lwk_fn_clone_wallettx"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, "ubrn_uniffi_lwk_fn_clone_wallettx"), 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_clone_wallettx(rt, thisVal, args, + count); + }); + props["ubrn_uniffi_lwk_fn_free_wallettx"] = + jsi::Function::createFromHostFunction( + rt, jsi::PropNameID::forAscii(rt, "ubrn_uniffi_lwk_fn_free_wallettx"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_free_wallettx(rt, thisVal, args, + count); + }); + props["ubrn_uniffi_lwk_fn_method_wallettx_balance"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_wallettx_balance"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_wallettx_balance(rt, thisVal, + args, count); + }); + props["ubrn_uniffi_lwk_fn_method_wallettx_fee"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, + "ubrn_uniffi_lwk_fn_method_wallettx_fee"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_wallettx_fee(rt, thisVal, + args, count); + }); + props["ubrn_uniffi_lwk_fn_method_wallettx_height"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_wallettx_height"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_wallettx_height(rt, thisVal, + args, count); + }); + props["ubrn_uniffi_lwk_fn_method_wallettx_inputs"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_wallettx_inputs"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_wallettx_inputs(rt, thisVal, + args, count); + }); + props["ubrn_uniffi_lwk_fn_method_wallettx_outputs"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_wallettx_outputs"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_wallettx_outputs(rt, thisVal, + args, count); + }); + props["ubrn_uniffi_lwk_fn_method_wallettx_timestamp"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_wallettx_timestamp"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_wallettx_timestamp( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_wallettx_tx"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, + "ubrn_uniffi_lwk_fn_method_wallettx_tx"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_wallettx_tx(rt, thisVal, args, + count); + }); + props["ubrn_uniffi_lwk_fn_method_wallettx_txid"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, + "ubrn_uniffi_lwk_fn_method_wallettx_txid"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_wallettx_txid(rt, thisVal, + args, count); + }); + props["ubrn_uniffi_lwk_fn_method_wallettx_type_"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, + "ubrn_uniffi_lwk_fn_method_wallettx_type_"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_wallettx_type_(rt, thisVal, + args, count); + }); + props["ubrn_uniffi_lwk_fn_method_wallettx_unblinded_url"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_wallettx_unblinded_url"), + 2, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_wallettx_unblinded_url( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_clone_wallettxout"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, "ubrn_uniffi_lwk_fn_clone_wallettxout"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_clone_wallettxout(rt, thisVal, args, + count); + }); + props["ubrn_uniffi_lwk_fn_free_wallettxout"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, "ubrn_uniffi_lwk_fn_free_wallettxout"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_free_wallettxout(rt, thisVal, args, + count); + }); + props["ubrn_uniffi_lwk_fn_method_wallettxout_address"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_wallettxout_address"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_wallettxout_address( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_wallettxout_ext_int"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_wallettxout_ext_int"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_wallettxout_ext_int( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_wallettxout_height"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_wallettxout_height"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_wallettxout_height( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_wallettxout_outpoint"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_wallettxout_outpoint"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_wallettxout_outpoint( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_wallettxout_script_pubkey"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_wallettxout_script_pubkey"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_wallettxout_script_pubkey( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_wallettxout_unblinded"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_wallettxout_unblinded"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_wallettxout_unblinded( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_wallettxout_wildcard_index"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_wallettxout_wildcard_index"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_wallettxout_wildcard_index( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_clone_wollet"] = + jsi::Function::createFromHostFunction( + rt, jsi::PropNameID::forAscii(rt, "ubrn_uniffi_lwk_fn_clone_wollet"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_clone_wollet(rt, thisVal, args, + count); + }); + props["ubrn_uniffi_lwk_fn_free_wollet"] = + jsi::Function::createFromHostFunction( + rt, jsi::PropNameID::forAscii(rt, "ubrn_uniffi_lwk_fn_free_wollet"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_free_wollet(rt, thisVal, args, + count); + }); + props["ubrn_uniffi_lwk_fn_constructor_wollet_new"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_constructor_wollet_new"), + 3, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_constructor_wollet_new(rt, thisVal, + args, count); + }); + props["ubrn_uniffi_lwk_fn_constructor_wollet_with_custom_persister"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, + "ubrn_uniffi_lwk_fn_constructor_wollet_with_custom_persister"), + 3, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_lwk_fn_constructor_wollet_with_custom_persister( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_wollet_address"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, + "ubrn_uniffi_lwk_fn_method_wollet_address"), + 2, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_wollet_address(rt, thisVal, + args, count); + }); + props["ubrn_uniffi_lwk_fn_method_wollet_apply_update"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_wollet_apply_update"), + 2, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_wollet_apply_update( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_wollet_balance"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, + "ubrn_uniffi_lwk_fn_method_wollet_balance"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_wollet_balance(rt, thisVal, + args, count); + }); + props["ubrn_uniffi_lwk_fn_method_wollet_descriptor"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_wollet_descriptor"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_wollet_descriptor( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_wollet_finalize"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_wollet_finalize"), + 2, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_wollet_finalize(rt, thisVal, + args, count); + }); + props["ubrn_uniffi_lwk_fn_method_wollet_pset_details"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_wollet_pset_details"), + 2, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_wollet_pset_details( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_wollet_transactions"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_wollet_transactions"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_wollet_transactions( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_wollet_txos"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, + "ubrn_uniffi_lwk_fn_method_wollet_txos"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_wollet_txos(rt, thisVal, args, + count); + }); + props["ubrn_uniffi_lwk_fn_method_wollet_utxos"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, + "ubrn_uniffi_lwk_fn_method_wollet_utxos"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_wollet_utxos(rt, thisVal, + args, count); + }); + props["ubrn_uniffi_lwk_fn_method_wollet_wait_for_tx"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_wollet_wait_for_tx"), + 3, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_wollet_wait_for_tx( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_clone_wolletdescriptor"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_clone_wolletdescriptor"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_clone_wolletdescriptor(rt, thisVal, + args, count); + }); + props["ubrn_uniffi_lwk_fn_free_wolletdescriptor"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, + "ubrn_uniffi_lwk_fn_free_wolletdescriptor"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_free_wolletdescriptor(rt, thisVal, + args, count); + }); + props["ubrn_uniffi_lwk_fn_constructor_wolletdescriptor_new"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_constructor_wolletdescriptor_new"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_constructor_wolletdescriptor_new( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_wolletdescriptor_derive_blinding_key"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, + "ubrn_uniffi_lwk_fn_method_wolletdescriptor_derive_blinding_key"), + 2, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_lwk_fn_method_wolletdescriptor_derive_blinding_key( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_wolletdescriptor_is_mainnet"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_wolletdescriptor_is_mainnet"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_method_wolletdescriptor_is_mainnet( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_wolletdescriptor_script_pubkey"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_method_wolletdescriptor_script_pubkey"), + 3, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_lwk_fn_method_wolletdescriptor_script_pubkey( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_method_wolletdescriptor_uniffi_trait_display"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, + "ubrn_uniffi_lwk_fn_method_" + "wolletdescriptor_uniffi_trait_display"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_lwk_fn_method_wolletdescriptor_uniffi_trait_display( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_fn_func_is_provably_segwit"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_func_is_provably_segwit"), + 2, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_fn_func_is_provably_segwit(rt, thisVal, + args, count); + }); + props["ubrn_uniffi_lwk_checksum_func_is_provably_segwit"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_func_is_provably_segwit"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_func_is_provably_segwit( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_address_is_blinded"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_address_is_blinded"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_address_is_blinded( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_address_qr_code_text"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_address_qr_code_text"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_address_qr_code_text( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_address_qr_code_uri"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_address_qr_code_uri"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_address_qr_code_uri( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_address_script_pubkey"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_address_script_pubkey"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_address_script_pubkey( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_address_to_unconfidential"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_address_to_unconfidential"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_lwk_checksum_method_address_to_unconfidential( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_addressresult_address"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_addressresult_address"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_addressresult_address( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_addressresult_index"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_addressresult_index"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_addressresult_index( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_amp2_cosign"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_amp2_cosign"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_amp2_cosign( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_amp2_descriptor_from_str"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_amp2_descriptor_from_str"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_lwk_checksum_method_amp2_descriptor_from_str( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_amp2_register"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_amp2_register"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_amp2_register( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_amp2descriptor_descriptor"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_amp2descriptor_descriptor"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_lwk_checksum_method_amp2descriptor_descriptor( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_electrumclient_broadcast"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_electrumclient_broadcast"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_lwk_checksum_method_electrumclient_broadcast( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_electrumclient_full_scan"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_electrumclient_full_scan"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_lwk_checksum_method_electrumclient_full_scan( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_electrumclient_full_scan_to_index"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, "ubrn_uniffi_lwk_checksum_method_" + "electrumclient_full_scan_to_index"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_lwk_checksum_method_electrumclient_full_scan_to_index( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_electrumclient_ping"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_electrumclient_ping"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_electrumclient_ping( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_esploraclient_broadcast"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_esploraclient_broadcast"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_esploraclient_broadcast( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_esploraclient_full_scan"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_esploraclient_full_scan"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_esploraclient_full_scan( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_esploraclient_full_scan_to_index"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, "ubrn_uniffi_lwk_checksum_method_" + "esploraclient_full_scan_to_index"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_lwk_checksum_method_esploraclient_full_scan_to_index( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_foreignpersister_get"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_foreignpersister_get"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_foreignpersister_get( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_foreignpersister_push"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_foreignpersister_push"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_foreignpersister_push( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_issuance_asset"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_issuance_asset"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_issuance_asset( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_issuance_is_issuance"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_issuance_is_issuance"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_issuance_is_issuance( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_issuance_is_reissuance"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_issuance_is_reissuance"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_issuance_is_reissuance( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_issuance_prev_txid"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_issuance_prev_txid"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_issuance_prev_txid( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_issuance_prev_vout"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_issuance_prev_vout"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_issuance_prev_vout( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_issuance_token"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_issuance_token"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_issuance_token( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_network_default_electrum_client"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, "ubrn_uniffi_lwk_checksum_method_" + "network_default_electrum_client"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_lwk_checksum_method_network_default_electrum_client( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_network_default_esplora_client"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, + "ubrn_uniffi_lwk_checksum_method_network_default_esplora_client"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_lwk_checksum_method_network_default_esplora_client( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_network_is_mainnet"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_network_is_mainnet"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_network_is_mainnet( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_network_policy_asset"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_network_policy_asset"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_network_policy_asset( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_network_tx_builder"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_network_tx_builder"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_network_tx_builder( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_outpoint_txid"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_outpoint_txid"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_outpoint_txid( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_outpoint_vout"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_outpoint_vout"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_outpoint_vout( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_precision_sats_to_string"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_precision_sats_to_string"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_lwk_checksum_method_precision_sats_to_string( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_precision_string_to_sats"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_precision_string_to_sats"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_lwk_checksum_method_precision_string_to_sats( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_pset_extract_tx"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_pset_extract_tx"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_pset_extract_tx( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_pset_finalize"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_pset_finalize"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_pset_finalize( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_pset_inputs"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_pset_inputs"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_pset_inputs( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_psetbalance_balances"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_psetbalance_balances"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_psetbalance_balances( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_psetbalance_fee"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_psetbalance_fee"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_psetbalance_fee( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_psetbalance_recipients"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_psetbalance_recipients"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_psetbalance_recipients( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_psetdetails_balance"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_psetdetails_balance"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_psetdetails_balance( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_psetdetails_inputs_issuances"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, + "ubrn_uniffi_lwk_checksum_method_psetdetails_inputs_issuances"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_lwk_checksum_method_psetdetails_inputs_issuances( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_psetdetails_signatures"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_psetdetails_signatures"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_psetdetails_signatures( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_psetinput_issuance_asset"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_psetinput_issuance_asset"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_lwk_checksum_method_psetinput_issuance_asset( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_psetinput_issuance_token"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_psetinput_issuance_token"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_lwk_checksum_method_psetinput_issuance_token( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_psetinput_previous_script_pubkey"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, "ubrn_uniffi_lwk_checksum_method_" + "psetinput_previous_script_pubkey"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_lwk_checksum_method_psetinput_previous_script_pubkey( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_psetinput_previous_txid"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_psetinput_previous_txid"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_psetinput_previous_txid( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_psetinput_previous_vout"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_psetinput_previous_vout"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_psetinput_previous_vout( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_psetinput_redeem_script"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_psetinput_redeem_script"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_psetinput_redeem_script( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_psetsignatures_has_signature"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, + "ubrn_uniffi_lwk_checksum_method_psetsignatures_has_signature"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_lwk_checksum_method_psetsignatures_has_signature( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_psetsignatures_missing_signature"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, "ubrn_uniffi_lwk_checksum_method_" + "psetsignatures_missing_signature"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_lwk_checksum_method_psetsignatures_missing_signature( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_recipient_address"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_recipient_address"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_recipient_address( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_recipient_asset"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_recipient_asset"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_recipient_asset( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_recipient_value"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_recipient_value"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_recipient_value( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_recipient_vout"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_recipient_vout"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_recipient_vout( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_script_asm"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_script_asm"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_script_asm(rt, thisVal, + args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_script_bytes"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_script_bytes"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_script_bytes( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_secretkey_bytes"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_secretkey_bytes"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_secretkey_bytes( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_signer_keyorigin_xpub"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_signer_keyorigin_xpub"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_signer_keyorigin_xpub( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_signer_mnemonic"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_signer_mnemonic"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_signer_mnemonic( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_signer_sign"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_signer_sign"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_signer_sign( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_signer_wpkh_slip77_descriptor"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, + "ubrn_uniffi_lwk_checksum_method_signer_wpkh_slip77_descriptor"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_lwk_checksum_method_signer_wpkh_slip77_descriptor( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_testenv_electrum_url"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_testenv_electrum_url"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_testenv_electrum_url( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_testenv_generate"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_testenv_generate"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_testenv_generate( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_testenv_get_new_address"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_testenv_get_new_address"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_testenv_get_new_address( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_testenv_height"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_testenv_height"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_testenv_height( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_testenv_issue_asset"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_testenv_issue_asset"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_testenv_issue_asset( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_testenv_send_to_address"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_testenv_send_to_address"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_testenv_send_to_address( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_transaction_bytes"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_transaction_bytes"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_transaction_bytes( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_transaction_fee"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_transaction_fee"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_transaction_fee( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_transaction_inputs"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_transaction_inputs"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_transaction_inputs( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_transaction_outputs"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_transaction_outputs"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_transaction_outputs( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_transaction_txid"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_transaction_txid"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_transaction_txid( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_txbuilder_add_burn"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_txbuilder_add_burn"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_txbuilder_add_burn( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_txbuilder_add_lbtc_recipient"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, + "ubrn_uniffi_lwk_checksum_method_txbuilder_add_lbtc_recipient"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_lwk_checksum_method_txbuilder_add_lbtc_recipient( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_txbuilder_add_recipient"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_txbuilder_add_recipient"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_txbuilder_add_recipient( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_txbuilder_drain_lbtc_to"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_txbuilder_drain_lbtc_to"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_txbuilder_drain_lbtc_to( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_txbuilder_drain_lbtc_wallet"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, + "ubrn_uniffi_lwk_checksum_method_txbuilder_drain_lbtc_wallet"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_lwk_checksum_method_txbuilder_drain_lbtc_wallet( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_txbuilder_fee_rate"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_txbuilder_fee_rate"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_txbuilder_fee_rate( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_txbuilder_finish"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_txbuilder_finish"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_txbuilder_finish( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_txbuilder_issue_asset"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_txbuilder_issue_asset"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_txbuilder_issue_asset( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_txbuilder_reissue_asset"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_txbuilder_reissue_asset"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_txbuilder_reissue_asset( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_txbuilder_set_wallet_utxos"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_txbuilder_set_wallet_utxos"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_lwk_checksum_method_txbuilder_set_wallet_utxos( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_txin_outpoint"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_txin_outpoint"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_txin_outpoint( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_txout_asset"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_txout_asset"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_txout_asset( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_txout_is_fee"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_txout_is_fee"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_txout_is_fee( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_txout_is_partially_blinded"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_txout_is_partially_blinded"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_lwk_checksum_method_txout_is_partially_blinded( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_txout_script_pubkey"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_txout_script_pubkey"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_txout_script_pubkey( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_txout_unblind"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_txout_unblind"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_txout_unblind( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_txout_value"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_txout_value"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_txout_value( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_txoutsecrets_asset"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_txoutsecrets_asset"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_txoutsecrets_asset( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_txoutsecrets_asset_bf"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_txoutsecrets_asset_bf"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_txoutsecrets_asset_bf( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_txoutsecrets_value"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_txoutsecrets_value"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_txoutsecrets_value( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_txoutsecrets_value_bf"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_txoutsecrets_value_bf"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_txoutsecrets_value_bf( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_txid_bytes"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_txid_bytes"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_txid_bytes(rt, thisVal, + args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_update_only_tip"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_update_only_tip"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_update_only_tip( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_update_serialize"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_update_serialize"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_update_serialize( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_wallettx_balance"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_wallettx_balance"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_wallettx_balance( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_wallettx_fee"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_wallettx_fee"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_wallettx_fee( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_wallettx_height"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_wallettx_height"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_wallettx_height( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_wallettx_inputs"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_wallettx_inputs"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_wallettx_inputs( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_wallettx_outputs"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_wallettx_outputs"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_wallettx_outputs( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_wallettx_timestamp"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_wallettx_timestamp"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_wallettx_timestamp( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_wallettx_tx"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_wallettx_tx"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_wallettx_tx( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_wallettx_txid"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_wallettx_txid"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_wallettx_txid( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_wallettx_type_"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_wallettx_type_"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_wallettx_type_( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_wallettx_unblinded_url"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_wallettx_unblinded_url"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_wallettx_unblinded_url( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_wallettxout_address"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_wallettxout_address"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_wallettxout_address( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_wallettxout_ext_int"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_wallettxout_ext_int"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_wallettxout_ext_int( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_wallettxout_height"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_wallettxout_height"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_wallettxout_height( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_wallettxout_outpoint"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_wallettxout_outpoint"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_wallettxout_outpoint( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_wallettxout_script_pubkey"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_wallettxout_script_pubkey"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_lwk_checksum_method_wallettxout_script_pubkey( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_wallettxout_unblinded"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_wallettxout_unblinded"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_wallettxout_unblinded( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_wallettxout_wildcard_index"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_wallettxout_wildcard_index"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_lwk_checksum_method_wallettxout_wildcard_index( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_wollet_address"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_wollet_address"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_wollet_address( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_wollet_apply_update"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_wollet_apply_update"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_wollet_apply_update( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_wollet_balance"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_wollet_balance"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_wollet_balance( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_wollet_descriptor"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_wollet_descriptor"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_wollet_descriptor( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_wollet_finalize"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_wollet_finalize"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_wollet_finalize( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_wollet_pset_details"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_wollet_pset_details"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_wollet_pset_details( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_wollet_transactions"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_wollet_transactions"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_wollet_transactions( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_wollet_txos"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_wollet_txos"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_wollet_txos( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_wollet_utxos"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_wollet_utxos"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_wollet_utxos( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_wollet_wait_for_tx"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_method_wollet_wait_for_tx"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_method_wollet_wait_for_tx( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_wolletdescriptor_derive_blinding_" + "key"] = jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, "ubrn_uniffi_lwk_checksum_method_" + "wolletdescriptor_derive_blinding_key"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_lwk_checksum_method_wolletdescriptor_derive_blinding_key( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_wolletdescriptor_is_mainnet"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, + "ubrn_uniffi_lwk_checksum_method_wolletdescriptor_is_mainnet"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_lwk_checksum_method_wolletdescriptor_is_mainnet( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_method_wolletdescriptor_script_pubkey"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, + "ubrn_uniffi_lwk_checksum_method_wolletdescriptor_script_pubkey"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_lwk_checksum_method_wolletdescriptor_script_pubkey( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_constructor_address_new"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_constructor_address_new"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_constructor_address_new( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_constructor_amp2_new_testnet"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_constructor_amp2_new_testnet"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_constructor_amp2_new_testnet( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_constructor_bip_new_bip49"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_constructor_bip_new_bip49"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_constructor_bip_new_bip49( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_constructor_bip_new_bip84"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_constructor_bip_new_bip84"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_constructor_bip_new_bip84( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_constructor_bip_new_bip87"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_constructor_bip_new_bip87"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_constructor_bip_new_bip87( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_constructor_contract_new"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_constructor_contract_new"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_constructor_contract_new( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_constructor_electrumclient_new"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_constructor_electrumclient_new"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_constructor_electrumclient_new( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_constructor_esploraclient_new"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_constructor_esploraclient_new"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_constructor_esploraclient_new( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_constructor_esploraclient_new_waterfalls"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, "ubrn_uniffi_lwk_checksum_constructor_" + "esploraclient_new_waterfalls"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_lwk_checksum_constructor_esploraclient_new_waterfalls( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_constructor_foreignpersisterlink_new"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, + "ubrn_uniffi_lwk_checksum_constructor_foreignpersisterlink_new"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_lwk_checksum_constructor_foreignpersisterlink_new( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_constructor_mnemonic_from_entropy"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_constructor_mnemonic_from_entropy"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_lwk_checksum_constructor_mnemonic_from_entropy( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_constructor_mnemonic_from_random"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_constructor_mnemonic_from_random"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_lwk_checksum_constructor_mnemonic_from_random( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_constructor_mnemonic_new"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_constructor_mnemonic_new"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_constructor_mnemonic_new( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_constructor_network_mainnet"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_constructor_network_mainnet"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_constructor_network_mainnet( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_constructor_network_regtest"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_constructor_network_regtest"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_constructor_network_regtest( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_constructor_network_regtest_default"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, + "ubrn_uniffi_lwk_checksum_constructor_network_regtest_default"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_lwk_checksum_constructor_network_regtest_default( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_constructor_network_testnet"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_constructor_network_testnet"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_constructor_network_testnet( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_constructor_outpoint_new"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_constructor_outpoint_new"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_constructor_outpoint_new( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_constructor_precision_new"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_constructor_precision_new"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_constructor_precision_new( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_constructor_pset_new"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_constructor_pset_new"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_constructor_pset_new( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_constructor_script_new"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_constructor_script_new"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_constructor_script_new( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_constructor_secretkey_from_bytes"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_constructor_secretkey_from_bytes"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_lwk_checksum_constructor_secretkey_from_bytes( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_constructor_signer_new"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_constructor_signer_new"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_constructor_signer_new( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_constructor_signer_random"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_constructor_signer_random"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_constructor_signer_random( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_constructor_testenv_new"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_constructor_testenv_new"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_constructor_testenv_new( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_constructor_transaction_new"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_constructor_transaction_new"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_constructor_transaction_new( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_constructor_txbuilder_new"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_constructor_txbuilder_new"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_constructor_txbuilder_new( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_constructor_txid_new"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_constructor_txid_new"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_constructor_txid_new( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_constructor_update_new"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_constructor_update_new"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_constructor_update_new( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_constructor_wollet_new"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_constructor_wollet_new"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_lwk_checksum_constructor_wollet_new( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_constructor_wollet_with_custom_persister"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, "ubrn_uniffi_lwk_checksum_constructor_" + "wollet_with_custom_persister"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_lwk_checksum_constructor_wollet_with_custom_persister( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_lwk_checksum_constructor_wolletdescriptor_new"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_checksum_constructor_wolletdescriptor_new"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_lwk_checksum_constructor_wolletdescriptor_new( + rt, thisVal, args, count); + }); + props["ubrn_ffi_lwk_uniffi_contract_version"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, "ubrn_ffi_lwk_uniffi_contract_version"), + 0, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_ffi_lwk_uniffi_contract_version(rt, thisVal, args, + count); + }); + props["ubrn_uniffi_lwk_fn_init_callback_vtable_foreignpersister"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_lwk_fn_init_callback_vtable_foreignpersister"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_lwk_fn_init_callback_vtable_foreignpersister( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_internal_fn_method_address_ffi__bless_pointer"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_internal_fn_method_address_ffi__bless_pointer"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_internal_fn_method_address_ffi__bless_pointer( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_internal_fn_method_addressresult_ffi__bless_pointer"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, "ubrn_uniffi_internal_fn_method_" + "addressresult_ffi__bless_pointer"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_internal_fn_method_addressresult_ffi__bless_pointer( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_internal_fn_method_amp2_ffi__bless_pointer"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_internal_fn_method_amp2_ffi__bless_pointer"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_internal_fn_method_amp2_ffi__bless_pointer( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_internal_fn_method_amp2descriptor_ffi__bless_pointer"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, "ubrn_uniffi_internal_fn_method_" + "amp2descriptor_ffi__bless_pointer"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_internal_fn_method_amp2descriptor_ffi__bless_pointer( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_internal_fn_method_bip_ffi__bless_pointer"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_internal_fn_method_bip_ffi__bless_pointer"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_internal_fn_method_bip_ffi__bless_pointer( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_internal_fn_method_contract_ffi__bless_pointer"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_internal_fn_method_contract_ffi__bless_pointer"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_internal_fn_method_contract_ffi__bless_pointer( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_internal_fn_method_electrumclient_ffi__bless_pointer"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, "ubrn_uniffi_internal_fn_method_" + "electrumclient_ffi__bless_pointer"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_internal_fn_method_electrumclient_ffi__bless_pointer( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_internal_fn_method_esploraclient_ffi__bless_pointer"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, "ubrn_uniffi_internal_fn_method_" + "esploraclient_ffi__bless_pointer"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_internal_fn_method_esploraclient_ffi__bless_pointer( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_internal_fn_method_foreignpersister_ffi__bless_pointer"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, "ubrn_uniffi_internal_fn_method_" + "foreignpersister_ffi__bless_pointer"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_internal_fn_method_foreignpersister_ffi__bless_pointer( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_internal_fn_method_foreignpersisterlink_ffi__bless_" + "pointer"] = jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, "ubrn_uniffi_internal_fn_method_" + "foreignpersisterlink_ffi__bless_pointer"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_internal_fn_method_foreignpersisterlink_ffi__bless_pointer( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_internal_fn_method_issuance_ffi__bless_pointer"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_internal_fn_method_issuance_ffi__bless_pointer"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_internal_fn_method_issuance_ffi__bless_pointer( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_internal_fn_method_mnemonic_ffi__bless_pointer"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_internal_fn_method_mnemonic_ffi__bless_pointer"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_internal_fn_method_mnemonic_ffi__bless_pointer( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_internal_fn_method_network_ffi__bless_pointer"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_internal_fn_method_network_ffi__bless_pointer"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_internal_fn_method_network_ffi__bless_pointer( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_internal_fn_method_outpoint_ffi__bless_pointer"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_internal_fn_method_outpoint_ffi__bless_pointer"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_internal_fn_method_outpoint_ffi__bless_pointer( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_internal_fn_method_precision_ffi__bless_pointer"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, + "ubrn_uniffi_internal_fn_method_precision_ffi__bless_pointer"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_internal_fn_method_precision_ffi__bless_pointer( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_internal_fn_method_pset_ffi__bless_pointer"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_internal_fn_method_pset_ffi__bless_pointer"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_internal_fn_method_pset_ffi__bless_pointer( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_internal_fn_method_psetbalance_ffi__bless_pointer"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, + "ubrn_uniffi_internal_fn_method_psetbalance_ffi__bless_pointer"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_internal_fn_method_psetbalance_ffi__bless_pointer( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_internal_fn_method_psetdetails_ffi__bless_pointer"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, + "ubrn_uniffi_internal_fn_method_psetdetails_ffi__bless_pointer"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_internal_fn_method_psetdetails_ffi__bless_pointer( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_internal_fn_method_psetinput_ffi__bless_pointer"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, + "ubrn_uniffi_internal_fn_method_psetinput_ffi__bless_pointer"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_internal_fn_method_psetinput_ffi__bless_pointer( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_internal_fn_method_psetsignatures_ffi__bless_pointer"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, "ubrn_uniffi_internal_fn_method_" + "psetsignatures_ffi__bless_pointer"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_internal_fn_method_psetsignatures_ffi__bless_pointer( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_internal_fn_method_recipient_ffi__bless_pointer"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, + "ubrn_uniffi_internal_fn_method_recipient_ffi__bless_pointer"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_internal_fn_method_recipient_ffi__bless_pointer( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_internal_fn_method_script_ffi__bless_pointer"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_internal_fn_method_script_ffi__bless_pointer"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_internal_fn_method_script_ffi__bless_pointer( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_internal_fn_method_secretkey_ffi__bless_pointer"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, + "ubrn_uniffi_internal_fn_method_secretkey_ffi__bless_pointer"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_internal_fn_method_secretkey_ffi__bless_pointer( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_internal_fn_method_signer_ffi__bless_pointer"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_internal_fn_method_signer_ffi__bless_pointer"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_internal_fn_method_signer_ffi__bless_pointer( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_internal_fn_method_testenv_ffi__bless_pointer"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_internal_fn_method_testenv_ffi__bless_pointer"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_internal_fn_method_testenv_ffi__bless_pointer( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_internal_fn_method_transaction_ffi__bless_pointer"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, + "ubrn_uniffi_internal_fn_method_transaction_ffi__bless_pointer"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_internal_fn_method_transaction_ffi__bless_pointer( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_internal_fn_method_txbuilder_ffi__bless_pointer"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, + "ubrn_uniffi_internal_fn_method_txbuilder_ffi__bless_pointer"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_internal_fn_method_txbuilder_ffi__bless_pointer( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_internal_fn_method_txin_ffi__bless_pointer"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_internal_fn_method_txin_ffi__bless_pointer"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_internal_fn_method_txin_ffi__bless_pointer( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_internal_fn_method_txout_ffi__bless_pointer"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_internal_fn_method_txout_ffi__bless_pointer"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_internal_fn_method_txout_ffi__bless_pointer( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_internal_fn_method_txoutsecrets_ffi__bless_pointer"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, + "ubrn_uniffi_internal_fn_method_txoutsecrets_ffi__bless_pointer"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_internal_fn_method_txoutsecrets_ffi__bless_pointer( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_internal_fn_method_txid_ffi__bless_pointer"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_internal_fn_method_txid_ffi__bless_pointer"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this->cpp_uniffi_internal_fn_method_txid_ffi__bless_pointer( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_internal_fn_method_update_ffi__bless_pointer"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_internal_fn_method_update_ffi__bless_pointer"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_internal_fn_method_update_ffi__bless_pointer( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_internal_fn_method_wallettx_ffi__bless_pointer"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_internal_fn_method_wallettx_ffi__bless_pointer"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_internal_fn_method_wallettx_ffi__bless_pointer( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_internal_fn_method_wallettxout_ffi__bless_pointer"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, + "ubrn_uniffi_internal_fn_method_wallettxout_ffi__bless_pointer"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_internal_fn_method_wallettxout_ffi__bless_pointer( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_internal_fn_method_wollet_ffi__bless_pointer"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii( + rt, "ubrn_uniffi_internal_fn_method_wollet_ffi__bless_pointer"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_internal_fn_method_wollet_ffi__bless_pointer( + rt, thisVal, args, count); + }); + props["ubrn_uniffi_internal_fn_method_wolletdescriptor_ffi__bless_pointer"] = + jsi::Function::createFromHostFunction( + rt, + jsi::PropNameID::forAscii(rt, "ubrn_uniffi_internal_fn_method_" + "wolletdescriptor_ffi__bless_pointer"), + 1, + [this](jsi::Runtime &rt, const jsi::Value &thisVal, + const jsi::Value *args, size_t count) -> jsi::Value { + return this + ->cpp_uniffi_internal_fn_method_wolletdescriptor_ffi__bless_pointer( + rt, thisVal, args, count); + }); +} + +void NativeLwk::registerModule( + jsi::Runtime &rt, std::shared_ptr callInvoker) { + auto invoker = + std::make_shared(callInvoker); + auto tm = std::make_shared(rt, invoker); + auto obj = rt.global().createFromHostObject(rt, tm); + rt.global().setProperty(rt, "NativeLwk", obj); +} + +void NativeLwk::unregisterModule(jsi::Runtime &rt) { + // NOOP +} + +jsi::Value NativeLwk::get(jsi::Runtime &rt, const jsi::PropNameID &name) { + try { + return jsi::Value(rt, props.at(name.utf8(rt))); + } catch (std::out_of_range &e) { + return jsi::Value::undefined(); + } +} + +std::vector NativeLwk::getPropertyNames(jsi::Runtime &rt) { + std::vector rval; + for (auto &[key, value] : props) { + rval.push_back(jsi::PropNameID::forUtf8(rt, key)); + } + return rval; +} + +void NativeLwk::set(jsi::Runtime &rt, const jsi::PropNameID &name, + const jsi::Value &value) { + props.insert_or_assign(name.utf8(rt), &value); +} + +NativeLwk::~NativeLwk() { + // Cleanup for callback function RustFutureContinuationCallback + uniffi::lwk::cb::rustfuturecontinuationcallback::cleanup(); + // Cleanup for "free" callback function CallbackInterfaceFree + uniffi::lwk::st::foreignfuture::foreignfuture::free::cleanup(); + uniffi::lwk::st::vtablecallbackinterfaceforeignpersister:: + vtablecallbackinterfaceforeignpersister::free::cleanup(); + // Cleanup for callback function CallbackInterfaceForeignPersisterMethod0 + uniffi::lwk::cb::callbackinterfaceforeignpersistermethod0::cleanup(); + // Cleanup for callback function CallbackInterfaceForeignPersisterMethod1 + uniffi::lwk::cb::callbackinterfaceforeignpersistermethod1::cleanup(); +} + +// Utility functions for serialization/deserialization of strings. +jsi::Value NativeLwk::cpp_uniffi_internal_fn_func_ffi__string_to_byte_length( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + return uniffi_jsi::Bridging::string_to_bytelength(rt, args[0]); +} + +jsi::Value NativeLwk::cpp_uniffi_internal_fn_func_ffi__string_to_arraybuffer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + return uniffi_jsi::Bridging::string_to_arraybuffer(rt, args[0]); +} + +jsi::Value NativeLwk::cpp_uniffi_internal_fn_func_ffi__arraybuffer_to_string( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + return uniffi_jsi::Bridging::arraybuffer_to_string(rt, args[0]); +} +jsi::Value NativeLwk::cpp_uniffi_internal_fn_method_address_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto pointer = + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]); + auto static destructor = [](uint64_t p) { + auto pointer = reinterpret_cast(static_cast(p)); + RustCallStatus status = {0}; + uniffi_lwk_fn_free_address(pointer, &status); + }; + auto ptrObj = + std::make_shared(pointer, destructor); + auto obj = jsi::Object::createFromHostObject(rt, ptrObj); + return jsi::Value(rt, obj); +} +jsi::Value +NativeLwk::cpp_uniffi_internal_fn_method_addressresult_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto pointer = + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]); + auto static destructor = [](uint64_t p) { + auto pointer = reinterpret_cast(static_cast(p)); + RustCallStatus status = {0}; + uniffi_lwk_fn_free_addressresult(pointer, &status); + }; + auto ptrObj = + std::make_shared(pointer, destructor); + auto obj = jsi::Object::createFromHostObject(rt, ptrObj); + return jsi::Value(rt, obj); +} +jsi::Value NativeLwk::cpp_uniffi_internal_fn_method_amp2_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto pointer = + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]); + auto static destructor = [](uint64_t p) { + auto pointer = reinterpret_cast(static_cast(p)); + RustCallStatus status = {0}; + uniffi_lwk_fn_free_amp2(pointer, &status); + }; + auto ptrObj = + std::make_shared(pointer, destructor); + auto obj = jsi::Object::createFromHostObject(rt, ptrObj); + return jsi::Value(rt, obj); +} +jsi::Value +NativeLwk::cpp_uniffi_internal_fn_method_amp2descriptor_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto pointer = + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]); + auto static destructor = [](uint64_t p) { + auto pointer = reinterpret_cast(static_cast(p)); + RustCallStatus status = {0}; + uniffi_lwk_fn_free_amp2descriptor(pointer, &status); + }; + auto ptrObj = + std::make_shared(pointer, destructor); + auto obj = jsi::Object::createFromHostObject(rt, ptrObj); + return jsi::Value(rt, obj); +} +jsi::Value NativeLwk::cpp_uniffi_internal_fn_method_bip_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto pointer = + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]); + auto static destructor = [](uint64_t p) { + auto pointer = reinterpret_cast(static_cast(p)); + RustCallStatus status = {0}; + uniffi_lwk_fn_free_bip(pointer, &status); + }; + auto ptrObj = + std::make_shared(pointer, destructor); + auto obj = jsi::Object::createFromHostObject(rt, ptrObj); + return jsi::Value(rt, obj); +} +jsi::Value NativeLwk::cpp_uniffi_internal_fn_method_contract_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto pointer = + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]); + auto static destructor = [](uint64_t p) { + auto pointer = reinterpret_cast(static_cast(p)); + RustCallStatus status = {0}; + uniffi_lwk_fn_free_contract(pointer, &status); + }; + auto ptrObj = + std::make_shared(pointer, destructor); + auto obj = jsi::Object::createFromHostObject(rt, ptrObj); + return jsi::Value(rt, obj); +} +jsi::Value +NativeLwk::cpp_uniffi_internal_fn_method_electrumclient_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto pointer = + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]); + auto static destructor = [](uint64_t p) { + auto pointer = reinterpret_cast(static_cast(p)); + RustCallStatus status = {0}; + uniffi_lwk_fn_free_electrumclient(pointer, &status); + }; + auto ptrObj = + std::make_shared(pointer, destructor); + auto obj = jsi::Object::createFromHostObject(rt, ptrObj); + return jsi::Value(rt, obj); +} +jsi::Value +NativeLwk::cpp_uniffi_internal_fn_method_esploraclient_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto pointer = + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]); + auto static destructor = [](uint64_t p) { + auto pointer = reinterpret_cast(static_cast(p)); + RustCallStatus status = {0}; + uniffi_lwk_fn_free_esploraclient(pointer, &status); + }; + auto ptrObj = + std::make_shared(pointer, destructor); + auto obj = jsi::Object::createFromHostObject(rt, ptrObj); + return jsi::Value(rt, obj); +} +jsi::Value +NativeLwk::cpp_uniffi_internal_fn_method_foreignpersister_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto pointer = + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]); + auto static destructor = [](uint64_t p) { + auto pointer = reinterpret_cast(static_cast(p)); + RustCallStatus status = {0}; + uniffi_lwk_fn_free_foreignpersister(pointer, &status); + }; + auto ptrObj = + std::make_shared(pointer, destructor); + auto obj = jsi::Object::createFromHostObject(rt, ptrObj); + return jsi::Value(rt, obj); +} +jsi::Value NativeLwk:: + cpp_uniffi_internal_fn_method_foreignpersisterlink_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto pointer = + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]); + auto static destructor = [](uint64_t p) { + auto pointer = reinterpret_cast(static_cast(p)); + RustCallStatus status = {0}; + uniffi_lwk_fn_free_foreignpersisterlink(pointer, &status); + }; + auto ptrObj = + std::make_shared(pointer, destructor); + auto obj = jsi::Object::createFromHostObject(rt, ptrObj); + return jsi::Value(rt, obj); +} +jsi::Value NativeLwk::cpp_uniffi_internal_fn_method_issuance_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto pointer = + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]); + auto static destructor = [](uint64_t p) { + auto pointer = reinterpret_cast(static_cast(p)); + RustCallStatus status = {0}; + uniffi_lwk_fn_free_issuance(pointer, &status); + }; + auto ptrObj = + std::make_shared(pointer, destructor); + auto obj = jsi::Object::createFromHostObject(rt, ptrObj); + return jsi::Value(rt, obj); +} +jsi::Value NativeLwk::cpp_uniffi_internal_fn_method_mnemonic_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto pointer = + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]); + auto static destructor = [](uint64_t p) { + auto pointer = reinterpret_cast(static_cast(p)); + RustCallStatus status = {0}; + uniffi_lwk_fn_free_mnemonic(pointer, &status); + }; + auto ptrObj = + std::make_shared(pointer, destructor); + auto obj = jsi::Object::createFromHostObject(rt, ptrObj); + return jsi::Value(rt, obj); +} +jsi::Value NativeLwk::cpp_uniffi_internal_fn_method_network_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto pointer = + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]); + auto static destructor = [](uint64_t p) { + auto pointer = reinterpret_cast(static_cast(p)); + RustCallStatus status = {0}; + uniffi_lwk_fn_free_network(pointer, &status); + }; + auto ptrObj = + std::make_shared(pointer, destructor); + auto obj = jsi::Object::createFromHostObject(rt, ptrObj); + return jsi::Value(rt, obj); +} +jsi::Value NativeLwk::cpp_uniffi_internal_fn_method_outpoint_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto pointer = + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]); + auto static destructor = [](uint64_t p) { + auto pointer = reinterpret_cast(static_cast(p)); + RustCallStatus status = {0}; + uniffi_lwk_fn_free_outpoint(pointer, &status); + }; + auto ptrObj = + std::make_shared(pointer, destructor); + auto obj = jsi::Object::createFromHostObject(rt, ptrObj); + return jsi::Value(rt, obj); +} +jsi::Value +NativeLwk::cpp_uniffi_internal_fn_method_precision_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto pointer = + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]); + auto static destructor = [](uint64_t p) { + auto pointer = reinterpret_cast(static_cast(p)); + RustCallStatus status = {0}; + uniffi_lwk_fn_free_precision(pointer, &status); + }; + auto ptrObj = + std::make_shared(pointer, destructor); + auto obj = jsi::Object::createFromHostObject(rt, ptrObj); + return jsi::Value(rt, obj); +} +jsi::Value NativeLwk::cpp_uniffi_internal_fn_method_pset_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto pointer = + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]); + auto static destructor = [](uint64_t p) { + auto pointer = reinterpret_cast(static_cast(p)); + RustCallStatus status = {0}; + uniffi_lwk_fn_free_pset(pointer, &status); + }; + auto ptrObj = + std::make_shared(pointer, destructor); + auto obj = jsi::Object::createFromHostObject(rt, ptrObj); + return jsi::Value(rt, obj); +} +jsi::Value +NativeLwk::cpp_uniffi_internal_fn_method_psetbalance_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto pointer = + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]); + auto static destructor = [](uint64_t p) { + auto pointer = reinterpret_cast(static_cast(p)); + RustCallStatus status = {0}; + uniffi_lwk_fn_free_psetbalance(pointer, &status); + }; + auto ptrObj = + std::make_shared(pointer, destructor); + auto obj = jsi::Object::createFromHostObject(rt, ptrObj); + return jsi::Value(rt, obj); +} +jsi::Value +NativeLwk::cpp_uniffi_internal_fn_method_psetdetails_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto pointer = + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]); + auto static destructor = [](uint64_t p) { + auto pointer = reinterpret_cast(static_cast(p)); + RustCallStatus status = {0}; + uniffi_lwk_fn_free_psetdetails(pointer, &status); + }; + auto ptrObj = + std::make_shared(pointer, destructor); + auto obj = jsi::Object::createFromHostObject(rt, ptrObj); + return jsi::Value(rt, obj); +} +jsi::Value +NativeLwk::cpp_uniffi_internal_fn_method_psetinput_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto pointer = + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]); + auto static destructor = [](uint64_t p) { + auto pointer = reinterpret_cast(static_cast(p)); + RustCallStatus status = {0}; + uniffi_lwk_fn_free_psetinput(pointer, &status); + }; + auto ptrObj = + std::make_shared(pointer, destructor); + auto obj = jsi::Object::createFromHostObject(rt, ptrObj); + return jsi::Value(rt, obj); +} +jsi::Value +NativeLwk::cpp_uniffi_internal_fn_method_psetsignatures_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto pointer = + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]); + auto static destructor = [](uint64_t p) { + auto pointer = reinterpret_cast(static_cast(p)); + RustCallStatus status = {0}; + uniffi_lwk_fn_free_psetsignatures(pointer, &status); + }; + auto ptrObj = + std::make_shared(pointer, destructor); + auto obj = jsi::Object::createFromHostObject(rt, ptrObj); + return jsi::Value(rt, obj); +} +jsi::Value +NativeLwk::cpp_uniffi_internal_fn_method_recipient_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto pointer = + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]); + auto static destructor = [](uint64_t p) { + auto pointer = reinterpret_cast(static_cast(p)); + RustCallStatus status = {0}; + uniffi_lwk_fn_free_recipient(pointer, &status); + }; + auto ptrObj = + std::make_shared(pointer, destructor); + auto obj = jsi::Object::createFromHostObject(rt, ptrObj); + return jsi::Value(rt, obj); +} +jsi::Value NativeLwk::cpp_uniffi_internal_fn_method_script_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto pointer = + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]); + auto static destructor = [](uint64_t p) { + auto pointer = reinterpret_cast(static_cast(p)); + RustCallStatus status = {0}; + uniffi_lwk_fn_free_script(pointer, &status); + }; + auto ptrObj = + std::make_shared(pointer, destructor); + auto obj = jsi::Object::createFromHostObject(rt, ptrObj); + return jsi::Value(rt, obj); +} +jsi::Value +NativeLwk::cpp_uniffi_internal_fn_method_secretkey_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto pointer = + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]); + auto static destructor = [](uint64_t p) { + auto pointer = reinterpret_cast(static_cast(p)); + RustCallStatus status = {0}; + uniffi_lwk_fn_free_secretkey(pointer, &status); + }; + auto ptrObj = + std::make_shared(pointer, destructor); + auto obj = jsi::Object::createFromHostObject(rt, ptrObj); + return jsi::Value(rt, obj); +} +jsi::Value NativeLwk::cpp_uniffi_internal_fn_method_signer_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto pointer = + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]); + auto static destructor = [](uint64_t p) { + auto pointer = reinterpret_cast(static_cast(p)); + RustCallStatus status = {0}; + uniffi_lwk_fn_free_signer(pointer, &status); + }; + auto ptrObj = + std::make_shared(pointer, destructor); + auto obj = jsi::Object::createFromHostObject(rt, ptrObj); + return jsi::Value(rt, obj); +} +jsi::Value NativeLwk::cpp_uniffi_internal_fn_method_testenv_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto pointer = + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]); + auto static destructor = [](uint64_t p) { + auto pointer = reinterpret_cast(static_cast(p)); + RustCallStatus status = {0}; + uniffi_lwk_fn_free_testenv(pointer, &status); + }; + auto ptrObj = + std::make_shared(pointer, destructor); + auto obj = jsi::Object::createFromHostObject(rt, ptrObj); + return jsi::Value(rt, obj); +} +jsi::Value +NativeLwk::cpp_uniffi_internal_fn_method_transaction_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto pointer = + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]); + auto static destructor = [](uint64_t p) { + auto pointer = reinterpret_cast(static_cast(p)); + RustCallStatus status = {0}; + uniffi_lwk_fn_free_transaction(pointer, &status); + }; + auto ptrObj = + std::make_shared(pointer, destructor); + auto obj = jsi::Object::createFromHostObject(rt, ptrObj); + return jsi::Value(rt, obj); +} +jsi::Value +NativeLwk::cpp_uniffi_internal_fn_method_txbuilder_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto pointer = + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]); + auto static destructor = [](uint64_t p) { + auto pointer = reinterpret_cast(static_cast(p)); + RustCallStatus status = {0}; + uniffi_lwk_fn_free_txbuilder(pointer, &status); + }; + auto ptrObj = + std::make_shared(pointer, destructor); + auto obj = jsi::Object::createFromHostObject(rt, ptrObj); + return jsi::Value(rt, obj); +} +jsi::Value NativeLwk::cpp_uniffi_internal_fn_method_txin_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto pointer = + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]); + auto static destructor = [](uint64_t p) { + auto pointer = reinterpret_cast(static_cast(p)); + RustCallStatus status = {0}; + uniffi_lwk_fn_free_txin(pointer, &status); + }; + auto ptrObj = + std::make_shared(pointer, destructor); + auto obj = jsi::Object::createFromHostObject(rt, ptrObj); + return jsi::Value(rt, obj); +} +jsi::Value NativeLwk::cpp_uniffi_internal_fn_method_txout_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto pointer = + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]); + auto static destructor = [](uint64_t p) { + auto pointer = reinterpret_cast(static_cast(p)); + RustCallStatus status = {0}; + uniffi_lwk_fn_free_txout(pointer, &status); + }; + auto ptrObj = + std::make_shared(pointer, destructor); + auto obj = jsi::Object::createFromHostObject(rt, ptrObj); + return jsi::Value(rt, obj); +} +jsi::Value +NativeLwk::cpp_uniffi_internal_fn_method_txoutsecrets_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto pointer = + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]); + auto static destructor = [](uint64_t p) { + auto pointer = reinterpret_cast(static_cast(p)); + RustCallStatus status = {0}; + uniffi_lwk_fn_free_txoutsecrets(pointer, &status); + }; + auto ptrObj = + std::make_shared(pointer, destructor); + auto obj = jsi::Object::createFromHostObject(rt, ptrObj); + return jsi::Value(rt, obj); +} +jsi::Value NativeLwk::cpp_uniffi_internal_fn_method_txid_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto pointer = + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]); + auto static destructor = [](uint64_t p) { + auto pointer = reinterpret_cast(static_cast(p)); + RustCallStatus status = {0}; + uniffi_lwk_fn_free_txid(pointer, &status); + }; + auto ptrObj = + std::make_shared(pointer, destructor); + auto obj = jsi::Object::createFromHostObject(rt, ptrObj); + return jsi::Value(rt, obj); +} +jsi::Value NativeLwk::cpp_uniffi_internal_fn_method_update_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto pointer = + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]); + auto static destructor = [](uint64_t p) { + auto pointer = reinterpret_cast(static_cast(p)); + RustCallStatus status = {0}; + uniffi_lwk_fn_free_update(pointer, &status); + }; + auto ptrObj = + std::make_shared(pointer, destructor); + auto obj = jsi::Object::createFromHostObject(rt, ptrObj); + return jsi::Value(rt, obj); +} +jsi::Value NativeLwk::cpp_uniffi_internal_fn_method_wallettx_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto pointer = + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]); + auto static destructor = [](uint64_t p) { + auto pointer = reinterpret_cast(static_cast(p)); + RustCallStatus status = {0}; + uniffi_lwk_fn_free_wallettx(pointer, &status); + }; + auto ptrObj = + std::make_shared(pointer, destructor); + auto obj = jsi::Object::createFromHostObject(rt, ptrObj); + return jsi::Value(rt, obj); +} +jsi::Value +NativeLwk::cpp_uniffi_internal_fn_method_wallettxout_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto pointer = + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]); + auto static destructor = [](uint64_t p) { + auto pointer = reinterpret_cast(static_cast(p)); + RustCallStatus status = {0}; + uniffi_lwk_fn_free_wallettxout(pointer, &status); + }; + auto ptrObj = + std::make_shared(pointer, destructor); + auto obj = jsi::Object::createFromHostObject(rt, ptrObj); + return jsi::Value(rt, obj); +} +jsi::Value NativeLwk::cpp_uniffi_internal_fn_method_wollet_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto pointer = + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]); + auto static destructor = [](uint64_t p) { + auto pointer = reinterpret_cast(static_cast(p)); + RustCallStatus status = {0}; + uniffi_lwk_fn_free_wollet(pointer, &status); + }; + auto ptrObj = + std::make_shared(pointer, destructor); + auto obj = jsi::Object::createFromHostObject(rt, ptrObj); + return jsi::Value(rt, obj); +} +jsi::Value +NativeLwk::cpp_uniffi_internal_fn_method_wolletdescriptor_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto pointer = + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]); + auto static destructor = [](uint64_t p) { + auto pointer = reinterpret_cast(static_cast(p)); + RustCallStatus status = {0}; + uniffi_lwk_fn_free_wolletdescriptor(pointer, &status); + }; + auto ptrObj = + std::make_shared(pointer, destructor); + auto obj = jsi::Object::createFromHostObject(rt, ptrObj); + return jsi::Value(rt, obj); +} + +// Methods calling directly into the uniffi generated C API of the Rust crate. +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_clone_address(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_clone_address( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_free_address(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + uniffi_lwk_fn_free_address( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return jsi::Value::undefined(); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_constructor_address_new( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_constructor_address_new( + uniffi::lwk::Bridging::fromJs(rt, callInvoker, args[0]), + &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_address_is_blinded( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_address_is_blinded( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_address_qr_code_text( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_address_qr_code_text( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_address_qr_code_uri( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_address_qr_code_uri( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), + uniffi::lwk::Bridging::fromJs(rt, callInvoker, args[1]), + &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_address_script_pubkey( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_address_script_pubkey( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_address_to_unconfidential( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_address_to_unconfidential( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_address_uniffi_trait_display( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_address_uniffi_trait_display( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_clone_addressresult( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_clone_addressresult( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_free_addressresult( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + uniffi_lwk_fn_free_addressresult( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return jsi::Value::undefined(); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_addressresult_address( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_addressresult_address( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_addressresult_index( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_addressresult_index( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_clone_amp2(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_clone_amp2( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_free_amp2(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + uniffi_lwk_fn_free_amp2( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return jsi::Value::undefined(); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_constructor_amp2_new_testnet( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_constructor_amp2_new_testnet(&status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_amp2_cosign( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_amp2_cosign( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[1]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_amp2_descriptor_from_str( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_amp2_descriptor_from_str( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), + uniffi::lwk::Bridging::fromJs(rt, callInvoker, args[1]), + &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_amp2_register( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_amp2_register( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[1]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_clone_amp2descriptor( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_clone_amp2descriptor( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_free_amp2descriptor( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + uniffi_lwk_fn_free_amp2descriptor( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return jsi::Value::undefined(); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_amp2descriptor_descriptor( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_amp2descriptor_descriptor( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value +NativeLwk::cpp_uniffi_lwk_fn_method_amp2descriptor_uniffi_trait_display( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_amp2descriptor_uniffi_trait_display( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_clone_bip(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_clone_bip( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_free_bip(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + uniffi_lwk_fn_free_bip( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return jsi::Value::undefined(); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_constructor_bip_new_bip49( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_constructor_bip_new_bip49(&status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_constructor_bip_new_bip84( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_constructor_bip_new_bip84(&status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_constructor_bip_new_bip87( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_constructor_bip_new_bip87(&status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_clone_contract( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_clone_contract( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_free_contract(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + uniffi_lwk_fn_free_contract( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return jsi::Value::undefined(); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_constructor_contract_new( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_constructor_contract_new( + uniffi::lwk::Bridging::fromJs(rt, callInvoker, args[0]), + uniffi::lwk::Bridging::fromJs(rt, callInvoker, args[1]), + uniffi::lwk::Bridging::fromJs(rt, callInvoker, args[2]), + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[3]), + uniffi::lwk::Bridging::fromJs(rt, callInvoker, args[4]), + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[5]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_contract_uniffi_trait_display( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_contract_uniffi_trait_display( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_clone_electrumclient( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_clone_electrumclient( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_free_electrumclient( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + uniffi_lwk_fn_free_electrumclient( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return jsi::Value::undefined(); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_constructor_electrumclient_new( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_constructor_electrumclient_new( + uniffi::lwk::Bridging::fromJs(rt, callInvoker, args[0]), + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[1]), + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[2]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_electrumclient_broadcast( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_electrumclient_broadcast( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[1]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_electrumclient_full_scan( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_electrumclient_full_scan( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[1]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value +NativeLwk::cpp_uniffi_lwk_fn_method_electrumclient_full_scan_to_index( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_electrumclient_full_scan_to_index( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[1]), + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[2]), + &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_electrumclient_ping( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + uniffi_lwk_fn_method_electrumclient_ping( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return jsi::Value::undefined(); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_clone_esploraclient( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_clone_esploraclient( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_free_esploraclient( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + uniffi_lwk_fn_free_esploraclient( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return jsi::Value::undefined(); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_constructor_esploraclient_new( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_constructor_esploraclient_new( + uniffi::lwk::Bridging::fromJs(rt, callInvoker, args[0]), + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[1]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value +NativeLwk::cpp_uniffi_lwk_fn_constructor_esploraclient_new_waterfalls( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_constructor_esploraclient_new_waterfalls( + uniffi::lwk::Bridging::fromJs(rt, callInvoker, args[0]), + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[1]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_esploraclient_broadcast( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_esploraclient_broadcast( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[1]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_esploraclient_full_scan( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_esploraclient_full_scan( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[1]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_esploraclient_full_scan_to_index( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_esploraclient_full_scan_to_index( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[1]), + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[2]), + &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_clone_foreignpersister( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_clone_foreignpersister( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_free_foreignpersister( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + uniffi_lwk_fn_free_foreignpersister( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return jsi::Value::undefined(); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_foreignpersister_get( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_foreignpersister_get( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[1]), + &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_foreignpersister_push( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + uniffi_lwk_fn_method_foreignpersister_push( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[1]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return jsi::Value::undefined(); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_clone_foreignpersisterlink( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_clone_foreignpersisterlink( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_free_foreignpersisterlink( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + uniffi_lwk_fn_free_foreignpersisterlink( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return jsi::Value::undefined(); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_constructor_foreignpersisterlink_new( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_constructor_foreignpersisterlink_new( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_clone_issuance( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_clone_issuance( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_free_issuance(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + uniffi_lwk_fn_free_issuance( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return jsi::Value::undefined(); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_issuance_asset( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_issuance_asset( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_issuance_is_issuance( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_issuance_is_issuance( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_issuance_is_reissuance( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_issuance_is_reissuance( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_issuance_prev_txid( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_issuance_prev_txid( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_issuance_prev_vout( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_issuance_prev_vout( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_issuance_token( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_issuance_token( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_clone_mnemonic( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_clone_mnemonic( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_free_mnemonic(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + uniffi_lwk_fn_free_mnemonic( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return jsi::Value::undefined(); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_constructor_mnemonic_from_entropy( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_constructor_mnemonic_from_entropy( + uniffi::lwk::Bridging::fromJs(rt, callInvoker, args[0]), + &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_constructor_mnemonic_from_random( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_constructor_mnemonic_from_random( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_constructor_mnemonic_new( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_constructor_mnemonic_new( + uniffi::lwk::Bridging::fromJs(rt, callInvoker, args[0]), + &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_mnemonic_uniffi_trait_display( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_mnemonic_uniffi_trait_display( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_clone_network(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_clone_network( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_free_network(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + uniffi_lwk_fn_free_network( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return jsi::Value::undefined(); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_constructor_network_mainnet( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_constructor_network_mainnet(&status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_constructor_network_regtest( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_constructor_network_regtest( + uniffi::lwk::Bridging::fromJs(rt, callInvoker, args[0]), + &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_constructor_network_regtest_default( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_constructor_network_regtest_default(&status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_constructor_network_testnet( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_constructor_network_testnet(&status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_network_default_electrum_client( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_network_default_electrum_client( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_network_default_esplora_client( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_network_default_esplora_client( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_network_is_mainnet( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_network_is_mainnet( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_network_policy_asset( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_network_policy_asset( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_network_tx_builder( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_network_tx_builder( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_network_uniffi_trait_display( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_network_uniffi_trait_display( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_clone_outpoint( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_clone_outpoint( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_free_outpoint(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + uniffi_lwk_fn_free_outpoint( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return jsi::Value::undefined(); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_constructor_outpoint_new( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_constructor_outpoint_new( + uniffi::lwk::Bridging::fromJs(rt, callInvoker, args[0]), + &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_outpoint_txid( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_outpoint_txid( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_outpoint_vout( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_outpoint_vout( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_outpoint_uniffi_trait_display( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_outpoint_uniffi_trait_display( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_clone_precision( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_clone_precision( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_free_precision( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + uniffi_lwk_fn_free_precision( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return jsi::Value::undefined(); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_constructor_precision_new( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_constructor_precision_new( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_precision_sats_to_string( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_precision_sats_to_string( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[1]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_precision_string_to_sats( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_precision_string_to_sats( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), + uniffi::lwk::Bridging::fromJs(rt, callInvoker, args[1]), + &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_clone_pset(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_clone_pset( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_free_pset(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + uniffi_lwk_fn_free_pset( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return jsi::Value::undefined(); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_constructor_pset_new( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_constructor_pset_new( + uniffi::lwk::Bridging::fromJs(rt, callInvoker, args[0]), + &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_pset_extract_tx( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_pset_extract_tx( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_pset_finalize( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_pset_finalize( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_pset_inputs( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_pset_inputs( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_pset_uniffi_trait_display( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_pset_uniffi_trait_display( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_clone_psetbalance( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_clone_psetbalance( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_free_psetbalance( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + uniffi_lwk_fn_free_psetbalance( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return jsi::Value::undefined(); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_psetbalance_balances( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_psetbalance_balances( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_psetbalance_fee( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_psetbalance_fee( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_psetbalance_recipients( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_psetbalance_recipients( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_clone_psetdetails( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_clone_psetdetails( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_free_psetdetails( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + uniffi_lwk_fn_free_psetdetails( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return jsi::Value::undefined(); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_psetdetails_balance( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_psetdetails_balance( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_psetdetails_inputs_issuances( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_psetdetails_inputs_issuances( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_psetdetails_signatures( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_psetdetails_signatures( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_clone_psetinput( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_clone_psetinput( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_free_psetinput( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + uniffi_lwk_fn_free_psetinput( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return jsi::Value::undefined(); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_psetinput_issuance_asset( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_psetinput_issuance_asset( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_psetinput_issuance_token( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_psetinput_issuance_token( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_psetinput_previous_script_pubkey( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_psetinput_previous_script_pubkey( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_psetinput_previous_txid( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_psetinput_previous_txid( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_psetinput_previous_vout( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_psetinput_previous_vout( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_psetinput_redeem_script( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_psetinput_redeem_script( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_clone_psetsignatures( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_clone_psetsignatures( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_free_psetsignatures( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + uniffi_lwk_fn_free_psetsignatures( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return jsi::Value::undefined(); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_psetsignatures_has_signature( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_psetsignatures_has_signature( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_psetsignatures_missing_signature( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_psetsignatures_missing_signature( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_clone_recipient( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_clone_recipient( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_free_recipient( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + uniffi_lwk_fn_free_recipient( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return jsi::Value::undefined(); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_recipient_address( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_recipient_address( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_recipient_asset( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_recipient_asset( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_recipient_value( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_recipient_value( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_recipient_vout( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_recipient_vout( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_clone_script(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_clone_script( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_free_script(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + uniffi_lwk_fn_free_script( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return jsi::Value::undefined(); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_constructor_script_new( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_constructor_script_new( + uniffi::lwk::Bridging::fromJs(rt, callInvoker, args[0]), + &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_script_asm( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_script_asm( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_script_bytes( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_script_bytes( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_script_uniffi_trait_display( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_script_uniffi_trait_display( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_clone_secretkey( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_clone_secretkey( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_free_secretkey( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + uniffi_lwk_fn_free_secretkey( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return jsi::Value::undefined(); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_constructor_secretkey_from_bytes( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_constructor_secretkey_from_bytes( + uniffi::lwk::Bridging::fromJs(rt, callInvoker, args[0]), + &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_secretkey_bytes( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_secretkey_bytes( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_clone_signer(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_clone_signer( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_free_signer(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + uniffi_lwk_fn_free_signer( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return jsi::Value::undefined(); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_constructor_signer_new( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_constructor_signer_new( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[1]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_constructor_signer_random( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_constructor_signer_random( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_signer_keyorigin_xpub( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_signer_keyorigin_xpub( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[1]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_signer_mnemonic( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_signer_mnemonic( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_signer_sign( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_signer_sign( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[1]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_signer_wpkh_slip77_descriptor( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_signer_wpkh_slip77_descriptor( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_clone_testenv(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_clone_testenv( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_free_testenv(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + uniffi_lwk_fn_free_testenv( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return jsi::Value::undefined(); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_constructor_testenv_new( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_constructor_testenv_new(&status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_testenv_electrum_url( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_testenv_electrum_url( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_testenv_generate( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + uniffi_lwk_fn_method_testenv_generate( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[1]), + &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return jsi::Value::undefined(); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_testenv_get_new_address( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_testenv_get_new_address( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_testenv_height( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_testenv_height( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_testenv_issue_asset( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_testenv_issue_asset( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[1]), + &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_testenv_send_to_address( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_testenv_send_to_address( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[1]), + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[2]), + uniffi::lwk::Bridging::fromJs(rt, callInvoker, args[3]), + &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_clone_transaction( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_clone_transaction( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_free_transaction( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + uniffi_lwk_fn_free_transaction( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return jsi::Value::undefined(); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_constructor_transaction_new( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_constructor_transaction_new( + uniffi::lwk::Bridging::fromJs(rt, callInvoker, args[0]), + &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_transaction_bytes( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_transaction_bytes( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_transaction_fee( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_transaction_fee( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), + uniffi::lwk::Bridging::fromJs(rt, callInvoker, args[1]), + &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_transaction_inputs( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_transaction_inputs( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_transaction_outputs( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_transaction_outputs( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_transaction_txid( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_transaction_txid( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_transaction_uniffi_trait_display( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_transaction_uniffi_trait_display( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_clone_txbuilder( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_clone_txbuilder( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_free_txbuilder( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + uniffi_lwk_fn_free_txbuilder( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return jsi::Value::undefined(); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_constructor_txbuilder_new( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_constructor_txbuilder_new( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_txbuilder_add_burn( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + uniffi_lwk_fn_method_txbuilder_add_burn( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[1]), + uniffi::lwk::Bridging::fromJs(rt, callInvoker, args[2]), + &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return jsi::Value::undefined(); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_txbuilder_add_lbtc_recipient( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + uniffi_lwk_fn_method_txbuilder_add_lbtc_recipient( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[1]), + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[2]), + &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return jsi::Value::undefined(); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_txbuilder_add_recipient( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + uniffi_lwk_fn_method_txbuilder_add_recipient( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[1]), + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[2]), + uniffi::lwk::Bridging::fromJs(rt, callInvoker, args[3]), + &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return jsi::Value::undefined(); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_txbuilder_drain_lbtc_to( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + uniffi_lwk_fn_method_txbuilder_drain_lbtc_to( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[1]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return jsi::Value::undefined(); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_txbuilder_drain_lbtc_wallet( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + uniffi_lwk_fn_method_txbuilder_drain_lbtc_wallet( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return jsi::Value::undefined(); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_txbuilder_fee_rate( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + uniffi_lwk_fn_method_txbuilder_fee_rate( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), + uniffi::lwk::Bridging::fromJs(rt, callInvoker, args[1]), + &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return jsi::Value::undefined(); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_txbuilder_finish( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_txbuilder_finish( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[1]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_txbuilder_issue_asset( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + uniffi_lwk_fn_method_txbuilder_issue_asset( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[1]), + uniffi::lwk::Bridging::fromJs(rt, callInvoker, args[2]), + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[3]), + uniffi::lwk::Bridging::fromJs(rt, callInvoker, args[4]), + uniffi::lwk::Bridging::fromJs(rt, callInvoker, args[5]), + &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return jsi::Value::undefined(); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_txbuilder_reissue_asset( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + uniffi_lwk_fn_method_txbuilder_reissue_asset( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), + uniffi::lwk::Bridging::fromJs(rt, callInvoker, args[1]), + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[2]), + uniffi::lwk::Bridging::fromJs(rt, callInvoker, args[3]), + uniffi::lwk::Bridging::fromJs(rt, callInvoker, args[4]), + &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return jsi::Value::undefined(); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_txbuilder_set_wallet_utxos( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + uniffi_lwk_fn_method_txbuilder_set_wallet_utxos( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), + uniffi::lwk::Bridging::fromJs(rt, callInvoker, args[1]), + &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return jsi::Value::undefined(); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_txbuilder_uniffi_trait_display( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_txbuilder_uniffi_trait_display( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_clone_txin(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_clone_txin( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_free_txin(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + uniffi_lwk_fn_free_txin( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return jsi::Value::undefined(); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_txin_outpoint( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_txin_outpoint( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_clone_txout(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_clone_txout( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_free_txout(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + uniffi_lwk_fn_free_txout( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return jsi::Value::undefined(); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_txout_asset( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_txout_asset( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_txout_is_fee( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_txout_is_fee( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_txout_is_partially_blinded( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_txout_is_partially_blinded( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_txout_script_pubkey( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_txout_script_pubkey( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_txout_unblind( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_txout_unblind( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[1]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_txout_value( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_txout_value( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_clone_txoutsecrets( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_clone_txoutsecrets( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_free_txoutsecrets( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + uniffi_lwk_fn_free_txoutsecrets( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return jsi::Value::undefined(); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_txoutsecrets_asset( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_txoutsecrets_asset( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_txoutsecrets_asset_bf( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_txoutsecrets_asset_bf( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_txoutsecrets_value( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_txoutsecrets_value( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_txoutsecrets_value_bf( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_txoutsecrets_value_bf( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_clone_txid(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_clone_txid( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_free_txid(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + uniffi_lwk_fn_free_txid( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return jsi::Value::undefined(); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_constructor_txid_new( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_constructor_txid_new( + uniffi::lwk::Bridging::fromJs(rt, callInvoker, args[0]), + &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_txid_bytes( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_txid_bytes( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_txid_uniffi_trait_display( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_txid_uniffi_trait_display( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_clone_update(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_clone_update( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_free_update(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + uniffi_lwk_fn_free_update( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return jsi::Value::undefined(); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_constructor_update_new( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_constructor_update_new( + uniffi::lwk::Bridging::fromJs(rt, callInvoker, args[0]), + &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_update_only_tip( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_update_only_tip( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_update_serialize( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_update_serialize( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_clone_wallettx( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_clone_wallettx( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_free_wallettx(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + uniffi_lwk_fn_free_wallettx( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return jsi::Value::undefined(); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_wallettx_balance( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_wallettx_balance( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_wallettx_fee( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_wallettx_fee( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_wallettx_height( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_wallettx_height( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_wallettx_inputs( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_wallettx_inputs( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_wallettx_outputs( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_wallettx_outputs( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_wallettx_timestamp( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_wallettx_timestamp( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_wallettx_tx( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_wallettx_tx( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_wallettx_txid( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_wallettx_txid( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_wallettx_type_( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_wallettx_type_( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_wallettx_unblinded_url( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_wallettx_unblinded_url( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), + uniffi::lwk::Bridging::fromJs(rt, callInvoker, args[1]), + &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_clone_wallettxout( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_clone_wallettxout( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_free_wallettxout( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + uniffi_lwk_fn_free_wallettxout( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return jsi::Value::undefined(); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_wallettxout_address( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_wallettxout_address( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_wallettxout_ext_int( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_wallettxout_ext_int( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_wallettxout_height( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_wallettxout_height( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_wallettxout_outpoint( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_wallettxout_outpoint( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_wallettxout_script_pubkey( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_wallettxout_script_pubkey( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_wallettxout_unblinded( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_wallettxout_unblinded( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_wallettxout_wildcard_index( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_wallettxout_wildcard_index( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_clone_wollet(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_clone_wollet( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_free_wollet(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + uniffi_lwk_fn_free_wollet( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return jsi::Value::undefined(); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_constructor_wollet_new( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_constructor_wollet_new( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[1]), + uniffi::lwk::Bridging::fromJs(rt, callInvoker, args[2]), + &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value +NativeLwk::cpp_uniffi_lwk_fn_constructor_wollet_with_custom_persister( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_constructor_wollet_with_custom_persister( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[1]), + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[2]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_wollet_address( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_wollet_address( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), + uniffi::lwk::Bridging::fromJs(rt, callInvoker, args[1]), + &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_wollet_apply_update( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + uniffi_lwk_fn_method_wollet_apply_update( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[1]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return jsi::Value::undefined(); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_wollet_balance( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_wollet_balance( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_wollet_descriptor( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_wollet_descriptor( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_wollet_finalize( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_wollet_finalize( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[1]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_wollet_pset_details( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_wollet_pset_details( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[1]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_wollet_transactions( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_wollet_transactions( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_wollet_txos( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_wollet_txos( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_wollet_utxos( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_wollet_utxos( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_wollet_wait_for_tx( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_wollet_wait_for_tx( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[1]), + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[2]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_clone_wolletdescriptor( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_clone_wolletdescriptor( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_free_wolletdescriptor( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + uniffi_lwk_fn_free_wolletdescriptor( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return jsi::Value::undefined(); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_constructor_wolletdescriptor_new( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_constructor_wolletdescriptor_new( + uniffi::lwk::Bridging::fromJs(rt, callInvoker, args[0]), + &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value +NativeLwk::cpp_uniffi_lwk_fn_method_wolletdescriptor_derive_blinding_key( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_wolletdescriptor_derive_blinding_key( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[1]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_wolletdescriptor_is_mainnet( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_wolletdescriptor_is_mainnet( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_method_wolletdescriptor_script_pubkey( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_wolletdescriptor_script_pubkey( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), + uniffi::lwk::Bridging::fromJs(rt, callInvoker, args[1]), + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[2]), + &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value +NativeLwk::cpp_uniffi_lwk_fn_method_wolletdescriptor_uniffi_trait_display( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_method_wolletdescriptor_uniffi_trait_display( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi::lwk::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_func_is_provably_segwit( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + RustCallStatus status = + uniffi::lwk::Bridging::rustSuccess(rt); + auto value = uniffi_lwk_fn_func_is_provably_segwit( + uniffi_jsi::Bridging::fromJs(rt, callInvoker, args[0]), + uniffi::lwk::Bridging::fromJs(rt, callInvoker, args[1]), + &status); + uniffi::lwk::Bridging::copyIntoJs(rt, callInvoker, status, + args[count - 1]); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_func_is_provably_segwit( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_func_is_provably_segwit(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_address_is_blinded( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_address_is_blinded(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_address_qr_code_text( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_address_qr_code_text(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_address_qr_code_uri( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_address_qr_code_uri(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_address_script_pubkey( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_address_script_pubkey(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_address_to_unconfidential( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_address_to_unconfidential(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_addressresult_address( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_addressresult_address(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_addressresult_index( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_addressresult_index(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_amp2_cosign( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_amp2_cosign(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_amp2_descriptor_from_str( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_amp2_descriptor_from_str(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_amp2_register( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_amp2_register(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_amp2descriptor_descriptor( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_amp2descriptor_descriptor(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_electrumclient_broadcast( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_electrumclient_broadcast(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_electrumclient_full_scan( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_electrumclient_full_scan(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value +NativeLwk::cpp_uniffi_lwk_checksum_method_electrumclient_full_scan_to_index( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_electrumclient_full_scan_to_index(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_electrumclient_ping( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_electrumclient_ping(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_esploraclient_broadcast( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_esploraclient_broadcast(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_esploraclient_full_scan( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_esploraclient_full_scan(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value +NativeLwk::cpp_uniffi_lwk_checksum_method_esploraclient_full_scan_to_index( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_esploraclient_full_scan_to_index(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_foreignpersister_get( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_foreignpersister_get(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_foreignpersister_push( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_foreignpersister_push(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_issuance_asset( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_issuance_asset(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_issuance_is_issuance( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_issuance_is_issuance(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_issuance_is_reissuance( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_issuance_is_reissuance(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_issuance_prev_txid( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_issuance_prev_txid(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_issuance_prev_vout( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_issuance_prev_vout(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_issuance_token( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_issuance_token(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value +NativeLwk::cpp_uniffi_lwk_checksum_method_network_default_electrum_client( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_network_default_electrum_client(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value +NativeLwk::cpp_uniffi_lwk_checksum_method_network_default_esplora_client( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_network_default_esplora_client(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_network_is_mainnet( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_network_is_mainnet(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_network_policy_asset( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_network_policy_asset(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_network_tx_builder( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_network_tx_builder(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_outpoint_txid( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_outpoint_txid(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_outpoint_vout( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_outpoint_vout(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_precision_sats_to_string( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_precision_sats_to_string(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_precision_string_to_sats( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_precision_string_to_sats(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_pset_extract_tx( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_pset_extract_tx(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_pset_finalize( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_pset_finalize(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_pset_inputs( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_pset_inputs(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_psetbalance_balances( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_psetbalance_balances(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_psetbalance_fee( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_psetbalance_fee(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_psetbalance_recipients( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_psetbalance_recipients(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_psetdetails_balance( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_psetdetails_balance(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value +NativeLwk::cpp_uniffi_lwk_checksum_method_psetdetails_inputs_issuances( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_psetdetails_inputs_issuances(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_psetdetails_signatures( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_psetdetails_signatures(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_psetinput_issuance_asset( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_psetinput_issuance_asset(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_psetinput_issuance_token( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_psetinput_issuance_token(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value +NativeLwk::cpp_uniffi_lwk_checksum_method_psetinput_previous_script_pubkey( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_psetinput_previous_script_pubkey(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_psetinput_previous_txid( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_psetinput_previous_txid(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_psetinput_previous_vout( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_psetinput_previous_vout(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_psetinput_redeem_script( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_psetinput_redeem_script(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value +NativeLwk::cpp_uniffi_lwk_checksum_method_psetsignatures_has_signature( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_psetsignatures_has_signature(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value +NativeLwk::cpp_uniffi_lwk_checksum_method_psetsignatures_missing_signature( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_psetsignatures_missing_signature(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_recipient_address( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_recipient_address(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_recipient_asset( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_recipient_asset(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_recipient_value( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_recipient_value(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_recipient_vout( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_recipient_vout(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_script_asm( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_script_asm(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_script_bytes( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_script_bytes(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_secretkey_bytes( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_secretkey_bytes(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_signer_keyorigin_xpub( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_signer_keyorigin_xpub(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_signer_mnemonic( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_signer_mnemonic(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_signer_sign( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_signer_sign(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value +NativeLwk::cpp_uniffi_lwk_checksum_method_signer_wpkh_slip77_descriptor( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_signer_wpkh_slip77_descriptor(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_testenv_electrum_url( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_testenv_electrum_url(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_testenv_generate( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_testenv_generate(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_testenv_get_new_address( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_testenv_get_new_address(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_testenv_height( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_testenv_height(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_testenv_issue_asset( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_testenv_issue_asset(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_testenv_send_to_address( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_testenv_send_to_address(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_transaction_bytes( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_transaction_bytes(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_transaction_fee( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_transaction_fee(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_transaction_inputs( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_transaction_inputs(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_transaction_outputs( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_transaction_outputs(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_transaction_txid( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_transaction_txid(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_txbuilder_add_burn( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_txbuilder_add_burn(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value +NativeLwk::cpp_uniffi_lwk_checksum_method_txbuilder_add_lbtc_recipient( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_txbuilder_add_lbtc_recipient(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_txbuilder_add_recipient( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_txbuilder_add_recipient(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_txbuilder_drain_lbtc_to( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_txbuilder_drain_lbtc_to(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value +NativeLwk::cpp_uniffi_lwk_checksum_method_txbuilder_drain_lbtc_wallet( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_txbuilder_drain_lbtc_wallet(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_txbuilder_fee_rate( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_txbuilder_fee_rate(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_txbuilder_finish( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_txbuilder_finish(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_txbuilder_issue_asset( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_txbuilder_issue_asset(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_txbuilder_reissue_asset( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_txbuilder_reissue_asset(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_txbuilder_set_wallet_utxos( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_txbuilder_set_wallet_utxos(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_txin_outpoint( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_txin_outpoint(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_txout_asset( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_txout_asset(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_txout_is_fee( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_txout_is_fee(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_txout_is_partially_blinded( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_txout_is_partially_blinded(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_txout_script_pubkey( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_txout_script_pubkey(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_txout_unblind( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_txout_unblind(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_txout_value( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_txout_value(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_txoutsecrets_asset( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_txoutsecrets_asset(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_txoutsecrets_asset_bf( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_txoutsecrets_asset_bf(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_txoutsecrets_value( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_txoutsecrets_value(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_txoutsecrets_value_bf( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_txoutsecrets_value_bf(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_txid_bytes( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_txid_bytes(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_update_only_tip( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_update_only_tip(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_update_serialize( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_update_serialize(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_wallettx_balance( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_wallettx_balance(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_wallettx_fee( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_wallettx_fee(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_wallettx_height( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_wallettx_height(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_wallettx_inputs( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_wallettx_inputs(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_wallettx_outputs( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_wallettx_outputs(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_wallettx_timestamp( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_wallettx_timestamp(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_wallettx_tx( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_wallettx_tx(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_wallettx_txid( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_wallettx_txid(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_wallettx_type_( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_wallettx_type_(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_wallettx_unblinded_url( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_wallettx_unblinded_url(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_wallettxout_address( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_wallettxout_address(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_wallettxout_ext_int( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_wallettxout_ext_int(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_wallettxout_height( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_wallettxout_height(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_wallettxout_outpoint( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_wallettxout_outpoint(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_wallettxout_script_pubkey( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_wallettxout_script_pubkey(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_wallettxout_unblinded( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_wallettxout_unblinded(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_wallettxout_wildcard_index( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_wallettxout_wildcard_index(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_wollet_address( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_wollet_address(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_wollet_apply_update( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_wollet_apply_update(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_wollet_balance( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_wollet_balance(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_wollet_descriptor( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_wollet_descriptor(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_wollet_finalize( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_wollet_finalize(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_wollet_pset_details( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_wollet_pset_details(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_wollet_transactions( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_wollet_transactions(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_wollet_txos( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_wollet_txos(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_wollet_utxos( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_wollet_utxos(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_method_wollet_wait_for_tx( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_wollet_wait_for_tx(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value +NativeLwk::cpp_uniffi_lwk_checksum_method_wolletdescriptor_derive_blinding_key( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = + uniffi_lwk_checksum_method_wolletdescriptor_derive_blinding_key(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value +NativeLwk::cpp_uniffi_lwk_checksum_method_wolletdescriptor_is_mainnet( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_wolletdescriptor_is_mainnet(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value +NativeLwk::cpp_uniffi_lwk_checksum_method_wolletdescriptor_script_pubkey( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_method_wolletdescriptor_script_pubkey(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_constructor_address_new( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_constructor_address_new(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_constructor_amp2_new_testnet( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_constructor_amp2_new_testnet(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_constructor_bip_new_bip49( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_constructor_bip_new_bip49(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_constructor_bip_new_bip84( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_constructor_bip_new_bip84(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_constructor_bip_new_bip87( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_constructor_bip_new_bip87(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_constructor_contract_new( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_constructor_contract_new(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_constructor_electrumclient_new( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_constructor_electrumclient_new(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_constructor_esploraclient_new( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_constructor_esploraclient_new(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value +NativeLwk::cpp_uniffi_lwk_checksum_constructor_esploraclient_new_waterfalls( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_constructor_esploraclient_new_waterfalls(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value +NativeLwk::cpp_uniffi_lwk_checksum_constructor_foreignpersisterlink_new( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_constructor_foreignpersisterlink_new(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_constructor_mnemonic_from_entropy( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_constructor_mnemonic_from_entropy(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_constructor_mnemonic_from_random( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_constructor_mnemonic_from_random(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_constructor_mnemonic_new( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_constructor_mnemonic_new(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_constructor_network_mainnet( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_constructor_network_mainnet(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_constructor_network_regtest( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_constructor_network_regtest(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value +NativeLwk::cpp_uniffi_lwk_checksum_constructor_network_regtest_default( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_constructor_network_regtest_default(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_constructor_network_testnet( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_constructor_network_testnet(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_constructor_outpoint_new( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_constructor_outpoint_new(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_constructor_precision_new( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_constructor_precision_new(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_constructor_pset_new( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_constructor_pset_new(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_constructor_script_new( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_constructor_script_new(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_constructor_secretkey_from_bytes( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_constructor_secretkey_from_bytes(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_constructor_signer_new( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_constructor_signer_new(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_constructor_signer_random( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_constructor_signer_random(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_constructor_testenv_new( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_constructor_testenv_new(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_constructor_transaction_new( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_constructor_transaction_new(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_constructor_txbuilder_new( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_constructor_txbuilder_new(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_constructor_txid_new( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_constructor_txid_new(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_constructor_update_new( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_constructor_update_new(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_constructor_wollet_new( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_constructor_wollet_new(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value +NativeLwk::cpp_uniffi_lwk_checksum_constructor_wollet_with_custom_persister( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_constructor_wollet_with_custom_persister(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_checksum_constructor_wolletdescriptor_new( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = uniffi_lwk_checksum_constructor_wolletdescriptor_new(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_ffi_lwk_uniffi_contract_version( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + auto value = ffi_lwk_uniffi_contract_version(); + + return uniffi_jsi::Bridging::toJs(rt, callInvoker, value); +} +jsi::Value NativeLwk::cpp_uniffi_lwk_fn_init_callback_vtable_foreignpersister( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count) { + static UniffiVTableCallbackInterfaceForeignPersister vtableInstance = + uniffi::lwk::Bridging< + UniffiVTableCallbackInterfaceForeignPersister>::fromJs(rt, + callInvoker, + args[0]); + uniffi_lwk_fn_init_callback_vtable_foreignpersister(&vtableInstance); + return jsi::Value::undefined(); +} \ No newline at end of file diff --git a/cpp/generated/lwk.hpp b/cpp/generated/lwk.hpp new file mode 100644 index 0000000..bca2de4 --- /dev/null +++ b/cpp/generated/lwk.hpp @@ -0,0 +1,1499 @@ +// This file was autogenerated by some hot garbage in the +// `uniffi-bindgen-react-native` crate. Trust me, you don't want to mess with +// it! +#pragma once +#include "UniffiCallInvoker.h" +#include +#include +#include +#include +#include + +namespace react = facebook::react; +namespace jsi = facebook::jsi; + +class NativeLwk : public jsi::HostObject { +private: + // For calling back into JS from Rust. + std::shared_ptr callInvoker; + +protected: + std::map props; + jsi::Value cpp_uniffi_internal_fn_func_ffi__string_to_byte_length( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_internal_fn_func_ffi__string_to_arraybuffer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_internal_fn_func_ffi__arraybuffer_to_string( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_clone_address(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_free_address(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_constructor_address_new( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_address_is_blinded( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_address_qr_code_text( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_address_qr_code_uri( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_address_script_pubkey( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_address_to_unconfidential( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_address_uniffi_trait_display( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_clone_addressresult(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_free_addressresult(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_addressresult_address( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_addressresult_index( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_clone_amp2(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, size_t count); + jsi::Value cpp_uniffi_lwk_fn_free_amp2(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, size_t count); + jsi::Value cpp_uniffi_lwk_fn_constructor_amp2_new_testnet( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_amp2_cosign(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_amp2_descriptor_from_str( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_amp2_register(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_clone_amp2descriptor(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_free_amp2descriptor(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_amp2descriptor_descriptor( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_amp2descriptor_uniffi_trait_display( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_clone_bip(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, size_t count); + jsi::Value cpp_uniffi_lwk_fn_free_bip(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, size_t count); + jsi::Value cpp_uniffi_lwk_fn_constructor_bip_new_bip49( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_constructor_bip_new_bip84( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_constructor_bip_new_bip87( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_clone_contract(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_free_contract(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_constructor_contract_new( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_contract_uniffi_trait_display( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_clone_electrumclient(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_free_electrumclient(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_constructor_electrumclient_new( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_electrumclient_broadcast( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_electrumclient_full_scan( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_electrumclient_full_scan_to_index( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_electrumclient_ping( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_clone_esploraclient(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_free_esploraclient(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_constructor_esploraclient_new( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_constructor_esploraclient_new_waterfalls( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_esploraclient_broadcast( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_esploraclient_full_scan( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_esploraclient_full_scan_to_index( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_clone_foreignpersister(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_free_foreignpersister(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_foreignpersister_get( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_foreignpersister_push( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_clone_foreignpersisterlink( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_free_foreignpersisterlink( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_constructor_foreignpersisterlink_new( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_clone_issuance(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_free_issuance(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_issuance_asset(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_issuance_is_issuance( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_issuance_is_reissuance( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_issuance_prev_txid( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_issuance_prev_vout( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_issuance_token(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_clone_mnemonic(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_free_mnemonic(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_constructor_mnemonic_from_entropy( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_constructor_mnemonic_from_random( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_constructor_mnemonic_new( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_mnemonic_uniffi_trait_display( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_clone_network(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_free_network(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_constructor_network_mainnet( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_constructor_network_regtest( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_constructor_network_regtest_default( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_constructor_network_testnet( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_network_default_electrum_client( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_network_default_esplora_client( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_network_is_mainnet( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_network_policy_asset( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_network_tx_builder( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_network_uniffi_trait_display( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_clone_outpoint(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_free_outpoint(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_constructor_outpoint_new( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_outpoint_txid(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_outpoint_vout(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_outpoint_uniffi_trait_display( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_clone_precision(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_free_precision(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_constructor_precision_new( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_precision_sats_to_string( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_precision_string_to_sats( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_clone_pset(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, size_t count); + jsi::Value cpp_uniffi_lwk_fn_free_pset(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, size_t count); + jsi::Value cpp_uniffi_lwk_fn_constructor_pset_new(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_pset_extract_tx(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_pset_finalize(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_pset_inputs(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_pset_uniffi_trait_display( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_clone_psetbalance(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_free_psetbalance(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_psetbalance_balances( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_psetbalance_fee(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_psetbalance_recipients( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_clone_psetdetails(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_free_psetdetails(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_psetdetails_balance( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_psetdetails_inputs_issuances( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_psetdetails_signatures( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_clone_psetinput(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_free_psetinput(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_psetinput_issuance_asset( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_psetinput_issuance_token( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_psetinput_previous_script_pubkey( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_psetinput_previous_txid( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_psetinput_previous_vout( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_psetinput_redeem_script( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_clone_psetsignatures(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_free_psetsignatures(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_psetsignatures_has_signature( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_psetsignatures_missing_signature( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_clone_recipient(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_free_recipient(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_recipient_address( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_recipient_asset(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_recipient_value(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_recipient_vout(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_clone_script(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_free_script(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_constructor_script_new(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_script_asm(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_script_bytes(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_script_uniffi_trait_display( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_clone_secretkey(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_free_secretkey(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_constructor_secretkey_from_bytes( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_secretkey_bytes(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_clone_signer(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_free_signer(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_constructor_signer_new(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_constructor_signer_random( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_signer_keyorigin_xpub( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_signer_mnemonic(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_signer_sign(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_signer_wpkh_slip77_descriptor( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_clone_testenv(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_free_testenv(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_constructor_testenv_new( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_testenv_electrum_url( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_testenv_generate( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_testenv_get_new_address( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_testenv_height(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_testenv_issue_asset( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_testenv_send_to_address( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_clone_transaction(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_free_transaction(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_constructor_transaction_new( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_transaction_bytes( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_transaction_fee(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_transaction_inputs( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_transaction_outputs( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_transaction_txid( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_transaction_uniffi_trait_display( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_clone_txbuilder(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_free_txbuilder(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_constructor_txbuilder_new( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_txbuilder_add_burn( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_txbuilder_add_lbtc_recipient( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_txbuilder_add_recipient( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_txbuilder_drain_lbtc_to( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_txbuilder_drain_lbtc_wallet( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_txbuilder_fee_rate( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_txbuilder_finish( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_txbuilder_issue_asset( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_txbuilder_reissue_asset( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_txbuilder_set_wallet_utxos( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_txbuilder_uniffi_trait_display( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_clone_txin(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, size_t count); + jsi::Value cpp_uniffi_lwk_fn_free_txin(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_txin_outpoint(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_clone_txout(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_free_txout(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_txout_asset(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_txout_is_fee(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_txout_is_partially_blinded( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_txout_script_pubkey( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_txout_unblind(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_txout_value(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_clone_txoutsecrets(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_free_txoutsecrets(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_txoutsecrets_asset( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_txoutsecrets_asset_bf( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_txoutsecrets_value( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_txoutsecrets_value_bf( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_clone_txid(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, size_t count); + jsi::Value cpp_uniffi_lwk_fn_free_txid(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, size_t count); + jsi::Value cpp_uniffi_lwk_fn_constructor_txid_new(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_txid_bytes(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_txid_uniffi_trait_display( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_clone_update(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_free_update(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_constructor_update_new(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_update_only_tip(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_update_serialize( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_clone_wallettx(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_free_wallettx(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_wallettx_balance( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_wallettx_fee(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_wallettx_height(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_wallettx_inputs(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_wallettx_outputs( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_wallettx_timestamp( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_wallettx_tx(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_wallettx_txid(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_wallettx_type_(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_wallettx_unblinded_url( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_clone_wallettxout(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_free_wallettxout(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_wallettxout_address( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_wallettxout_ext_int( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_wallettxout_height( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_wallettxout_outpoint( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_wallettxout_script_pubkey( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_wallettxout_unblinded( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_wallettxout_wildcard_index( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_clone_wollet(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_free_wollet(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_constructor_wollet_new(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_constructor_wollet_with_custom_persister( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_wollet_address(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_wollet_apply_update( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_wollet_balance(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_wollet_descriptor( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_wollet_finalize(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_wollet_pset_details( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_wollet_transactions( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_wollet_txos(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_wollet_utxos(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_wollet_wait_for_tx( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_clone_wolletdescriptor(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_free_wolletdescriptor(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_constructor_wolletdescriptor_new( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_wolletdescriptor_derive_blinding_key( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_wolletdescriptor_is_mainnet( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_wolletdescriptor_script_pubkey( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_method_wolletdescriptor_uniffi_trait_display( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_func_is_provably_segwit( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_func_is_provably_segwit( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_address_is_blinded( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_address_qr_code_text( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_address_qr_code_uri( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_address_script_pubkey( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_address_to_unconfidential( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_addressresult_address( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_addressresult_index( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_amp2_cosign( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_amp2_descriptor_from_str( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_amp2_register( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_amp2descriptor_descriptor( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_electrumclient_broadcast( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_electrumclient_full_scan( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_electrumclient_full_scan_to_index( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_electrumclient_ping( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_esploraclient_broadcast( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_esploraclient_full_scan( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_esploraclient_full_scan_to_index( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_foreignpersister_get( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_foreignpersister_push( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_issuance_asset( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_issuance_is_issuance( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_issuance_is_reissuance( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_issuance_prev_txid( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_issuance_prev_vout( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_issuance_token( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_network_default_electrum_client( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_network_default_esplora_client( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_network_is_mainnet( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_network_policy_asset( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_network_tx_builder( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_outpoint_txid( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_outpoint_vout( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_precision_sats_to_string( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_precision_string_to_sats( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_pset_extract_tx( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_pset_finalize( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_pset_inputs( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_psetbalance_balances( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_psetbalance_fee( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_psetbalance_recipients( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_psetdetails_balance( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_psetdetails_inputs_issuances( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_psetdetails_signatures( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_psetinput_issuance_asset( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_psetinput_issuance_token( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_psetinput_previous_script_pubkey( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_psetinput_previous_txid( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_psetinput_previous_vout( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_psetinput_redeem_script( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_psetsignatures_has_signature( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_psetsignatures_missing_signature( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_recipient_address( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_recipient_asset( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_recipient_value( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_recipient_vout( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_script_asm( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_script_bytes( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_secretkey_bytes( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_signer_keyorigin_xpub( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_signer_mnemonic( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_signer_sign( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_signer_wpkh_slip77_descriptor( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_testenv_electrum_url( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_testenv_generate( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_testenv_get_new_address( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_testenv_height( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_testenv_issue_asset( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_testenv_send_to_address( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_transaction_bytes( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_transaction_fee( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_transaction_inputs( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_transaction_outputs( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_transaction_txid( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_txbuilder_add_burn( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_txbuilder_add_lbtc_recipient( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_txbuilder_add_recipient( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_txbuilder_drain_lbtc_to( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_txbuilder_drain_lbtc_wallet( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_txbuilder_fee_rate( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_txbuilder_finish( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_txbuilder_issue_asset( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_txbuilder_reissue_asset( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_txbuilder_set_wallet_utxos( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_txin_outpoint( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_txout_asset( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_txout_is_fee( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_txout_is_partially_blinded( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_txout_script_pubkey( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_txout_unblind( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_txout_value( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_txoutsecrets_asset( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_txoutsecrets_asset_bf( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_txoutsecrets_value( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_txoutsecrets_value_bf( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_txid_bytes( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_update_only_tip( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_update_serialize( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_wallettx_balance( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_wallettx_fee( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_wallettx_height( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_wallettx_inputs( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_wallettx_outputs( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_wallettx_timestamp( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_wallettx_tx( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_wallettx_txid( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_wallettx_type_( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_wallettx_unblinded_url( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_wallettxout_address( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_wallettxout_ext_int( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_wallettxout_height( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_wallettxout_outpoint( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_wallettxout_script_pubkey( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_wallettxout_unblinded( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_wallettxout_wildcard_index( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_wollet_address( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_wollet_apply_update( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_wollet_balance( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_wollet_descriptor( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_wollet_finalize( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_wollet_pset_details( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_wollet_transactions( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_wollet_txos( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_wollet_utxos( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_wollet_wait_for_tx( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value + cpp_uniffi_lwk_checksum_method_wolletdescriptor_derive_blinding_key( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_wolletdescriptor_is_mainnet( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_method_wolletdescriptor_script_pubkey( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_constructor_address_new( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_constructor_amp2_new_testnet( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_constructor_bip_new_bip49( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_constructor_bip_new_bip84( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_constructor_bip_new_bip87( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_constructor_contract_new( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_constructor_electrumclient_new( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_constructor_esploraclient_new( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_constructor_esploraclient_new_waterfalls( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_constructor_foreignpersisterlink_new( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_constructor_mnemonic_from_entropy( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_constructor_mnemonic_from_random( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_constructor_mnemonic_new( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_constructor_network_mainnet( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_constructor_network_regtest( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_constructor_network_regtest_default( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_constructor_network_testnet( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_constructor_outpoint_new( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_constructor_precision_new( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_constructor_pset_new( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_constructor_script_new( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_constructor_secretkey_from_bytes( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_constructor_signer_new( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_constructor_signer_random( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_constructor_testenv_new( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_constructor_transaction_new( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_constructor_txbuilder_new( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_constructor_txid_new( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_constructor_update_new( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_constructor_wollet_new( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_constructor_wollet_with_custom_persister( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_checksum_constructor_wolletdescriptor_new( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_ffi_lwk_uniffi_contract_version(jsi::Runtime &rt, + const jsi::Value &thisVal, + const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_lwk_fn_init_callback_vtable_foreignpersister( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_internal_fn_method_address_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_internal_fn_method_addressresult_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_internal_fn_method_amp2_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_internal_fn_method_amp2descriptor_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_internal_fn_method_bip_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_internal_fn_method_contract_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_internal_fn_method_electrumclient_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_internal_fn_method_esploraclient_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_internal_fn_method_foreignpersister_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value + cpp_uniffi_internal_fn_method_foreignpersisterlink_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_internal_fn_method_issuance_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_internal_fn_method_mnemonic_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_internal_fn_method_network_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_internal_fn_method_outpoint_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_internal_fn_method_precision_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_internal_fn_method_pset_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_internal_fn_method_psetbalance_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_internal_fn_method_psetdetails_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_internal_fn_method_psetinput_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_internal_fn_method_psetsignatures_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_internal_fn_method_recipient_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_internal_fn_method_script_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_internal_fn_method_secretkey_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_internal_fn_method_signer_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_internal_fn_method_testenv_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_internal_fn_method_transaction_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_internal_fn_method_txbuilder_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_internal_fn_method_txin_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_internal_fn_method_txout_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_internal_fn_method_txoutsecrets_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_internal_fn_method_txid_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_internal_fn_method_update_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_internal_fn_method_wallettx_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_internal_fn_method_wallettxout_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_internal_fn_method_wollet_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + jsi::Value cpp_uniffi_internal_fn_method_wolletdescriptor_ffi__bless_pointer( + jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, + size_t count); + +public: + NativeLwk(jsi::Runtime &rt, + std::shared_ptr callInvoker); + virtual ~NativeLwk(); + + /** + * The entry point into the crate. + * + * React Native must call `NativeLwk.registerModule(rt, callInvoker)` before + * using the Javascript interface. + */ + static void registerModule(jsi::Runtime &rt, + std::shared_ptr callInvoker); + + /** + * Some cleanup into the crate goes here. + * + * Current implementation is empty, however, this is not guaranteed to always + * be the case. + * + * Clients should call `NativeLwk.unregisterModule(rt)` after final use where + * possible. + */ + static void unregisterModule(jsi::Runtime &rt); + + virtual jsi::Value get(jsi::Runtime &rt, const jsi::PropNameID &name); + virtual void set(jsi::Runtime &rt, const jsi::PropNameID &name, + const jsi::Value &value); + virtual std::vector getPropertyNames(jsi::Runtime &rt); +}; \ No newline at end of file diff --git a/cpp/lwk-rn.cpp b/cpp/lwk-rn.cpp new file mode 100644 index 0000000..2460e97 --- /dev/null +++ b/cpp/lwk-rn.cpp @@ -0,0 +1,16 @@ +// Generated by uniffi-bindgen-react-native +#include "lwk-rn.h" +#include "generated/lwk.hpp" + +namespace lwkrn { + using namespace facebook; + + uint8_t installRustCrate(jsi::Runtime &runtime, std::shared_ptr callInvoker) { + NativeLwk::registerModule(runtime, callInvoker); + return true; + } + + uint8_t cleanupRustCrate(jsi::Runtime &runtime) { + return false; + } +} \ No newline at end of file diff --git a/cpp/lwk-rn.h b/cpp/lwk-rn.h new file mode 100644 index 0000000..aae9b03 --- /dev/null +++ b/cpp/lwk-rn.h @@ -0,0 +1,15 @@ +#ifndef LWKRN_H +#define LWKRN_H +// Generated by uniffi-bindgen-react-native +#include +#include +#include + +namespace lwkrn { + using namespace facebook; + + uint8_t installRustCrate(jsi::Runtime &runtime, std::shared_ptr callInvoker); + uint8_t cleanupRustCrate(jsi::Runtime &runtime); +} + +#endif /* LWKRN_H */ \ No newline at end of file diff --git a/example/.bundle/config b/example/.bundle/config new file mode 100644 index 0000000..848943b --- /dev/null +++ b/example/.bundle/config @@ -0,0 +1,2 @@ +BUNDLE_PATH: "vendor/bundle" +BUNDLE_FORCE_RUBY_PLATFORM: 1 diff --git a/example/Gemfile b/example/Gemfile new file mode 100644 index 0000000..03278dd --- /dev/null +++ b/example/Gemfile @@ -0,0 +1,10 @@ +source 'https://rubygems.org' + +# You may use http://rbenv.org/ or https://rvm.io/ to install and use this version +ruby ">= 2.6.10" + +# Exclude problematic versions of cocoapods and activesupport that causes build failures. +gem 'cocoapods', '>= 1.13', '!= 1.15.0', '!= 1.15.1' +gem 'activesupport', '>= 6.1.7.5', '!= 7.1.0' +gem 'xcodeproj', '< 1.26.0' +gem 'concurrent-ruby', '< 1.3.4' diff --git a/example/Gemfile.lock b/example/Gemfile.lock new file mode 100644 index 0000000..d49dce6 --- /dev/null +++ b/example/Gemfile.lock @@ -0,0 +1,120 @@ +GEM + remote: https://rubygems.org/ + specs: + CFPropertyList (3.0.7) + base64 + nkf + rexml + activesupport (7.2.2.1) + base64 + benchmark (>= 0.3) + bigdecimal + concurrent-ruby (~> 1.0, >= 1.3.1) + connection_pool (>= 2.2.5) + drb + i18n (>= 1.6, < 2) + logger (>= 1.4.2) + minitest (>= 5.1) + securerandom (>= 0.3) + tzinfo (~> 2.0, >= 2.0.5) + addressable (2.8.7) + public_suffix (>= 2.0.2, < 7.0) + algoliasearch (1.27.5) + httpclient (~> 2.8, >= 2.8.3) + json (>= 1.5.1) + atomos (0.1.3) + base64 (0.2.0) + benchmark (0.4.0) + bigdecimal (3.1.9) + claide (1.1.0) + cocoapods (1.15.2) + addressable (~> 2.8) + claide (>= 1.0.2, < 2.0) + cocoapods-core (= 1.15.2) + cocoapods-deintegrate (>= 1.0.3, < 2.0) + cocoapods-downloader (>= 2.1, < 3.0) + cocoapods-plugins (>= 1.0.0, < 2.0) + cocoapods-search (>= 1.0.0, < 2.0) + cocoapods-trunk (>= 1.6.0, < 2.0) + cocoapods-try (>= 1.1.0, < 2.0) + colored2 (~> 3.1) + escape (~> 0.0.4) + fourflusher (>= 2.3.0, < 3.0) + gh_inspector (~> 1.0) + molinillo (~> 0.8.0) + nap (~> 1.0) + ruby-macho (>= 2.3.0, < 3.0) + xcodeproj (>= 1.23.0, < 2.0) + cocoapods-core (1.15.2) + activesupport (>= 5.0, < 8) + addressable (~> 2.8) + algoliasearch (~> 1.0) + concurrent-ruby (~> 1.1) + fuzzy_match (~> 2.0.4) + nap (~> 1.0) + netrc (~> 0.11) + public_suffix (~> 4.0) + typhoeus (~> 1.0) + cocoapods-deintegrate (1.0.5) + cocoapods-downloader (2.1) + cocoapods-plugins (1.0.0) + nap + cocoapods-search (1.0.1) + cocoapods-trunk (1.6.0) + nap (>= 0.8, < 2.0) + netrc (~> 0.11) + cocoapods-try (1.2.0) + colored2 (3.1.2) + concurrent-ruby (1.3.3) + connection_pool (2.5.0) + drb (2.2.1) + escape (0.0.4) + ethon (0.16.0) + ffi (>= 1.15.0) + ffi (1.17.1) + fourflusher (2.3.1) + fuzzy_match (2.0.4) + gh_inspector (1.1.3) + httpclient (2.9.0) + mutex_m + i18n (1.14.7) + concurrent-ruby (~> 1.0) + json (2.10.1) + logger (1.6.6) + minitest (5.25.4) + molinillo (0.8.0) + mutex_m (0.3.0) + nanaimo (0.3.0) + nap (1.1.0) + netrc (0.11.0) + nkf (0.2.0) + public_suffix (4.0.7) + rexml (3.4.1) + ruby-macho (2.5.1) + securerandom (0.4.1) + typhoeus (1.4.1) + ethon (>= 0.9.0) + tzinfo (2.0.6) + concurrent-ruby (~> 1.0) + xcodeproj (1.25.1) + CFPropertyList (>= 2.3.3, < 4.0) + atomos (~> 0.1.3) + claide (>= 1.0.2, < 2.0) + colored2 (~> 3.1) + nanaimo (~> 0.3.0) + rexml (>= 3.3.6, < 4.0) + +PLATFORMS + ruby + +DEPENDENCIES + activesupport (>= 6.1.7.5, != 7.1.0) + cocoapods (>= 1.13, != 1.15.1, != 1.15.0) + concurrent-ruby (< 1.3.4) + xcodeproj (< 1.26.0) + +RUBY VERSION + ruby 3.4.2p28 + +BUNDLED WITH + 2.6.3 diff --git a/example/README.md b/example/README.md new file mode 100644 index 0000000..3e2c3f8 --- /dev/null +++ b/example/README.md @@ -0,0 +1,97 @@ +This is a new [**React Native**](https://reactnative.dev) project, bootstrapped using [`@react-native-community/cli`](https://github.com/react-native-community/cli). + +# Getting Started + +> **Note**: Make sure you have completed the [Set Up Your Environment](https://reactnative.dev/docs/set-up-your-environment) guide before proceeding. + +## Step 1: Start Metro + +First, you will need to run **Metro**, the JavaScript build tool for React Native. + +To start the Metro dev server, run the following command from the root of your React Native project: + +```sh +# Using npm +npm start + +# OR using Yarn +yarn start +``` + +## Step 2: Build and run your app + +With Metro running, open a new terminal window/pane from the root of your React Native project, and use one of the following commands to build and run your Android or iOS app: + +### Android + +```sh +# Using npm +npm run android + +# OR using Yarn +yarn android +``` + +### iOS + +For iOS, remember to install CocoaPods dependencies (this only needs to be run on first clone or after updating native deps). + +The first time you create a new project, run the Ruby bundler to install CocoaPods itself: + +```sh +bundle install +``` + +Then, and every time you update your native dependencies, run: + +```sh +bundle exec pod install +``` + +For more information, please visit [CocoaPods Getting Started guide](https://guides.cocoapods.org/using/getting-started.html). + +```sh +# Using npm +npm run ios + +# OR using Yarn +yarn ios +``` + +If everything is set up correctly, you should see your new app running in the Android Emulator, iOS Simulator, or your connected device. + +This is one way to run your app — you can also build it directly from Android Studio or Xcode. + +## Step 3: Modify your app + +Now that you have successfully run the app, let's make changes! + +Open `App.tsx` in your text editor of choice and make some changes. When you save, your app will automatically update and reflect these changes — this is powered by [Fast Refresh](https://reactnative.dev/docs/fast-refresh). + +When you want to forcefully reload, for example to reset the state of your app, you can perform a full reload: + +- **Android**: Press the R key twice or select **"Reload"** from the **Dev Menu**, accessed via Ctrl + M (Windows/Linux) or Cmd ⌘ + M (macOS). +- **iOS**: Press R in iOS Simulator. + +## Congratulations! :tada: + +You've successfully run and modified your React Native App. :partying_face: + +### Now what? + +- If you want to add this new React Native code to an existing application, check out the [Integration guide](https://reactnative.dev/docs/integration-with-existing-apps). +- If you're curious to learn more about React Native, check out the [docs](https://reactnative.dev/docs/getting-started). + +# Troubleshooting + +If you're having issues getting the above steps to work, see the [Troubleshooting](https://reactnative.dev/docs/troubleshooting) page. + +# Learn More + +To learn more about React Native, take a look at the following resources: + +- [React Native Website](https://reactnative.dev) - learn more about React Native. +- [Getting Started](https://reactnative.dev/docs/environment-setup) - an **overview** of React Native and how setup your environment. +- [Learn the Basics](https://reactnative.dev/docs/getting-started) - a **guided tour** of the React Native **basics**. +- [Blog](https://reactnative.dev/blog) - read the latest official React Native **Blog** posts. +- [`@facebook/react-native`](https://github.com/facebook/react-native) - the Open Source; GitHub **repository** for React Native. diff --git a/example/android/app/build.gradle b/example/android/app/build.gradle new file mode 100644 index 0000000..168b291 --- /dev/null +++ b/example/android/app/build.gradle @@ -0,0 +1,138 @@ +apply plugin: "com.android.application" +apply plugin: "org.jetbrains.kotlin.android" +apply plugin: "com.facebook.react" + +/** + * This is the configuration block to customize your React Native Android app. + * By default you don't need to apply any configuration, just uncomment the lines you need. + */ +react { + /* Folders */ + // The root of your project, i.e. where "package.json" lives. Default is '../..' + // root = file("../../") + // The folder where the react-native NPM package is. Default is ../../node_modules/react-native + // reactNativeDir = file("../../node_modules/react-native") + // The folder where the react-native Codegen package is. Default is ../../node_modules/@react-native/codegen + // codegenDir = file("../../node_modules/@react-native/codegen") + // The cli.js file which is the React Native CLI entrypoint. Default is ../../node_modules/react-native/cli.js + // cliFile = file("../../node_modules/react-native/cli.js") + + /* Variants */ + // The list of variants to that are debuggable. For those we're going to + // skip the bundling of the JS bundle and the assets. By default is just 'debug'. + // If you add flavors like lite, prod, etc. you'll have to list your debuggableVariants. + // debuggableVariants = ["liteDebug", "prodDebug"] + + /* Bundling */ + // A list containing the node command and its flags. Default is just 'node'. + // nodeExecutableAndArgs = ["node"] + // + // The command to run when bundling. By default is 'bundle' + // bundleCommand = "ram-bundle" + // + // The path to the CLI configuration file. Default is empty. + // bundleConfig = file(../rn-cli.config.js) + // + // The name of the generated asset file containing your JS bundle + // bundleAssetName = "MyApplication.android.bundle" + // + // The entry file for bundle generation. Default is 'index.android.js' or 'index.js' + // entryFile = file("../js/MyApplication.android.js") + // + // A list of extra flags to pass to the 'bundle' commands. + // See https://github.com/react-native-community/cli/blob/main/docs/commands.md#bundle + // extraPackagerArgs = [] + + /* Hermes Commands */ + // The hermes compiler command to run. By default it is 'hermesc' + // hermesCommand = "$rootDir/my-custom-hermesc/bin/hermesc" + // + // The list of flags to pass to the Hermes compiler. By default is "-O", "-output-source-map" + // hermesFlags = ["-O", "-output-source-map"] + + /* Autolinking */ + autolinkLibrariesWithApp() +} + +/** + * Set this to true to Run Proguard on Release builds to minify the Java bytecode. + */ +def enableProguardInReleaseBuilds = false + +/** + * The preferred build flavor of JavaScriptCore (JSC) + * + * For example, to use the international variant, you can use: + * `def jscFlavor = io.github.react-native-community:jsc-android-intl:2026004.+` + * + * The international variant includes ICU i18n library and necessary data + * allowing to use e.g. `Date.toLocaleString` and `String.localeCompare` that + * give correct results when using with locales other than en-US. Note that + * this variant is about 6MiB larger per architecture than default. + */ +def jscFlavor = 'io.github.react-native-community:jsc-android:2026004.+' + +android { + ndkVersion rootProject.ext.ndkVersion + buildToolsVersion rootProject.ext.buildToolsVersion + compileSdk rootProject.ext.compileSdkVersion + + namespace "lwkrn.example" + defaultConfig { + applicationId "lwkrn.example" + minSdkVersion rootProject.ext.minSdkVersion + targetSdkVersion rootProject.ext.targetSdkVersion + versionCode 1 + versionName "1.0" + } + signingConfigs { + debug { + storeFile file('debug.keystore') + storePassword 'android' + keyAlias 'androiddebugkey' + keyPassword 'android' + } + } + buildTypes { + debug { + signingConfig signingConfigs.debug + } + release { + // Caution! In production, you need to generate your own keystore file. + // see https://reactnative.dev/docs/signed-apk-android. + signingConfig signingConfigs.debug + minifyEnabled enableProguardInReleaseBuilds + proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" + } + } +} + +dependencies { + // The version of react-native is set by the React Native Gradle Plugin + implementation("com.facebook.react:react-android") + + if (hermesEnabled.toBoolean()) { + implementation("com.facebook.react:hermes-android") + } else { + implementation jscFlavor + } +} + +def isNewArchitectureEnabled() { + return rootProject.hasProperty("newArchEnabled") && rootProject.getProperty("newArchEnabled") == "true" +} + +if (isNewArchitectureEnabled()) { + // Since our library doesn't invoke codegen automatically we need to do it here. + tasks.register('invokeLibraryCodegen', Exec) { + workingDir "$rootDir/../../" + def isWindows = System.getProperty('os.name').toLowerCase().contains('windows') + + if (isWindows) { + commandLine 'cmd', '/c', 'npx bob build --target codegen' + } else { + commandLine 'sh', '-c', 'npx bob build --target codegen' + } + } + preBuild.dependsOn invokeLibraryCodegen +} \ No newline at end of file diff --git a/example/android/app/debug.keystore b/example/android/app/debug.keystore new file mode 100644 index 0000000..364e105 Binary files /dev/null and b/example/android/app/debug.keystore differ diff --git a/example/android/app/proguard-rules.pro b/example/android/app/proguard-rules.pro new file mode 100644 index 0000000..11b0257 --- /dev/null +++ b/example/android/app/proguard-rules.pro @@ -0,0 +1,10 @@ +# Add project specific ProGuard rules here. +# By default, the flags in this file are appended to flags specified +# in /usr/local/Cellar/android-sdk/24.3.3/tools/proguard/proguard-android.txt +# You can edit the include path and order by changing the proguardFiles +# directive in build.gradle. +# +# For more details, see +# http://developer.android.com/guide/developing/tools/proguard.html + +# Add any project specific keep options here: diff --git a/example/android/app/src/debug/AndroidManifest.xml b/example/android/app/src/debug/AndroidManifest.xml new file mode 100644 index 0000000..eb98c01 --- /dev/null +++ b/example/android/app/src/debug/AndroidManifest.xml @@ -0,0 +1,9 @@ + + + + + diff --git a/example/android/app/src/main/AndroidManifest.xml b/example/android/app/src/main/AndroidManifest.xml new file mode 100644 index 0000000..e189252 --- /dev/null +++ b/example/android/app/src/main/AndroidManifest.xml @@ -0,0 +1,26 @@ + + + + + + + + + + + + + diff --git a/example/android/app/src/main/java/lwkrn/example/MainActivity.kt b/example/android/app/src/main/java/lwkrn/example/MainActivity.kt new file mode 100644 index 0000000..0ccda29 --- /dev/null +++ b/example/android/app/src/main/java/lwkrn/example/MainActivity.kt @@ -0,0 +1,22 @@ +package lwkrn.example + +import com.facebook.react.ReactActivity +import com.facebook.react.ReactActivityDelegate +import com.facebook.react.defaults.DefaultNewArchitectureEntryPoint.fabricEnabled +import com.facebook.react.defaults.DefaultReactActivityDelegate + +class MainActivity : ReactActivity() { + + /** + * Returns the name of the main component registered from JavaScript. This is used to schedule + * rendering of the component. + */ + override fun getMainComponentName(): String = "LwkRnExample" + + /** + * Returns the instance of the [ReactActivityDelegate]. We use [DefaultReactActivityDelegate] + * which allows you to enable New Architecture with a single boolean flags [fabricEnabled] + */ + override fun createReactActivityDelegate(): ReactActivityDelegate = + DefaultReactActivityDelegate(this, mainComponentName, fabricEnabled) +} diff --git a/example/android/app/src/main/java/lwkrn/example/MainApplication.kt b/example/android/app/src/main/java/lwkrn/example/MainApplication.kt new file mode 100644 index 0000000..679d888 --- /dev/null +++ b/example/android/app/src/main/java/lwkrn/example/MainApplication.kt @@ -0,0 +1,44 @@ +package lwkrn.example + +import android.app.Application +import com.facebook.react.PackageList +import com.facebook.react.ReactApplication +import com.facebook.react.ReactHost +import com.facebook.react.ReactNativeHost +import com.facebook.react.ReactPackage +import com.facebook.react.defaults.DefaultNewArchitectureEntryPoint.load +import com.facebook.react.defaults.DefaultReactHost.getDefaultReactHost +import com.facebook.react.defaults.DefaultReactNativeHost +import com.facebook.react.soloader.OpenSourceMergedSoMapping +import com.facebook.soloader.SoLoader + +class MainApplication : Application(), ReactApplication { + + override val reactNativeHost: ReactNativeHost = + object : DefaultReactNativeHost(this) { + override fun getPackages(): List = + PackageList(this).packages.apply { + // Packages that cannot be autolinked yet can be added manually here, for example: + // add(MyReactNativePackage()) + } + + override fun getJSMainModuleName(): String = "index" + + override fun getUseDeveloperSupport(): Boolean = BuildConfig.DEBUG + + override val isNewArchEnabled: Boolean = BuildConfig.IS_NEW_ARCHITECTURE_ENABLED + override val isHermesEnabled: Boolean = BuildConfig.IS_HERMES_ENABLED + } + + override val reactHost: ReactHost + get() = getDefaultReactHost(applicationContext, reactNativeHost) + + override fun onCreate() { + super.onCreate() + SoLoader.init(this, OpenSourceMergedSoMapping) + if (BuildConfig.IS_NEW_ARCHITECTURE_ENABLED) { + // If you opted-in for the New Architecture, we load the native entry point for this app. + load() + } + } +} diff --git a/example/android/app/src/main/res/drawable/rn_edit_text_material.xml b/example/android/app/src/main/res/drawable/rn_edit_text_material.xml new file mode 100644 index 0000000..5c25e72 --- /dev/null +++ b/example/android/app/src/main/res/drawable/rn_edit_text_material.xml @@ -0,0 +1,37 @@ + + + + + + + + + + + diff --git a/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png new file mode 100644 index 0000000..a2f5908 Binary files /dev/null and b/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png differ diff --git a/example/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png b/example/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png new file mode 100644 index 0000000..1b52399 Binary files /dev/null and b/example/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png differ diff --git a/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png new file mode 100644 index 0000000..ff10afd Binary files /dev/null and b/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png differ diff --git a/example/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png b/example/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png new file mode 100644 index 0000000..115a4c7 Binary files /dev/null and b/example/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png differ diff --git a/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png new file mode 100644 index 0000000..dcd3cd8 Binary files /dev/null and b/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png b/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png new file mode 100644 index 0000000..459ca60 Binary files /dev/null and b/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png differ diff --git a/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png new file mode 100644 index 0000000..8ca12fe Binary files /dev/null and b/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png b/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png new file mode 100644 index 0000000..8e19b41 Binary files /dev/null and b/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png differ diff --git a/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png new file mode 100644 index 0000000..b824ebd Binary files /dev/null and b/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png b/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png new file mode 100644 index 0000000..4c19a13 Binary files /dev/null and b/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png differ diff --git a/example/android/app/src/main/res/values/strings.xml b/example/android/app/src/main/res/values/strings.xml new file mode 100644 index 0000000..a22b7c4 --- /dev/null +++ b/example/android/app/src/main/res/values/strings.xml @@ -0,0 +1,3 @@ + + LwkRnExample + diff --git a/example/android/app/src/main/res/values/styles.xml b/example/android/app/src/main/res/values/styles.xml new file mode 100644 index 0000000..7ba83a2 --- /dev/null +++ b/example/android/app/src/main/res/values/styles.xml @@ -0,0 +1,9 @@ + + + + + + diff --git a/example/android/build.gradle b/example/android/build.gradle index 8cf6a5d..9766946 100644 --- a/example/android/build.gradle +++ b/example/android/build.gradle @@ -1,51 +1,21 @@ buildscript { - apply(from: { - def searchDir = rootDir.toPath() - do { - def p = searchDir.resolve("node_modules/react-native-test-app/android/dependencies.gradle") - if (p.toFile().exists()) { - return p.toRealPath().toString() - } - } while (searchDir = searchDir.getParent()) - throw new GradleException("Could not find `react-native-test-app`"); - }()) - + ext { + buildToolsVersion = "35.0.0" + minSdkVersion = 24 + compileSdkVersion = 35 + targetSdkVersion = 35 + ndkVersion = "27.1.12297006" + kotlinVersion = "2.0.21" + } repositories { - mavenCentral() google() + mavenCentral() } - dependencies { - getReactNativeDependencies().each { dependency -> - classpath(dependency) - } + classpath("com.android.tools.build:gradle") + classpath("com.facebook.react:react-native-gradle-plugin") + classpath("org.jetbrains.kotlin:kotlin-gradle-plugin") } } -allprojects { - repositories { - maven { - // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm - url({ - def searchDir = rootDir.toPath() - do { - def p = searchDir.resolve("node_modules/react-native/android") - if (p.toFile().exists()) { - return p.toRealPath().toString() - } - } while (searchDir = searchDir.getParent()) - throw new GradleException("Could not find `react-native`"); - }()) - } - mavenCentral() - google() - maven { - name = "GitHubPackages" - url = uri("https://maven.pkg.github.com/blockstream/lwk") - credentials { - username = System.getenv('PAT_USER') - password = System.getenv('PAT_TOKEN') - } - } - } -} +apply plugin: "com.facebook.react.rootproject" diff --git a/example/android/gradle.properties b/example/android/gradle.properties index 9f45d59..3902665 100644 --- a/example/android/gradle.properties +++ b/example/android/gradle.properties @@ -7,27 +7,20 @@ # For more details on how to configure your build environment visit # http://www.gradle.org/docs/current/userguide/build_environment.html -# Specifies the JVM arguments used for the Gradle Daemon. The setting is -# particularly useful for configuring JVM memory settings for build performance. -# This does not affect the JVM settings for the Gradle client VM. -# The default is `-Xmx512m -XX:MaxMetaspaceSize=256m`. -org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 - -# When configured, Gradle will fork up to org.gradle.workers.max JVMs to execute -# projects in parallel. To learn more about parallel task execution, see the -# section on Gradle build performance: -# https://docs.gradle.org/current/userguide/performance.html#parallel_execution. -# Default is `false`. -#org.gradle.parallel=true +# Specifies the JVM arguments used for the daemon process. +# The setting is particularly useful for tweaking memory settings. +# Default value: -Xmx512m -XX:MaxMetaspaceSize=256m +org.gradle.jvmargs=-Xmx2048m -XX:MaxMetaspaceSize=512m + +# When configured, Gradle will run in incubating parallel mode. +# This option should only be used with decoupled projects. More details, visit +# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects +# org.gradle.parallel=true # AndroidX package structure to make it clearer which packages are bundled with the # Android operating system, and which are packaged with your app's APK # https://developer.android.com/topic/libraries/support-library/androidx-rn android.useAndroidX=true -# Automatically convert third-party libraries to use AndroidX -android.enableJetifier=false -# Jetifier randomly fails on these libraries -android.jetifier.ignorelist=hermes-android,react-android # Use this property to specify which architecture you want to build. # You can also override it from the CLI using @@ -39,17 +32,10 @@ reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64 # your application. You should enable this flag either if you want # to write custom TurboModules/Fabric components OR use libraries that # are providing them. -# Note that this is incompatible with web debugging. -#newArchEnabled=true -#bridgelessEnabled=true - -# Uncomment the line below to build React Native from source. -#react.buildFromSource=true - -react.minSdkVersion=24 +newArchEnabled=true -# Version of Android NDK to build against. -#ANDROID_NDK_VERSION=26.1.10909125 +# Use this property to enable or disable the Hermes JS engine. +# If set to false, you will be using JSC instead. +hermesEnabled=true -# Version of Kotlin to build against. -#KOTLIN_VERSION=1.8.22 +newArchEnabled=true \ No newline at end of file diff --git a/example/android/gradle/wrapper/gradle-wrapper.jar b/example/android/gradle/wrapper/gradle-wrapper.jar index e644113..a4b76b9 100644 Binary files a/example/android/gradle/wrapper/gradle-wrapper.jar and b/example/android/gradle/wrapper/gradle-wrapper.jar differ diff --git a/example/android/gradle/wrapper/gradle-wrapper.properties b/example/android/gradle/wrapper/gradle-wrapper.properties index a441313..e0fd020 100644 --- a/example/android/gradle/wrapper/gradle-wrapper.properties +++ b/example/android/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-all.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/example/android/gradlew b/example/android/gradlew index b740cf1..f3b75f3 100755 --- a/example/android/gradlew +++ b/example/android/gradlew @@ -15,6 +15,8 @@ # See the License for the specific language governing permissions and # limitations under the License. # +# SPDX-License-Identifier: Apache-2.0 +# ############################################################################## # @@ -84,7 +86,7 @@ done # shellcheck disable=SC2034 APP_BASE_NAME=${0##*/} # Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036) -APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit +APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit # Use the maximum available, or set MAX_FD != -1 to use that value. MAX_FD=maximum diff --git a/example/android/gradlew.bat b/example/android/gradlew.bat index 25da30d..9d21a21 100644 --- a/example/android/gradlew.bat +++ b/example/android/gradlew.bat @@ -13,6 +13,8 @@ @rem See the License for the specific language governing permissions and @rem limitations under the License. @rem +@rem SPDX-License-Identifier: Apache-2.0 +@rem @if "%DEBUG%"=="" @echo off @rem ########################################################################## diff --git a/example/android/settings.gradle b/example/android/settings.gradle index aafb83c..955f297 100644 --- a/example/android/settings.gradle +++ b/example/android/settings.gradle @@ -1,21 +1,6 @@ -pluginManagement { - repositories { - gradlePluginPortal() - mavenCentral() - google() - } -} - -rootProject.name = "LwkRnExample" - -apply(from: { - def searchDir = rootDir.toPath() - do { - def p = searchDir.resolve("node_modules/react-native-test-app/test-app.gradle") - if (p.toFile().exists()) { - return p.toRealPath().toString() - } - } while (searchDir = searchDir.getParent()) - throw new GradleException("Could not find `react-native-test-app`"); -}()) -applyTestAppSettings(settings) +pluginManagement { includeBuild("../node_modules/@react-native/gradle-plugin") } +plugins { id("com.facebook.react.settings") } +extensions.configure(com.facebook.react.ReactSettingsExtension){ ex -> ex.autolinkLibrariesFromCommand() } +rootProject.name = 'lwkrn.example' +include ':app' +includeBuild('../node_modules/@react-native/gradle-plugin') diff --git a/example/app.json b/example/app.json index dc66e8d..699e19b 100644 --- a/example/app.json +++ b/example/app.json @@ -1,38 +1,4 @@ { "name": "LwkRnExample", - "displayName": "LwkRnExample", - "components": [ - { - "appKey": "LwkRnExample", - "displayName": "LwkRnExample" - } - ], - "resources": { - "android": [ - "dist/res", - "dist/main.android.jsbundle" - ], - "ios": [ - "dist/assets", - "dist/main.ios.jsbundle" - ], - "macos": [ - "dist/assets", - "dist/main.macos.jsbundle" - ], - "visionos": [ - "dist/assets", - "dist/main.visionos.jsbundle" - ], - "windows": [ - "dist/assets", - "dist/main.windows.bundle" - ] - }, - "android": { - "package": "lwkrn.example" - }, - "ios": { - "bundleIdentifier": "lwkrn.example" - } + "displayName": "LwkRnExample" } diff --git a/example/ios/.xcode.env b/example/ios/.xcode.env new file mode 100644 index 0000000..3d5782c --- /dev/null +++ b/example/ios/.xcode.env @@ -0,0 +1,11 @@ +# This `.xcode.env` file is versioned and is used to source the environment +# used when running script phases inside Xcode. +# To customize your local environment, you can create an `.xcode.env.local` +# file that is not versioned. + +# NODE_BINARY variable contains the PATH to the node executable. +# +# Customize the NODE_BINARY variable here. +# For example, to use nvm with brew, add the following line +# . "$(brew --prefix nvm)/nvm.sh" --no-use +export NODE_BINARY=$(command -v node) diff --git a/example/ios/File.swift b/example/ios/File.swift deleted file mode 100644 index ab9bf1a..0000000 --- a/example/ios/File.swift +++ /dev/null @@ -1,6 +0,0 @@ -// -// File.swift -// LwkRnExample -// - -import Foundation diff --git a/example/ios/LwkRnExample-Bridging-Header.h b/example/ios/LwkRnExample-Bridging-Header.h deleted file mode 100644 index e11d920..0000000 --- a/example/ios/LwkRnExample-Bridging-Header.h +++ /dev/null @@ -1,3 +0,0 @@ -// -// Use this file to import your target's public headers that you would like to expose to Swift. -// diff --git a/example/ios/LwkRnExample.xcodeproj/project.pbxproj b/example/ios/LwkRnExample.xcodeproj/project.pbxproj new file mode 100644 index 0000000..1a34e30 --- /dev/null +++ b/example/ios/LwkRnExample.xcodeproj/project.pbxproj @@ -0,0 +1,486 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 54; + objects = { + +/* Begin PBXBuildFile section */ + 0C80B921A6F3F58F76C31292 /* libPods-LwkRnExample.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5DCACB8F33CDC322A6C60F78 /* libPods-LwkRnExample.a */; }; + 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; + 761780ED2CA45674006654EE /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 761780EC2CA45674006654EE /* AppDelegate.swift */; }; + 81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; }; + B8586ABC3375CAFFDA99B9F7 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB81A68108700A75B9A /* PrivacyInfo.xcprivacy */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + 13B07F961A680F5B00A75B9A /* LwkRnExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = LwkRnExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = LwkRnExample/Images.xcassets; sourceTree = ""; }; + 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = LwkRnExample/Info.plist; sourceTree = ""; }; + 13B07FB81A68108700A75B9A /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = PrivacyInfo.xcprivacy; path = LwkRnExample/PrivacyInfo.xcprivacy; sourceTree = ""; }; + 3B4392A12AC88292D35C810B /* Pods-LwkRnExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-LwkRnExample.debug.xcconfig"; path = "Target Support Files/Pods-LwkRnExample/Pods-LwkRnExample.debug.xcconfig"; sourceTree = ""; }; + 5709B34CF0A7D63546082F79 /* Pods-LwkRnExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-LwkRnExample.release.xcconfig"; path = "Target Support Files/Pods-LwkRnExample/Pods-LwkRnExample.release.xcconfig"; sourceTree = ""; }; + 5DCACB8F33CDC322A6C60F78 /* libPods-LwkRnExample.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-LwkRnExample.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + 761780EC2CA45674006654EE /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = AppDelegate.swift; path = LwkRnExample/AppDelegate.swift; sourceTree = ""; }; + 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = LwkRnExample/LaunchScreen.storyboard; sourceTree = ""; }; + ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 13B07F8C1A680F5B00A75B9A /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 0C80B921A6F3F58F76C31292 /* libPods-LwkRnExample.a in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 13B07FAE1A68108700A75B9A /* LwkRnExample */ = { + isa = PBXGroup; + children = ( + 13B07FB51A68108700A75B9A /* Images.xcassets */, + 761780EC2CA45674006654EE /* AppDelegate.swift */, + 13B07FB61A68108700A75B9A /* Info.plist */, + 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */, + 13B07FB81A68108700A75B9A /* PrivacyInfo.xcprivacy */, + ); + name = LwkRnExample; + sourceTree = ""; + }; + 2D16E6871FA4F8E400B85C8A /* Frameworks */ = { + isa = PBXGroup; + children = ( + ED297162215061F000B7C4FE /* JavaScriptCore.framework */, + 5DCACB8F33CDC322A6C60F78 /* libPods-LwkRnExample.a */, + ); + name = Frameworks; + sourceTree = ""; + }; + 832341AE1AAA6A7D00B99B32 /* Libraries */ = { + isa = PBXGroup; + children = ( + ); + name = Libraries; + sourceTree = ""; + }; + 83CBB9F61A601CBA00E9B192 = { + isa = PBXGroup; + children = ( + 13B07FAE1A68108700A75B9A /* LwkRnExample */, + 832341AE1AAA6A7D00B99B32 /* Libraries */, + 83CBBA001A601CBA00E9B192 /* Products */, + 2D16E6871FA4F8E400B85C8A /* Frameworks */, + BBD78D7AC51CEA395F1C20DB /* Pods */, + ); + indentWidth = 2; + sourceTree = ""; + tabWidth = 2; + usesTabs = 0; + }; + 83CBBA001A601CBA00E9B192 /* Products */ = { + isa = PBXGroup; + children = ( + 13B07F961A680F5B00A75B9A /* LwkRnExample.app */, + ); + name = Products; + sourceTree = ""; + }; + BBD78D7AC51CEA395F1C20DB /* Pods */ = { + isa = PBXGroup; + children = ( + 3B4392A12AC88292D35C810B /* Pods-LwkRnExample.debug.xcconfig */, + 5709B34CF0A7D63546082F79 /* Pods-LwkRnExample.release.xcconfig */, + ); + path = Pods; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 13B07F861A680F5B00A75B9A /* LwkRnExample */ = { + isa = PBXNativeTarget; + buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "LwkRnExample" */; + buildPhases = ( + C38B50BA6285516D6DCD4F65 /* [CP] Check Pods Manifest.lock */, + 13B07F871A680F5B00A75B9A /* Sources */, + 13B07F8C1A680F5B00A75B9A /* Frameworks */, + 13B07F8E1A680F5B00A75B9A /* Resources */, + 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */, + 00EEFC60759A1932668264C0 /* [CP] Embed Pods Frameworks */, + E235C05ADACE081382539298 /* [CP] Copy Pods Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = LwkRnExample; + productName = LwkRnExample; + productReference = 13B07F961A680F5B00A75B9A /* LwkRnExample.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 83CBB9F71A601CBA00E9B192 /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 1210; + TargetAttributes = { + 13B07F861A680F5B00A75B9A = { + LastSwiftMigration = 1120; + }; + }; + }; + buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "LwkRnExample" */; + compatibilityVersion = "Xcode 12.0"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 83CBB9F61A601CBA00E9B192; + productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 13B07F861A680F5B00A75B9A /* LwkRnExample */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 13B07F8E1A680F5B00A75B9A /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */, + 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */, + B8586ABC3375CAFFDA99B9F7 /* PrivacyInfo.xcprivacy in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXShellScriptBuildPhase section */ + 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "$(SRCROOT)/.xcode.env.local", + "$(SRCROOT)/.xcode.env", + ); + name = "Bundle React Native code and images"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "set -e\n\nWITH_ENVIRONMENT=\"$REACT_NATIVE_PATH/scripts/xcode/with-environment.sh\"\nREACT_NATIVE_XCODE=\"$REACT_NATIVE_PATH/scripts/react-native-xcode.sh\"\n\n/bin/sh -c \"$WITH_ENVIRONMENT $REACT_NATIVE_XCODE\"\n"; + }; + 00EEFC60759A1932668264C0 /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-LwkRnExample/Pods-LwkRnExample-frameworks-${CONFIGURATION}-input-files.xcfilelist", + ); + name = "[CP] Embed Pods Frameworks"; + outputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-LwkRnExample/Pods-LwkRnExample-frameworks-${CONFIGURATION}-output-files.xcfilelist", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-LwkRnExample/Pods-LwkRnExample-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + C38B50BA6285516D6DCD4F65 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputFileListPaths = ( + ); + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-LwkRnExample-checkManifestLockResult.txt", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; + showEnvVarsInLog = 0; + }; + E235C05ADACE081382539298 /* [CP] Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-LwkRnExample/Pods-LwkRnExample-resources-${CONFIGURATION}-input-files.xcfilelist", + ); + name = "[CP] Copy Pods Resources"; + outputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-LwkRnExample/Pods-LwkRnExample-resources-${CONFIGURATION}-output-files.xcfilelist", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-LwkRnExample/Pods-LwkRnExample-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 13B07F871A680F5B00A75B9A /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 761780ED2CA45674006654EE /* AppDelegate.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + 13B07F941A680F5B00A75B9A /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 3B4392A12AC88292D35C810B /* Pods-LwkRnExample.debug.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CLANG_ENABLE_MODULES = YES; + CURRENT_PROJECT_VERSION = 1; + ENABLE_BITCODE = NO; + INFOPLIST_FILE = LwkRnExample/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 15.1; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + OTHER_LDFLAGS = ( + "$(inherited)", + "-ObjC", + "-lc++", + ); + PRODUCT_BUNDLE_IDENTIFIER = lwkrn.example; + PRODUCT_NAME = LwkRnExample; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 5.0; + VERSIONING_SYSTEM = "apple-generic"; + }; + name = Debug; + }; + 13B07F951A680F5B00A75B9A /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 5709B34CF0A7D63546082F79 /* Pods-LwkRnExample.release.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CLANG_ENABLE_MODULES = YES; + CURRENT_PROJECT_VERSION = 1; + INFOPLIST_FILE = LwkRnExample/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 15.1; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + OTHER_LDFLAGS = ( + "$(inherited)", + "-ObjC", + "-lc++", + ); + PRODUCT_BUNDLE_IDENTIFIER = lwkrn.example; + PRODUCT_NAME = LwkRnExample; + SWIFT_VERSION = 5.0; + VERSIONING_SYSTEM = "apple-generic"; + }; + name = Release; + }; + 83CBBA201A601CBA00E9B192 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; + CLANG_CXX_LANGUAGE_STANDARD = "c++20"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = ""; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 15.1; + LD_RUNPATH_SEARCH_PATHS = ( + /usr/lib/swift, + "$(inherited)", + ); + LIBRARY_SEARCH_PATHS = ( + "\"$(SDKROOT)/usr/lib/swift\"", + "\"$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)\"", + "\"$(inherited)\"", + ); + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + OTHER_CPLUSPLUSFLAGS = ( + "$(OTHER_CFLAGS)", + "-DFOLLY_NO_CONFIG", + "-DFOLLY_MOBILE=1", + "-DFOLLY_USE_LIBCPP=1", + "-DFOLLY_CFG_NO_COROUTINES=1", + "-DFOLLY_HAVE_CLOCK_GETTIME=1", + ); + OTHER_LDFLAGS = ( + "$(inherited)", + " ", + ); + REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native"; + SDKROOT = iphoneos; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) DEBUG"; + USE_HERMES = true; + }; + name = Debug; + }; + 83CBBA211A601CBA00E9B192 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; + CLANG_CXX_LANGUAGE_STANDARD = "c++20"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = YES; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = ""; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 15.1; + LD_RUNPATH_SEARCH_PATHS = ( + /usr/lib/swift, + "$(inherited)", + ); + LIBRARY_SEARCH_PATHS = ( + "\"$(SDKROOT)/usr/lib/swift\"", + "\"$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)\"", + "\"$(inherited)\"", + ); + MTL_ENABLE_DEBUG_INFO = NO; + OTHER_CPLUSPLUSFLAGS = ( + "$(OTHER_CFLAGS)", + "-DFOLLY_NO_CONFIG", + "-DFOLLY_MOBILE=1", + "-DFOLLY_USE_LIBCPP=1", + "-DFOLLY_CFG_NO_COROUTINES=1", + "-DFOLLY_HAVE_CLOCK_GETTIME=1", + ); + OTHER_LDFLAGS = ( + "$(inherited)", + " ", + ); + REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native"; + SDKROOT = iphoneos; + USE_HERMES = true; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "LwkRnExample" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 13B07F941A680F5B00A75B9A /* Debug */, + 13B07F951A680F5B00A75B9A /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "LwkRnExample" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 83CBBA201A601CBA00E9B192 /* Debug */, + 83CBBA211A601CBA00E9B192 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */; +} diff --git a/example/ios/LwkRnExample.xcodeproj/xcshareddata/xcschemes/LwkRnExample.xcscheme b/example/ios/LwkRnExample.xcodeproj/xcshareddata/xcschemes/LwkRnExample.xcscheme new file mode 100644 index 0000000..063aea0 --- /dev/null +++ b/example/ios/LwkRnExample.xcodeproj/xcshareddata/xcschemes/LwkRnExample.xcscheme @@ -0,0 +1,88 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/example/ios/LwkRnExample.xcworkspace/contents.xcworkspacedata b/example/ios/LwkRnExample.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..aa96a01 --- /dev/null +++ b/example/ios/LwkRnExample.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,10 @@ + + + + + + + diff --git a/example/ios/LwkRnExample/AppDelegate.swift b/example/ios/LwkRnExample/AppDelegate.swift new file mode 100644 index 0000000..af1f487 --- /dev/null +++ b/example/ios/LwkRnExample/AppDelegate.swift @@ -0,0 +1,30 @@ +import UIKit +import React +import React_RCTAppDelegate +import ReactAppDependencyProvider + +@main +class AppDelegate: RCTAppDelegate { + override func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil) -> Bool { + self.moduleName = "LwkRnExample" + self.dependencyProvider = RCTAppDependencyProvider() + + // You can add your custom initial props in the dictionary below. + // They will be passed down to the ViewController used by React Native. + self.initialProps = [:] + + return super.application(application, didFinishLaunchingWithOptions: launchOptions) + } + + override func sourceURL(for bridge: RCTBridge) -> URL? { + self.bundleURL() + } + + override func bundleURL() -> URL? { +#if DEBUG + RCTBundleURLProvider.sharedSettings().jsBundleURL(forBundleRoot: "index") +#else + Bundle.main.url(forResource: "main", withExtension: "jsbundle") +#endif + } +} diff --git a/example/ios/LwkRnExample/Images.xcassets/AppIcon.appiconset/Contents.json b/example/ios/LwkRnExample/Images.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..8121323 --- /dev/null +++ b/example/ios/LwkRnExample/Images.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,53 @@ +{ + "images" : [ + { + "idiom" : "iphone", + "scale" : "2x", + "size" : "20x20" + }, + { + "idiom" : "iphone", + "scale" : "3x", + "size" : "20x20" + }, + { + "idiom" : "iphone", + "scale" : "2x", + "size" : "29x29" + }, + { + "idiom" : "iphone", + "scale" : "3x", + "size" : "29x29" + }, + { + "idiom" : "iphone", + "scale" : "2x", + "size" : "40x40" + }, + { + "idiom" : "iphone", + "scale" : "3x", + "size" : "40x40" + }, + { + "idiom" : "iphone", + "scale" : "2x", + "size" : "60x60" + }, + { + "idiom" : "iphone", + "scale" : "3x", + "size" : "60x60" + }, + { + "idiom" : "ios-marketing", + "scale" : "1x", + "size" : "1024x1024" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/example/ios/LwkRnExample/Images.xcassets/Contents.json b/example/ios/LwkRnExample/Images.xcassets/Contents.json new file mode 100644 index 0000000..2d92bd5 --- /dev/null +++ b/example/ios/LwkRnExample/Images.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "version" : 1, + "author" : "xcode" + } +} diff --git a/example/ios/LwkRnExample/Info.plist b/example/ios/LwkRnExample/Info.plist new file mode 100644 index 0000000..5a6373f --- /dev/null +++ b/example/ios/LwkRnExample/Info.plist @@ -0,0 +1,52 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleDisplayName + LwkRnExample + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + APPL + CFBundleShortVersionString + $(MARKETING_VERSION) + CFBundleSignature + ???? + CFBundleVersion + $(CURRENT_PROJECT_VERSION) + LSRequiresIPhoneOS + + NSAppTransportSecurity + + + NSAllowsArbitraryLoads + + NSAllowsLocalNetworking + + + NSLocationWhenInUseUsageDescription + + UILaunchStoryboardName + LaunchScreen + UIRequiredDeviceCapabilities + + arm64 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UIViewControllerBasedStatusBarAppearance + + + diff --git a/example/ios/LwkRnExample/LaunchScreen.storyboard b/example/ios/LwkRnExample/LaunchScreen.storyboard new file mode 100644 index 0000000..6b44c8e --- /dev/null +++ b/example/ios/LwkRnExample/LaunchScreen.storyboard @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/example/ios/LwkRnExample/PrivacyInfo.xcprivacy b/example/ios/LwkRnExample/PrivacyInfo.xcprivacy new file mode 100644 index 0000000..41b8317 --- /dev/null +++ b/example/ios/LwkRnExample/PrivacyInfo.xcprivacy @@ -0,0 +1,37 @@ + + + + + NSPrivacyAccessedAPITypes + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryFileTimestamp + NSPrivacyAccessedAPITypeReasons + + C617.1 + + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryUserDefaults + NSPrivacyAccessedAPITypeReasons + + CA92.1 + + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategorySystemBootTime + NSPrivacyAccessedAPITypeReasons + + 35F9.1 + + + + NSPrivacyCollectedDataTypes + + NSPrivacyTracking + + + diff --git a/example/ios/Podfile b/example/ios/Podfile index f8655d7..7f6bccf 100644 --- a/example/ios/Podfile +++ b/example/ios/Podfile @@ -1,11 +1,42 @@ -ws_dir = Pathname.new(__dir__) -ws_dir = ws_dir.parent until - File.exist?("#{ws_dir}/node_modules/react-native-test-app/test_app.rb") || - ws_dir.expand_path.to_s == '/' -require "#{ws_dir}/node_modules/react-native-test-app/test_app.rb" +ENV['RCT_NEW_ARCH_ENABLED'] = '1' -workspace 'LwkRnExample.xcworkspace' +# Resolve react_native_pods.rb with node to allow for hoisting +require Pod::Executable.execute_command('node', ['-p', + 'require.resolve( + "react-native/scripts/react_native_pods.rb", + {paths: [process.argv[1]]}, + )', __dir__]).strip -use_test_app! +platform :ios, min_ios_version_supported +prepare_react_native_project! -config = use_native_modules! \ No newline at end of file +linkage = ENV['USE_FRAMEWORKS'] +if linkage != nil + Pod::UI.puts "Configuring Pod with #{linkage}ally linked Frameworks".green + use_frameworks! :linkage => linkage.to_sym +end + +target 'LwkRnExample' do + config = use_native_modules! + + use_react_native!( + :path => config[:reactNativePath], + # An absolute path to your application root. + :app_path => "#{Pod::Config.instance.installation_root}/.." + ) + + + pre_install do |installer| + system("cd ../../ && npx bob build --target codegen") + end + + post_install do |installer| + # https://github.com/facebook/react-native/blob/main/packages/react-native/scripts/react_native_pods.rb#L197-L202 + react_native_post_install( + installer, + config[:reactNativePath], + :mac_catalyst_enabled => false, + # :ccache_enabled => true + ) + end +end diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock new file mode 100644 index 0000000..61c6095 --- /dev/null +++ b/example/ios/Podfile.lock @@ -0,0 +1,1841 @@ +PODS: + - boost (1.84.0) + - DoubleConversion (1.1.6) + - fast_float (6.1.4) + - FBLazyVector (0.78.0) + - fmt (11.0.2) + - glog (0.3.5) + - hermes-engine (0.78.0): + - hermes-engine/Pre-built (= 0.78.0) + - hermes-engine/Pre-built (0.78.0) + - lwk-rn (0.9.0): + - DoubleConversion + - glog + - hermes-engine + - RCT-Folly (= 2024.11.18.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-debug + - React-Fabric + - React-featureflags + - React-graphics + - React-ImageManager + - React-NativeModulesApple + - React-RCTFabric + - React-rendererdebug + - React-utils + - ReactCodegen + - ReactCommon/turbomodule/bridging + - ReactCommon/turbomodule/core + - uniffi-bindgen-react-native (= 0.28.3-3) + - Yoga + - RCT-Folly (2024.11.18.00): + - boost + - DoubleConversion + - fast_float (= 6.1.4) + - fmt (= 11.0.2) + - glog + - RCT-Folly/Default (= 2024.11.18.00) + - RCT-Folly/Default (2024.11.18.00): + - boost + - DoubleConversion + - fast_float (= 6.1.4) + - fmt (= 11.0.2) + - glog + - RCT-Folly/Fabric (2024.11.18.00): + - boost + - DoubleConversion + - fast_float (= 6.1.4) + - fmt (= 11.0.2) + - glog + - RCTDeprecation (0.78.0) + - RCTRequired (0.78.0) + - RCTTypeSafety (0.78.0): + - FBLazyVector (= 0.78.0) + - RCTRequired (= 0.78.0) + - React-Core (= 0.78.0) + - React (0.78.0): + - React-Core (= 0.78.0) + - React-Core/DevSupport (= 0.78.0) + - React-Core/RCTWebSocket (= 0.78.0) + - React-RCTActionSheet (= 0.78.0) + - React-RCTAnimation (= 0.78.0) + - React-RCTBlob (= 0.78.0) + - React-RCTImage (= 0.78.0) + - React-RCTLinking (= 0.78.0) + - React-RCTNetwork (= 0.78.0) + - React-RCTSettings (= 0.78.0) + - React-RCTText (= 0.78.0) + - React-RCTVibration (= 0.78.0) + - React-callinvoker (0.78.0) + - React-Core (0.78.0): + - glog + - hermes-engine + - RCT-Folly (= 2024.11.18.00) + - RCTDeprecation + - React-Core/Default (= 0.78.0) + - React-cxxreact + - React-featureflags + - React-hermes + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-perflogger + - React-runtimescheduler + - React-utils + - SocketRocket (= 0.7.1) + - Yoga + - React-Core/CoreModulesHeaders (0.78.0): + - glog + - hermes-engine + - RCT-Folly (= 2024.11.18.00) + - RCTDeprecation + - React-Core/Default + - React-cxxreact + - React-featureflags + - React-hermes + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-perflogger + - React-runtimescheduler + - React-utils + - SocketRocket (= 0.7.1) + - Yoga + - React-Core/Default (0.78.0): + - glog + - hermes-engine + - RCT-Folly (= 2024.11.18.00) + - RCTDeprecation + - React-cxxreact + - React-featureflags + - React-hermes + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-perflogger + - React-runtimescheduler + - React-utils + - SocketRocket (= 0.7.1) + - Yoga + - React-Core/DevSupport (0.78.0): + - glog + - hermes-engine + - RCT-Folly (= 2024.11.18.00) + - RCTDeprecation + - React-Core/Default (= 0.78.0) + - React-Core/RCTWebSocket (= 0.78.0) + - React-cxxreact + - React-featureflags + - React-hermes + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-perflogger + - React-runtimescheduler + - React-utils + - SocketRocket (= 0.7.1) + - Yoga + - React-Core/RCTActionSheetHeaders (0.78.0): + - glog + - hermes-engine + - RCT-Folly (= 2024.11.18.00) + - RCTDeprecation + - React-Core/Default + - React-cxxreact + - React-featureflags + - React-hermes + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-perflogger + - React-runtimescheduler + - React-utils + - SocketRocket (= 0.7.1) + - Yoga + - React-Core/RCTAnimationHeaders (0.78.0): + - glog + - hermes-engine + - RCT-Folly (= 2024.11.18.00) + - RCTDeprecation + - React-Core/Default + - React-cxxreact + - React-featureflags + - React-hermes + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-perflogger + - React-runtimescheduler + - React-utils + - SocketRocket (= 0.7.1) + - Yoga + - React-Core/RCTBlobHeaders (0.78.0): + - glog + - hermes-engine + - RCT-Folly (= 2024.11.18.00) + - RCTDeprecation + - React-Core/Default + - React-cxxreact + - React-featureflags + - React-hermes + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-perflogger + - React-runtimescheduler + - React-utils + - SocketRocket (= 0.7.1) + - Yoga + - React-Core/RCTImageHeaders (0.78.0): + - glog + - hermes-engine + - RCT-Folly (= 2024.11.18.00) + - RCTDeprecation + - React-Core/Default + - React-cxxreact + - React-featureflags + - React-hermes + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-perflogger + - React-runtimescheduler + - React-utils + - SocketRocket (= 0.7.1) + - Yoga + - React-Core/RCTLinkingHeaders (0.78.0): + - glog + - hermes-engine + - RCT-Folly (= 2024.11.18.00) + - RCTDeprecation + - React-Core/Default + - React-cxxreact + - React-featureflags + - React-hermes + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-perflogger + - React-runtimescheduler + - React-utils + - SocketRocket (= 0.7.1) + - Yoga + - React-Core/RCTNetworkHeaders (0.78.0): + - glog + - hermes-engine + - RCT-Folly (= 2024.11.18.00) + - RCTDeprecation + - React-Core/Default + - React-cxxreact + - React-featureflags + - React-hermes + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-perflogger + - React-runtimescheduler + - React-utils + - SocketRocket (= 0.7.1) + - Yoga + - React-Core/RCTSettingsHeaders (0.78.0): + - glog + - hermes-engine + - RCT-Folly (= 2024.11.18.00) + - RCTDeprecation + - React-Core/Default + - React-cxxreact + - React-featureflags + - React-hermes + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-perflogger + - React-runtimescheduler + - React-utils + - SocketRocket (= 0.7.1) + - Yoga + - React-Core/RCTTextHeaders (0.78.0): + - glog + - hermes-engine + - RCT-Folly (= 2024.11.18.00) + - RCTDeprecation + - React-Core/Default + - React-cxxreact + - React-featureflags + - React-hermes + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-perflogger + - React-runtimescheduler + - React-utils + - SocketRocket (= 0.7.1) + - Yoga + - React-Core/RCTVibrationHeaders (0.78.0): + - glog + - hermes-engine + - RCT-Folly (= 2024.11.18.00) + - RCTDeprecation + - React-Core/Default + - React-cxxreact + - React-featureflags + - React-hermes + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-perflogger + - React-runtimescheduler + - React-utils + - SocketRocket (= 0.7.1) + - Yoga + - React-Core/RCTWebSocket (0.78.0): + - glog + - hermes-engine + - RCT-Folly (= 2024.11.18.00) + - RCTDeprecation + - React-Core/Default (= 0.78.0) + - React-cxxreact + - React-featureflags + - React-hermes + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-perflogger + - React-runtimescheduler + - React-utils + - SocketRocket (= 0.7.1) + - Yoga + - React-CoreModules (0.78.0): + - DoubleConversion + - fast_float (= 6.1.4) + - fmt (= 11.0.2) + - RCT-Folly (= 2024.11.18.00) + - RCTTypeSafety (= 0.78.0) + - React-Core/CoreModulesHeaders (= 0.78.0) + - React-jsi (= 0.78.0) + - React-jsinspector + - React-NativeModulesApple + - React-RCTBlob + - React-RCTFBReactNativeSpec + - React-RCTImage (= 0.78.0) + - ReactCommon + - SocketRocket (= 0.7.1) + - React-cxxreact (0.78.0): + - boost + - DoubleConversion + - fast_float (= 6.1.4) + - fmt (= 11.0.2) + - glog + - hermes-engine + - RCT-Folly (= 2024.11.18.00) + - React-callinvoker (= 0.78.0) + - React-debug (= 0.78.0) + - React-jsi (= 0.78.0) + - React-jsinspector + - React-logger (= 0.78.0) + - React-perflogger (= 0.78.0) + - React-runtimeexecutor (= 0.78.0) + - React-timing (= 0.78.0) + - React-debug (0.78.0) + - React-defaultsnativemodule (0.78.0): + - hermes-engine + - RCT-Folly + - React-domnativemodule + - React-featureflagsnativemodule + - React-idlecallbacksnativemodule + - React-jsi + - React-jsiexecutor + - React-microtasksnativemodule + - React-RCTFBReactNativeSpec + - React-domnativemodule (0.78.0): + - hermes-engine + - RCT-Folly + - React-Fabric + - React-FabricComponents + - React-graphics + - React-jsi + - React-jsiexecutor + - React-RCTFBReactNativeSpec + - ReactCommon/turbomodule/core + - Yoga + - React-Fabric (0.78.0): + - DoubleConversion + - fast_float (= 6.1.4) + - fmt (= 11.0.2) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.11.18.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-Fabric/animations (= 0.78.0) + - React-Fabric/attributedstring (= 0.78.0) + - React-Fabric/componentregistry (= 0.78.0) + - React-Fabric/componentregistrynative (= 0.78.0) + - React-Fabric/components (= 0.78.0) + - React-Fabric/consistency (= 0.78.0) + - React-Fabric/core (= 0.78.0) + - React-Fabric/dom (= 0.78.0) + - React-Fabric/imagemanager (= 0.78.0) + - React-Fabric/leakchecker (= 0.78.0) + - React-Fabric/mounting (= 0.78.0) + - React-Fabric/observers (= 0.78.0) + - React-Fabric/scheduler (= 0.78.0) + - React-Fabric/telemetry (= 0.78.0) + - React-Fabric/templateprocessor (= 0.78.0) + - React-Fabric/uimanager (= 0.78.0) + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/animations (0.78.0): + - DoubleConversion + - fast_float (= 6.1.4) + - fmt (= 11.0.2) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.11.18.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/attributedstring (0.78.0): + - DoubleConversion + - fast_float (= 6.1.4) + - fmt (= 11.0.2) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.11.18.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/componentregistry (0.78.0): + - DoubleConversion + - fast_float (= 6.1.4) + - fmt (= 11.0.2) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.11.18.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/componentregistrynative (0.78.0): + - DoubleConversion + - fast_float (= 6.1.4) + - fmt (= 11.0.2) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.11.18.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/components (0.78.0): + - DoubleConversion + - fast_float (= 6.1.4) + - fmt (= 11.0.2) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.11.18.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-Fabric/components/legacyviewmanagerinterop (= 0.78.0) + - React-Fabric/components/root (= 0.78.0) + - React-Fabric/components/view (= 0.78.0) + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/components/legacyviewmanagerinterop (0.78.0): + - DoubleConversion + - fast_float (= 6.1.4) + - fmt (= 11.0.2) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.11.18.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/components/root (0.78.0): + - DoubleConversion + - fast_float (= 6.1.4) + - fmt (= 11.0.2) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.11.18.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/components/view (0.78.0): + - DoubleConversion + - fast_float (= 6.1.4) + - fmt (= 11.0.2) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.11.18.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - Yoga + - React-Fabric/consistency (0.78.0): + - DoubleConversion + - fast_float (= 6.1.4) + - fmt (= 11.0.2) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.11.18.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/core (0.78.0): + - DoubleConversion + - fast_float (= 6.1.4) + - fmt (= 11.0.2) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.11.18.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/dom (0.78.0): + - DoubleConversion + - fast_float (= 6.1.4) + - fmt (= 11.0.2) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.11.18.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/imagemanager (0.78.0): + - DoubleConversion + - fast_float (= 6.1.4) + - fmt (= 11.0.2) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.11.18.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/leakchecker (0.78.0): + - DoubleConversion + - fast_float (= 6.1.4) + - fmt (= 11.0.2) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.11.18.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/mounting (0.78.0): + - DoubleConversion + - fast_float (= 6.1.4) + - fmt (= 11.0.2) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.11.18.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/observers (0.78.0): + - DoubleConversion + - fast_float (= 6.1.4) + - fmt (= 11.0.2) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.11.18.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-Fabric/observers/events (= 0.78.0) + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/observers/events (0.78.0): + - DoubleConversion + - fast_float (= 6.1.4) + - fmt (= 11.0.2) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.11.18.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/scheduler (0.78.0): + - DoubleConversion + - fast_float (= 6.1.4) + - fmt (= 11.0.2) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.11.18.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-Fabric/observers/events + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-performancetimeline + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/telemetry (0.78.0): + - DoubleConversion + - fast_float (= 6.1.4) + - fmt (= 11.0.2) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.11.18.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/templateprocessor (0.78.0): + - DoubleConversion + - fast_float (= 6.1.4) + - fmt (= 11.0.2) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.11.18.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/uimanager (0.78.0): + - DoubleConversion + - fast_float (= 6.1.4) + - fmt (= 11.0.2) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.11.18.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-Fabric/uimanager/consistency (= 0.78.0) + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererconsistency + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/uimanager/consistency (0.78.0): + - DoubleConversion + - fast_float (= 6.1.4) + - fmt (= 11.0.2) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.11.18.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererconsistency + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-FabricComponents (0.78.0): + - DoubleConversion + - fast_float (= 6.1.4) + - fmt (= 11.0.2) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.11.18.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-Fabric + - React-FabricComponents/components (= 0.78.0) + - React-FabricComponents/textlayoutmanager (= 0.78.0) + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - Yoga + - React-FabricComponents/components (0.78.0): + - DoubleConversion + - fast_float (= 6.1.4) + - fmt (= 11.0.2) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.11.18.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-Fabric + - React-FabricComponents/components/inputaccessory (= 0.78.0) + - React-FabricComponents/components/iostextinput (= 0.78.0) + - React-FabricComponents/components/modal (= 0.78.0) + - React-FabricComponents/components/rncore (= 0.78.0) + - React-FabricComponents/components/safeareaview (= 0.78.0) + - React-FabricComponents/components/scrollview (= 0.78.0) + - React-FabricComponents/components/text (= 0.78.0) + - React-FabricComponents/components/textinput (= 0.78.0) + - React-FabricComponents/components/unimplementedview (= 0.78.0) + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - Yoga + - React-FabricComponents/components/inputaccessory (0.78.0): + - DoubleConversion + - fast_float (= 6.1.4) + - fmt (= 11.0.2) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.11.18.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-Fabric + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - Yoga + - React-FabricComponents/components/iostextinput (0.78.0): + - DoubleConversion + - fast_float (= 6.1.4) + - fmt (= 11.0.2) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.11.18.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-Fabric + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - Yoga + - React-FabricComponents/components/modal (0.78.0): + - DoubleConversion + - fast_float (= 6.1.4) + - fmt (= 11.0.2) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.11.18.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-Fabric + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - Yoga + - React-FabricComponents/components/rncore (0.78.0): + - DoubleConversion + - fast_float (= 6.1.4) + - fmt (= 11.0.2) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.11.18.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-Fabric + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - Yoga + - React-FabricComponents/components/safeareaview (0.78.0): + - DoubleConversion + - fast_float (= 6.1.4) + - fmt (= 11.0.2) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.11.18.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-Fabric + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - Yoga + - React-FabricComponents/components/scrollview (0.78.0): + - DoubleConversion + - fast_float (= 6.1.4) + - fmt (= 11.0.2) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.11.18.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-Fabric + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - Yoga + - React-FabricComponents/components/text (0.78.0): + - DoubleConversion + - fast_float (= 6.1.4) + - fmt (= 11.0.2) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.11.18.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-Fabric + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - Yoga + - React-FabricComponents/components/textinput (0.78.0): + - DoubleConversion + - fast_float (= 6.1.4) + - fmt (= 11.0.2) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.11.18.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-Fabric + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - Yoga + - React-FabricComponents/components/unimplementedview (0.78.0): + - DoubleConversion + - fast_float (= 6.1.4) + - fmt (= 11.0.2) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.11.18.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-Fabric + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - Yoga + - React-FabricComponents/textlayoutmanager (0.78.0): + - DoubleConversion + - fast_float (= 6.1.4) + - fmt (= 11.0.2) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.11.18.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-Fabric + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - Yoga + - React-FabricImage (0.78.0): + - DoubleConversion + - fast_float (= 6.1.4) + - fmt (= 11.0.2) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.11.18.00) + - RCTRequired (= 0.78.0) + - RCTTypeSafety (= 0.78.0) + - React-Fabric + - React-featureflags + - React-graphics + - React-ImageManager + - React-jsi + - React-jsiexecutor (= 0.78.0) + - React-logger + - React-rendererdebug + - React-utils + - ReactCommon + - Yoga + - React-featureflags (0.78.0): + - RCT-Folly (= 2024.11.18.00) + - React-featureflagsnativemodule (0.78.0): + - hermes-engine + - RCT-Folly + - React-featureflags + - React-jsi + - React-jsiexecutor + - React-RCTFBReactNativeSpec + - ReactCommon/turbomodule/core + - React-graphics (0.78.0): + - DoubleConversion + - fast_float (= 6.1.4) + - fmt (= 11.0.2) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.11.18.00) + - React-jsi + - React-jsiexecutor + - React-utils + - React-hermes (0.78.0): + - DoubleConversion + - fast_float (= 6.1.4) + - fmt (= 11.0.2) + - glog + - hermes-engine + - RCT-Folly (= 2024.11.18.00) + - React-cxxreact (= 0.78.0) + - React-jsi + - React-jsiexecutor (= 0.78.0) + - React-jsinspector + - React-perflogger (= 0.78.0) + - React-runtimeexecutor + - React-idlecallbacksnativemodule (0.78.0): + - glog + - hermes-engine + - RCT-Folly + - React-jsi + - React-jsiexecutor + - React-RCTFBReactNativeSpec + - React-runtimescheduler + - ReactCommon/turbomodule/core + - React-ImageManager (0.78.0): + - glog + - RCT-Folly/Fabric + - React-Core/Default + - React-debug + - React-Fabric + - React-graphics + - React-rendererdebug + - React-utils + - React-jserrorhandler (0.78.0): + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.11.18.00) + - React-cxxreact + - React-debug + - React-featureflags + - React-jsi + - ReactCommon/turbomodule/bridging + - React-jsi (0.78.0): + - boost + - DoubleConversion + - fast_float (= 6.1.4) + - fmt (= 11.0.2) + - glog + - hermes-engine + - RCT-Folly (= 2024.11.18.00) + - React-jsiexecutor (0.78.0): + - DoubleConversion + - fast_float (= 6.1.4) + - fmt (= 11.0.2) + - glog + - hermes-engine + - RCT-Folly (= 2024.11.18.00) + - React-cxxreact (= 0.78.0) + - React-jsi (= 0.78.0) + - React-jsinspector + - React-perflogger (= 0.78.0) + - React-jsinspector (0.78.0): + - DoubleConversion + - glog + - hermes-engine + - RCT-Folly + - React-featureflags + - React-jsi + - React-jsinspectortracing + - React-perflogger (= 0.78.0) + - React-runtimeexecutor (= 0.78.0) + - React-jsinspectortracing (0.78.0): + - RCT-Folly + - React-jsitracing (0.78.0): + - React-jsi + - React-logger (0.78.0): + - glog + - React-Mapbuffer (0.78.0): + - glog + - React-debug + - React-microtasksnativemodule (0.78.0): + - hermes-engine + - RCT-Folly + - React-jsi + - React-jsiexecutor + - React-RCTFBReactNativeSpec + - ReactCommon/turbomodule/core + - React-NativeModulesApple (0.78.0): + - glog + - hermes-engine + - React-callinvoker + - React-Core + - React-cxxreact + - React-jsi + - React-jsinspector + - React-runtimeexecutor + - ReactCommon/turbomodule/bridging + - ReactCommon/turbomodule/core + - React-perflogger (0.78.0): + - DoubleConversion + - RCT-Folly (= 2024.11.18.00) + - React-performancetimeline (0.78.0): + - RCT-Folly (= 2024.11.18.00) + - React-cxxreact + - React-featureflags + - React-jsinspectortracing + - React-timing + - React-RCTActionSheet (0.78.0): + - React-Core/RCTActionSheetHeaders (= 0.78.0) + - React-RCTAnimation (0.78.0): + - RCT-Folly (= 2024.11.18.00) + - RCTTypeSafety + - React-Core/RCTAnimationHeaders + - React-jsi + - React-NativeModulesApple + - React-RCTFBReactNativeSpec + - ReactCommon + - React-RCTAppDelegate (0.78.0): + - RCT-Folly (= 2024.11.18.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-CoreModules + - React-debug + - React-defaultsnativemodule + - React-Fabric + - React-featureflags + - React-graphics + - React-hermes + - React-NativeModulesApple + - React-RCTFabric + - React-RCTFBReactNativeSpec + - React-RCTImage + - React-RCTNetwork + - React-rendererdebug + - React-RuntimeApple + - React-RuntimeCore + - React-RuntimeHermes + - React-runtimescheduler + - React-utils + - ReactCommon + - React-RCTBlob (0.78.0): + - DoubleConversion + - fast_float (= 6.1.4) + - fmt (= 11.0.2) + - hermes-engine + - RCT-Folly (= 2024.11.18.00) + - React-Core/RCTBlobHeaders + - React-Core/RCTWebSocket + - React-jsi + - React-jsinspector + - React-NativeModulesApple + - React-RCTFBReactNativeSpec + - React-RCTNetwork + - ReactCommon + - React-RCTFabric (0.78.0): + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.11.18.00) + - React-Core + - React-debug + - React-Fabric + - React-FabricComponents + - React-FabricImage + - React-featureflags + - React-graphics + - React-ImageManager + - React-jsi + - React-jsinspector + - React-jsinspectortracing + - React-performancetimeline + - React-RCTImage + - React-RCTText + - React-rendererconsistency + - React-rendererdebug + - React-runtimescheduler + - React-utils + - Yoga + - React-RCTFBReactNativeSpec (0.78.0): + - hermes-engine + - RCT-Folly + - RCTRequired + - RCTTypeSafety + - React-Core + - React-jsi + - React-jsiexecutor + - React-NativeModulesApple + - ReactCommon + - React-RCTImage (0.78.0): + - RCT-Folly (= 2024.11.18.00) + - RCTTypeSafety + - React-Core/RCTImageHeaders + - React-jsi + - React-NativeModulesApple + - React-RCTFBReactNativeSpec + - React-RCTNetwork + - ReactCommon + - React-RCTLinking (0.78.0): + - React-Core/RCTLinkingHeaders (= 0.78.0) + - React-jsi (= 0.78.0) + - React-NativeModulesApple + - React-RCTFBReactNativeSpec + - ReactCommon + - ReactCommon/turbomodule/core (= 0.78.0) + - React-RCTNetwork (0.78.0): + - RCT-Folly (= 2024.11.18.00) + - RCTTypeSafety + - React-Core/RCTNetworkHeaders + - React-jsi + - React-NativeModulesApple + - React-RCTFBReactNativeSpec + - ReactCommon + - React-RCTSettings (0.78.0): + - RCT-Folly (= 2024.11.18.00) + - RCTTypeSafety + - React-Core/RCTSettingsHeaders + - React-jsi + - React-NativeModulesApple + - React-RCTFBReactNativeSpec + - ReactCommon + - React-RCTText (0.78.0): + - React-Core/RCTTextHeaders (= 0.78.0) + - Yoga + - React-RCTVibration (0.78.0): + - RCT-Folly (= 2024.11.18.00) + - React-Core/RCTVibrationHeaders + - React-jsi + - React-NativeModulesApple + - React-RCTFBReactNativeSpec + - ReactCommon + - React-rendererconsistency (0.78.0) + - React-rendererdebug (0.78.0): + - DoubleConversion + - fast_float (= 6.1.4) + - fmt (= 11.0.2) + - RCT-Folly (= 2024.11.18.00) + - React-debug + - React-rncore (0.78.0) + - React-RuntimeApple (0.78.0): + - hermes-engine + - RCT-Folly/Fabric (= 2024.11.18.00) + - React-callinvoker + - React-Core/Default + - React-CoreModules + - React-cxxreact + - React-featureflags + - React-jserrorhandler + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-Mapbuffer + - React-NativeModulesApple + - React-RCTFabric + - React-RCTFBReactNativeSpec + - React-RuntimeCore + - React-runtimeexecutor + - React-RuntimeHermes + - React-runtimescheduler + - React-utils + - React-RuntimeCore (0.78.0): + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.11.18.00) + - React-cxxreact + - React-Fabric + - React-featureflags + - React-jserrorhandler + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-performancetimeline + - React-runtimeexecutor + - React-runtimescheduler + - React-utils + - React-runtimeexecutor (0.78.0): + - React-jsi (= 0.78.0) + - React-RuntimeHermes (0.78.0): + - hermes-engine + - RCT-Folly/Fabric (= 2024.11.18.00) + - React-featureflags + - React-hermes + - React-jsi + - React-jsinspector + - React-jsitracing + - React-RuntimeCore + - React-utils + - React-runtimescheduler (0.78.0): + - glog + - hermes-engine + - RCT-Folly (= 2024.11.18.00) + - React-callinvoker + - React-cxxreact + - React-debug + - React-featureflags + - React-jsi + - React-performancetimeline + - React-rendererconsistency + - React-rendererdebug + - React-runtimeexecutor + - React-timing + - React-utils + - React-timing (0.78.0) + - React-utils (0.78.0): + - glog + - hermes-engine + - RCT-Folly (= 2024.11.18.00) + - React-debug + - React-jsi (= 0.78.0) + - ReactAppDependencyProvider (0.78.0): + - ReactCodegen + - ReactCodegen (0.78.0): + - DoubleConversion + - glog + - hermes-engine + - RCT-Folly + - RCTRequired + - RCTTypeSafety + - React-Core + - React-debug + - React-Fabric + - React-FabricImage + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-NativeModulesApple + - React-RCTAppDelegate + - React-rendererdebug + - React-utils + - ReactCommon/turbomodule/bridging + - ReactCommon/turbomodule/core + - ReactCommon (0.78.0): + - ReactCommon/turbomodule (= 0.78.0) + - ReactCommon/turbomodule (0.78.0): + - DoubleConversion + - fast_float (= 6.1.4) + - fmt (= 11.0.2) + - glog + - hermes-engine + - RCT-Folly (= 2024.11.18.00) + - React-callinvoker (= 0.78.0) + - React-cxxreact (= 0.78.0) + - React-jsi (= 0.78.0) + - React-logger (= 0.78.0) + - React-perflogger (= 0.78.0) + - ReactCommon/turbomodule/bridging (= 0.78.0) + - ReactCommon/turbomodule/core (= 0.78.0) + - ReactCommon/turbomodule/bridging (0.78.0): + - DoubleConversion + - fast_float (= 6.1.4) + - fmt (= 11.0.2) + - glog + - hermes-engine + - RCT-Folly (= 2024.11.18.00) + - React-callinvoker (= 0.78.0) + - React-cxxreact (= 0.78.0) + - React-jsi (= 0.78.0) + - React-logger (= 0.78.0) + - React-perflogger (= 0.78.0) + - ReactCommon/turbomodule/core (0.78.0): + - DoubleConversion + - fast_float (= 6.1.4) + - fmt (= 11.0.2) + - glog + - hermes-engine + - RCT-Folly (= 2024.11.18.00) + - React-callinvoker (= 0.78.0) + - React-cxxreact (= 0.78.0) + - React-debug (= 0.78.0) + - React-featureflags (= 0.78.0) + - React-jsi (= 0.78.0) + - React-logger (= 0.78.0) + - React-perflogger (= 0.78.0) + - React-utils (= 0.78.0) + - SocketRocket (0.7.1) + - uniffi-bindgen-react-native (0.28.3-3): + - React-Core + - Yoga (0.0.0) + +DEPENDENCIES: + - boost (from `../node_modules/react-native/third-party-podspecs/boost.podspec`) + - DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`) + - fast_float (from `../node_modules/react-native/third-party-podspecs/fast_float.podspec`) + - FBLazyVector (from `../node_modules/react-native/Libraries/FBLazyVector`) + - fmt (from `../node_modules/react-native/third-party-podspecs/fmt.podspec`) + - glog (from `../node_modules/react-native/third-party-podspecs/glog.podspec`) + - hermes-engine (from `../node_modules/react-native/sdks/hermes-engine/hermes-engine.podspec`) + - lwk-rn (from `../..`) + - RCT-Folly (from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`) + - RCT-Folly/Fabric (from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`) + - RCTDeprecation (from `../node_modules/react-native/ReactApple/Libraries/RCTFoundation/RCTDeprecation`) + - RCTRequired (from `../node_modules/react-native/Libraries/Required`) + - RCTTypeSafety (from `../node_modules/react-native/Libraries/TypeSafety`) + - React (from `../node_modules/react-native/`) + - React-callinvoker (from `../node_modules/react-native/ReactCommon/callinvoker`) + - React-Core (from `../node_modules/react-native/`) + - React-Core/RCTWebSocket (from `../node_modules/react-native/`) + - React-CoreModules (from `../node_modules/react-native/React/CoreModules`) + - React-cxxreact (from `../node_modules/react-native/ReactCommon/cxxreact`) + - React-debug (from `../node_modules/react-native/ReactCommon/react/debug`) + - React-defaultsnativemodule (from `../node_modules/react-native/ReactCommon/react/nativemodule/defaults`) + - React-domnativemodule (from `../node_modules/react-native/ReactCommon/react/nativemodule/dom`) + - React-Fabric (from `../node_modules/react-native/ReactCommon`) + - React-FabricComponents (from `../node_modules/react-native/ReactCommon`) + - React-FabricImage (from `../node_modules/react-native/ReactCommon`) + - React-featureflags (from `../node_modules/react-native/ReactCommon/react/featureflags`) + - React-featureflagsnativemodule (from `../node_modules/react-native/ReactCommon/react/nativemodule/featureflags`) + - React-graphics (from `../node_modules/react-native/ReactCommon/react/renderer/graphics`) + - React-hermes (from `../node_modules/react-native/ReactCommon/hermes`) + - React-idlecallbacksnativemodule (from `../node_modules/react-native/ReactCommon/react/nativemodule/idlecallbacks`) + - React-ImageManager (from `../node_modules/react-native/ReactCommon/react/renderer/imagemanager/platform/ios`) + - React-jserrorhandler (from `../node_modules/react-native/ReactCommon/jserrorhandler`) + - React-jsi (from `../node_modules/react-native/ReactCommon/jsi`) + - React-jsiexecutor (from `../node_modules/react-native/ReactCommon/jsiexecutor`) + - React-jsinspector (from `../node_modules/react-native/ReactCommon/jsinspector-modern`) + - React-jsinspectortracing (from `../node_modules/react-native/ReactCommon/jsinspector-modern/tracing`) + - React-jsitracing (from `../node_modules/react-native/ReactCommon/hermes/executor/`) + - React-logger (from `../node_modules/react-native/ReactCommon/logger`) + - React-Mapbuffer (from `../node_modules/react-native/ReactCommon`) + - React-microtasksnativemodule (from `../node_modules/react-native/ReactCommon/react/nativemodule/microtasks`) + - React-NativeModulesApple (from `../node_modules/react-native/ReactCommon/react/nativemodule/core/platform/ios`) + - React-perflogger (from `../node_modules/react-native/ReactCommon/reactperflogger`) + - React-performancetimeline (from `../node_modules/react-native/ReactCommon/react/performance/timeline`) + - React-RCTActionSheet (from `../node_modules/react-native/Libraries/ActionSheetIOS`) + - React-RCTAnimation (from `../node_modules/react-native/Libraries/NativeAnimation`) + - React-RCTAppDelegate (from `../node_modules/react-native/Libraries/AppDelegate`) + - React-RCTBlob (from `../node_modules/react-native/Libraries/Blob`) + - React-RCTFabric (from `../node_modules/react-native/React`) + - React-RCTFBReactNativeSpec (from `../node_modules/react-native/React`) + - React-RCTImage (from `../node_modules/react-native/Libraries/Image`) + - React-RCTLinking (from `../node_modules/react-native/Libraries/LinkingIOS`) + - React-RCTNetwork (from `../node_modules/react-native/Libraries/Network`) + - React-RCTSettings (from `../node_modules/react-native/Libraries/Settings`) + - React-RCTText (from `../node_modules/react-native/Libraries/Text`) + - React-RCTVibration (from `../node_modules/react-native/Libraries/Vibration`) + - React-rendererconsistency (from `../node_modules/react-native/ReactCommon/react/renderer/consistency`) + - React-rendererdebug (from `../node_modules/react-native/ReactCommon/react/renderer/debug`) + - React-rncore (from `../node_modules/react-native/ReactCommon`) + - React-RuntimeApple (from `../node_modules/react-native/ReactCommon/react/runtime/platform/ios`) + - React-RuntimeCore (from `../node_modules/react-native/ReactCommon/react/runtime`) + - React-runtimeexecutor (from `../node_modules/react-native/ReactCommon/runtimeexecutor`) + - React-RuntimeHermes (from `../node_modules/react-native/ReactCommon/react/runtime`) + - React-runtimescheduler (from `../node_modules/react-native/ReactCommon/react/renderer/runtimescheduler`) + - React-timing (from `../node_modules/react-native/ReactCommon/react/timing`) + - React-utils (from `../node_modules/react-native/ReactCommon/react/utils`) + - ReactAppDependencyProvider (from `build/generated/ios`) + - ReactCodegen (from `build/generated/ios`) + - ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`) + - Yoga (from `../node_modules/react-native/ReactCommon/yoga`) + +SPEC REPOS: + trunk: + - SocketRocket + - uniffi-bindgen-react-native + +EXTERNAL SOURCES: + boost: + :podspec: "../node_modules/react-native/third-party-podspecs/boost.podspec" + DoubleConversion: + :podspec: "../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec" + fast_float: + :podspec: "../node_modules/react-native/third-party-podspecs/fast_float.podspec" + FBLazyVector: + :path: "../node_modules/react-native/Libraries/FBLazyVector" + fmt: + :podspec: "../node_modules/react-native/third-party-podspecs/fmt.podspec" + glog: + :podspec: "../node_modules/react-native/third-party-podspecs/glog.podspec" + hermes-engine: + :podspec: "../node_modules/react-native/sdks/hermes-engine/hermes-engine.podspec" + :tag: hermes-2025-01-13-RNv0.78.0-a942ef374897d85da38e9c8904574f8376555388 + lwk-rn: + :path: "../.." + RCT-Folly: + :podspec: "../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec" + RCTDeprecation: + :path: "../node_modules/react-native/ReactApple/Libraries/RCTFoundation/RCTDeprecation" + RCTRequired: + :path: "../node_modules/react-native/Libraries/Required" + RCTTypeSafety: + :path: "../node_modules/react-native/Libraries/TypeSafety" + React: + :path: "../node_modules/react-native/" + React-callinvoker: + :path: "../node_modules/react-native/ReactCommon/callinvoker" + React-Core: + :path: "../node_modules/react-native/" + React-CoreModules: + :path: "../node_modules/react-native/React/CoreModules" + React-cxxreact: + :path: "../node_modules/react-native/ReactCommon/cxxreact" + React-debug: + :path: "../node_modules/react-native/ReactCommon/react/debug" + React-defaultsnativemodule: + :path: "../node_modules/react-native/ReactCommon/react/nativemodule/defaults" + React-domnativemodule: + :path: "../node_modules/react-native/ReactCommon/react/nativemodule/dom" + React-Fabric: + :path: "../node_modules/react-native/ReactCommon" + React-FabricComponents: + :path: "../node_modules/react-native/ReactCommon" + React-FabricImage: + :path: "../node_modules/react-native/ReactCommon" + React-featureflags: + :path: "../node_modules/react-native/ReactCommon/react/featureflags" + React-featureflagsnativemodule: + :path: "../node_modules/react-native/ReactCommon/react/nativemodule/featureflags" + React-graphics: + :path: "../node_modules/react-native/ReactCommon/react/renderer/graphics" + React-hermes: + :path: "../node_modules/react-native/ReactCommon/hermes" + React-idlecallbacksnativemodule: + :path: "../node_modules/react-native/ReactCommon/react/nativemodule/idlecallbacks" + React-ImageManager: + :path: "../node_modules/react-native/ReactCommon/react/renderer/imagemanager/platform/ios" + React-jserrorhandler: + :path: "../node_modules/react-native/ReactCommon/jserrorhandler" + React-jsi: + :path: "../node_modules/react-native/ReactCommon/jsi" + React-jsiexecutor: + :path: "../node_modules/react-native/ReactCommon/jsiexecutor" + React-jsinspector: + :path: "../node_modules/react-native/ReactCommon/jsinspector-modern" + React-jsinspectortracing: + :path: "../node_modules/react-native/ReactCommon/jsinspector-modern/tracing" + React-jsitracing: + :path: "../node_modules/react-native/ReactCommon/hermes/executor/" + React-logger: + :path: "../node_modules/react-native/ReactCommon/logger" + React-Mapbuffer: + :path: "../node_modules/react-native/ReactCommon" + React-microtasksnativemodule: + :path: "../node_modules/react-native/ReactCommon/react/nativemodule/microtasks" + React-NativeModulesApple: + :path: "../node_modules/react-native/ReactCommon/react/nativemodule/core/platform/ios" + React-perflogger: + :path: "../node_modules/react-native/ReactCommon/reactperflogger" + React-performancetimeline: + :path: "../node_modules/react-native/ReactCommon/react/performance/timeline" + React-RCTActionSheet: + :path: "../node_modules/react-native/Libraries/ActionSheetIOS" + React-RCTAnimation: + :path: "../node_modules/react-native/Libraries/NativeAnimation" + React-RCTAppDelegate: + :path: "../node_modules/react-native/Libraries/AppDelegate" + React-RCTBlob: + :path: "../node_modules/react-native/Libraries/Blob" + React-RCTFabric: + :path: "../node_modules/react-native/React" + React-RCTFBReactNativeSpec: + :path: "../node_modules/react-native/React" + React-RCTImage: + :path: "../node_modules/react-native/Libraries/Image" + React-RCTLinking: + :path: "../node_modules/react-native/Libraries/LinkingIOS" + React-RCTNetwork: + :path: "../node_modules/react-native/Libraries/Network" + React-RCTSettings: + :path: "../node_modules/react-native/Libraries/Settings" + React-RCTText: + :path: "../node_modules/react-native/Libraries/Text" + React-RCTVibration: + :path: "../node_modules/react-native/Libraries/Vibration" + React-rendererconsistency: + :path: "../node_modules/react-native/ReactCommon/react/renderer/consistency" + React-rendererdebug: + :path: "../node_modules/react-native/ReactCommon/react/renderer/debug" + React-rncore: + :path: "../node_modules/react-native/ReactCommon" + React-RuntimeApple: + :path: "../node_modules/react-native/ReactCommon/react/runtime/platform/ios" + React-RuntimeCore: + :path: "../node_modules/react-native/ReactCommon/react/runtime" + React-runtimeexecutor: + :path: "../node_modules/react-native/ReactCommon/runtimeexecutor" + React-RuntimeHermes: + :path: "../node_modules/react-native/ReactCommon/react/runtime" + React-runtimescheduler: + :path: "../node_modules/react-native/ReactCommon/react/renderer/runtimescheduler" + React-timing: + :path: "../node_modules/react-native/ReactCommon/react/timing" + React-utils: + :path: "../node_modules/react-native/ReactCommon/react/utils" + ReactAppDependencyProvider: + :path: build/generated/ios + ReactCodegen: + :path: build/generated/ios + ReactCommon: + :path: "../node_modules/react-native/ReactCommon" + Yoga: + :path: "../node_modules/react-native/ReactCommon/yoga" + +SPEC CHECKSUMS: + boost: 7e761d76ca2ce687f7cc98e698152abd03a18f90 + DoubleConversion: cb417026b2400c8f53ae97020b2be961b59470cb + fast_float: 06eeec4fe712a76acc9376682e4808b05ce978b6 + FBLazyVector: 6fe148afcef2e3213e484758e3459609d40d57f5 + fmt: a40bb5bd0294ea969aaaba240a927bd33d878cdd + glog: eb93e2f488219332457c3c4eafd2738ddc7e80b8 + hermes-engine: b417d2b2aee3b89b58e63e23a51e02be91dc876d + lwk-rn: a4d61e3716e1c79bbdc3bca0694d7eba0c6a613b + RCT-Folly: 36fe2295e44b10d831836cc0d1daec5f8abcf809 + RCTDeprecation: b2eecf2d60216df56bc5e6be5f063826d3c1ee35 + RCTRequired: 78522de7dc73b81f3ed7890d145fa341f5bb32ea + RCTTypeSafety: c135dd2bf50402d87fd12884cbad5d5e64850edd + React: b229c49ed5898dab46d60f61ed5a0bfa2ee2fadb + React-callinvoker: 2ac508e92c8bd9cf834cc7d7787d94352e4af58f + React-Core: 13cdd1558d0b3f6d9d5a22e14d89150280e79f02 + React-CoreModules: b07a6744f48305405e67c845ebf481b6551b712a + React-cxxreact: 1055a86c66ac35b4e80bd5fb766aed5f494dfff4 + React-debug: 0a5fcdbacc6becba0521e910c1bcfdb20f32a3f6 + React-defaultsnativemodule: 4bb28fc97fee5be63a9ebf8f7a435cfe8ba69459 + React-domnativemodule: b36a11c2597243d7563985028c51ece988d8ae33 + React-Fabric: afc561718f25b2cd800b709d934101afe376a12c + React-FabricComponents: f4e0a4e18a27bf6d39cbf2a0b42f37a92fa4e37f + React-FabricImage: 37d8e8b672eda68a19d71143eb65148084efb325 + React-featureflags: 19682e02ef5861d96b992af16a19109c3dfc1200 + React-featureflagsnativemodule: d7cddf6d907b4e5ab84f9e744b7e88461656e48c + React-graphics: b0f78580cdaf5800d25437e3d41cc6c3d83b7aea + React-hermes: 71186f872c932e4574d5feb3ed754dda63a0b3bd + React-idlecallbacksnativemodule: dd2af19cdd3bc55149d17a2409ed72b694dfbe9c + React-ImageManager: a77dde8d5aa6a2b6962c702bf3a47695ef0aa32b + React-jserrorhandler: 9c14e89f12d5904257a79aaf84a70cd2e5ac07ba + React-jsi: 0775a66820496769ad83e629f0f5cce621a57fc7 + React-jsiexecutor: 2cf5ba481386803f3c88b85c63fa102cba5d769e + React-jsinspector: 8052d532bb7a98b6e021755674659802fb140cc5 + React-jsinspectortracing: bdd8fd0adcb4813663562e7874c5842449df6d8a + React-jsitracing: 2bab3bf55de3d04baf205def375fa6643c47c794 + React-logger: 795cd5055782db394f187f9db0477d4b25b44291 + React-Mapbuffer: 0502faf46cab8fb89cfc7bf3e6c6109b6ef9b5de + React-microtasksnativemodule: 663bc64e3a96c5fc91081923ae7481adc1359a78 + React-NativeModulesApple: 16fbd5b040ff6c492dacc361d49e63cba7a6a7a1 + React-perflogger: ab51b7592532a0ea45bf6eed7e6cae14a368b678 + React-performancetimeline: bc2e48198ec814d578ac8401f65d78a574358203 + React-RCTActionSheet: 592674cf61142497e0e820688f5a696e41bf16dd + React-RCTAnimation: 8fbb8dba757b49c78f4db403133ab6399a4ce952 + React-RCTAppDelegate: 7f88baa8cb4e5d6c38bb4d84339925c70c9ac864 + React-RCTBlob: f89b162d0fe6b570a18e755eb16cbe356d3c6d17 + React-RCTFabric: 8ad6d875abe6e87312cef90e4b15ef7f6bed72e6 + React-RCTFBReactNativeSpec: 8c29630c2f379c729300e4c1e540f3d1b78d1936 + React-RCTImage: ccac9969940f170503857733f9a5f63578e106e1 + React-RCTLinking: d82427bbf18415a3732105383dff119131cadd90 + React-RCTNetwork: 12ad4d0fbde939e00251ca5ca890da2e6825cc3c + React-RCTSettings: e7865bf9f455abf427da349c855f8644b5c39afa + React-RCTText: 2cdfd88745059ec3202a0842ea75a956c7d6f27d + React-RCTVibration: a3a1458e6230dfd64b3768ebc0a4aac430d9d508 + React-rendererconsistency: 64e897e00d2568fd8dfe31e2496f80e85c0aaad1 + React-rendererdebug: a3f6d3ae7d2fa0035885026756281c07ee32479e + React-rncore: 58748c2aa445f56b99e5118dad0aedb51c40ce9f + React-RuntimeApple: f0fda7bacabd32daa099cfda8f07466c30acd149 + React-RuntimeCore: 683ee0b6a76d4b4bf6fbf83a541895b4887cc636 + React-runtimeexecutor: a188df372373baf5066e6e229177836488799f80 + React-RuntimeHermes: 907c8e9bec13ea6466b94828c088c24590d4d0b6 + React-runtimescheduler: a2e2a39125dd6426b5d8b773f689d660cd7c5f60 + React-timing: bb220a53a795ed57976a4855c521f3de2f298fe5 + React-utils: 300d8bbb6555dcffaca71e7a0663201b5c7edbbc + ReactAppDependencyProvider: f2e81d80afd71a8058589e19d8a134243fa53f17 + ReactCodegen: a63a0ab6ae824aef2e8c744981edd718b16eb9f2 + ReactCommon: 3d39389f8e2a2157d5c999f8fba57bd1c8f226f0 + SocketRocket: d4aabe649be1e368d1318fdf28a022d714d65748 + uniffi-bindgen-react-native: 8cb2639a96746f3c8d140277375beeab7023135f + Yoga: 9b7fb56e7b08cde60e2153344fa6afbd88e5d99f + +PODFILE CHECKSUM: 419773865fc0a7d5c2fc1eb41aa1451b09e566b6 + +COCOAPODS: 1.16.2 diff --git a/example/jest.config.js b/example/jest.config.js new file mode 100644 index 0000000..8eb675e --- /dev/null +++ b/example/jest.config.js @@ -0,0 +1,3 @@ +module.exports = { + preset: 'react-native', +}; diff --git a/example/package.json b/example/package.json index 7e07e15..ef78cf7 100644 --- a/example/package.json +++ b/example/package.json @@ -1,29 +1,29 @@ { "name": "lwk-rn-example", - "version": "0.8.2-1", + "version": "0.0.1", "private": true, "scripts": { "android": "react-native run-android", - "build:android": "npm run mkdist && react-native bundle --entry-file index.js --platform android --dev true --bundle-output dist/main.android.jsbundle --assets-dest dist && react-native build-android --extra-params \"--no-daemon --console=plain -PreactNativeArchitectures=arm64-v8a\"", - "build:ios": "npm run mkdist && react-native bundle --entry-file index.js --platform ios --dev true --bundle-output dist/main.ios.jsbundle --assets-dest dist && react-native build-ios --scheme LwkRnExample --mode Debug --extra-params \"-sdk iphonesimulator CC=clang CPLUSPLUS=clang++ LD=clang LDPLUSPLUS=clang++ GCC_OPTIMIZATION_LEVEL=0 GCC_PRECOMPILE_PREFIX_HEADER=YES ASSETCATALOG_COMPILER_OPTIMIZATION=time DEBUG_INFORMATION_FORMAT=dwarf COMPILER_INDEX_STORE_ENABLE=NO\"", "ios": "react-native run-ios", - "mkdist": "node -e \"require('node:fs').mkdirSync('dist', { recursive: true, mode: 0o755 })\"", - "start": "react-native start" + "start": "react-native start", + "build:android": "react-native build-android --extra-params \"--no-daemon --console=plain -PreactNativeArchitectures=arm64-v8a\"", + "build:ios": "react-native build-ios --scheme LwkRnExample --mode Debug --extra-params \"-sdk iphonesimulator CC=clang CPLUSPLUS=clang++ LD=clang LDPLUSPLUS=clang++ GCC_OPTIMIZATION_LEVEL=0 GCC_PRECOMPILE_PREFIX_HEADER=YES ASSETCATALOG_COMPILER_OPTIMIZATION=time DEBUG_INFORMATION_FORMAT=dwarf COMPILER_INDEX_STORE_ENABLE=NO\"" }, "dependencies": { - "react": "18.3.1", - "react-native": "0.75.2" + "react": "19.0.0", + "react-native": "0.78.0" }, "devDependencies": { - "@babel/core": "^7.20.0", - "@babel/preset-env": "^7.20.0", - "@babel/runtime": "^7.20.0", - "@react-native/babel-preset": "0.75.2", - "@react-native/metro-config": "0.75.2", - "@react-native/typescript-config": "0.75.2", - "@rnx-kit/metro-config": "^1.3.17", - "react-native-builder-bob": "^0.30.0", - "react-native-test-app": "^3.10.1" + "@babel/core": "^7.25.2", + "@babel/preset-env": "^7.25.3", + "@babel/runtime": "^7.25.0", + "@react-native-community/cli": "15.0.1", + "@react-native-community/cli-platform-android": "15.0.1", + "@react-native-community/cli-platform-ios": "15.0.1", + "@react-native/babel-preset": "0.78.0", + "@react-native/metro-config": "0.78.0", + "@react-native/typescript-config": "0.78.0", + "react-native-builder-bob": "^0.36.0" }, "engines": { "node": ">=18" diff --git a/example/react-native.config.js b/example/react-native.config.js index 1daf958..59d9698 100644 --- a/example/react-native.config.js +++ b/example/react-native.config.js @@ -1,19 +1,21 @@ const path = require('path'); const pkg = require('../package.json'); -const { configureProjects } = require('react-native-test-app'); module.exports = { - project: configureProjects({ - android: { - sourceDir: 'android', - }, + project: { ios: { - sourceDir: 'ios', + automaticPodsInstallation: true, }, - }), + }, dependencies: { [pkg.name]: { root: path.join(__dirname, '..'), + platforms: { + // Codegen script incorrectly fails without this + // So we explicitly specify the platforms with empty object + ios: {}, + android: {}, + }, }, }, }; diff --git a/example/src/App.tsx b/example/src/App.tsx index fd298b4..00e1ec4 100644 --- a/example/src/App.tsx +++ b/example/src/App.tsx @@ -1,56 +1,46 @@ -import { useState, useEffect } from 'react'; -import { StyleSheet, View, Text } from 'react-native'; - -import { Wollet, Client, Signer, Network } from 'lwk-rn'; - -export default function App() { - const [result, setResult] = useState(); - - useEffect(() => { - async function setup() { - const mnemonic = - 'abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon about'; - const network = Network.Testnet; - const signer = await new Signer().create(mnemonic, network); - const descriptor = await signer.wpkhSlip77Descriptor(); - console.log(await descriptor.asString()); - - const wollet = await new Wollet().create(network, descriptor, null); - const client = await new Client().defaultElectrumClient(network); - const update = await client.fullScan(wollet); - await wollet.applyUpdate(update); +import { Text, View, StyleSheet } from 'react-native'; +import { Mnemonic, Network, Signer, Wollet } from 'lwk-rn'; + +let mnemonic = new Mnemonic("abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon about"); +let network = Network.testnet(); +let signer = new Signer(mnemonic, network); +console.log(mnemonic.toString()); + +let singlesigDesc = signer.wpkhSlip77Descriptor(); +let wollet = new Wollet(network, singlesigDesc, undefined); + +// update wallet +let client = network.defaultElectrumClient(); +let update = client.fullScan(wollet); +if (update) { + wollet.applyUpdate(update); +} - const txs = await wollet.getTransactions(); - console.log('Get transactions'); - console.log(txs.length.toString()); +// generate last unused address +let latest_address = wollet.address(undefined); +console.log(latest_address.address().scriptPubkey().toString()); - const address = await wollet.getAddress(); - console.log('Get address'); - console.log(address); +// show balance +let balance = wollet.balance(); +console.log(balance); +for (var b of balance.entries()) { + console.log("asset: ", b[0], ", value: ", b[1]); +} - const balance = await wollet.getBalance(); - console.log('Get balance'); - console.log(balance); - /* - const out_address = address.description; - const satoshis = 900; - const fee_rate = 280; // this seems like absolute fees - const builder = await new TxBuilder().create(network); - await builder.addLbtcRecipient(out_address, satoshis); - await builder.feeRate(fee_rate); - let pset = await builder.finish(wollet); - let signed_pset = await signer.sign(pset); - let finalized_pset = await wollet.finalize(signed_pset); - const tx = await finalized_pset.extractTx(); - await client.broadcast(tx); - console.log('BROADCASTED TX!\nTXID: {:?}', tx.txId.toString()); -*/ - setResult(txs.length.toString()); - } +// show transactions +let txs = wollet.transactions(); +console.log(txs); +for (var tx of txs) { + for (var output of tx.outputs()) { + let script_pubkey = output?.scriptPubkey().toString(); + let value = output?.unblinded().value().toString(); + console.log("script_pubkey: ", script_pubkey, ", value: ", value); + } +} - setup(); - }, []); +const result = balance.get(network.policyAsset())?.toString(); +export default function App() { return ( Result: {result} @@ -64,9 +54,4 @@ const styles = StyleSheet.create({ alignItems: 'center', justifyContent: 'center', }, - box: { - width: 60, - height: 60, - marginVertical: 20, - }, }); diff --git a/fetch_artifacts.sh b/fetch_artifacts.sh new file mode 100755 index 0000000..d6ede65 --- /dev/null +++ b/fetch_artifacts.sh @@ -0,0 +1,16 @@ +#!/bin/sh + +# Manually fetch and edit lwk repository + +REPO=https://github.com/Blockstream/lwk-rn +TAG=0.9.0 + +ANDROID_URL=$REPO/releases/download/$TAG/lwk-android-artifact.zip +curl -L $ANDROID_URL --output lwk-android-artifact.zip +unzip -o lwk-android-artifact.zip -d android +rm -rf lwk-android-artifact.zip + +IOS_URL=$REPO/releases/download/$TAG/lwk-ios-artifact.zip +curl -L $IOS_URL --output lwk-ios-artifact.zip +unzip -o lwk-ios-artifact.zip -d LwkRnFramework.xcframework +rm -rf lwk-ios-artifact.zip diff --git a/fetch_lwk.sh b/fetch_lwk.sh new file mode 100755 index 0000000..b248dbb --- /dev/null +++ b/fetch_lwk.sh @@ -0,0 +1,33 @@ +#!/bin/sh + +# Manually fetch and edit lwk repository + +REPO=https://github.com/Blockstream/lwk +TAG=bindings_0.9.0 + +rm -rf rust_modules +mkdir -p rust_modules +cd rust_modules + +git clone $REPO +cd lwk +git checkout $TAG +cd .. + +mv -f lwk/lwk_bindings . + +if [[ "$OSTYPE" == "darwin"* ]]; then + sed -i '' 's/name = "lwk_bindings"/name = "lwk"/g' lwk_bindings/Cargo.toml +else + sed -i 's/name = "lwk_bindings"/name = "lwk"/g' lwk_bindings/Cargo.toml +fi + +cat << EOF >> lwk_bindings/Cargo.toml +[profile.release-smaller] +inherits = "release" +opt-level = 'z' # Optimize for size. +lto = true # Enable Link Time Optimization +codegen-units = 1 # Reduce number of codegen units to increase optimizations. +panic = "abort" # Abort on panic +strip = true # Partially strip symbols from binary +EOF \ No newline at end of file diff --git a/ios/LwkRn.h b/ios/LwkRn.h new file mode 100644 index 0000000..1458627 --- /dev/null +++ b/ios/LwkRn.h @@ -0,0 +1,16 @@ +// Generated by uniffi-bindgen-react-native +#ifdef __cplusplus +#import "lwk-rn.h" +#endif + +#ifdef RCT_NEW_ARCH_ENABLED +#import "RNLwkRnSpec.h" + +@interface LwkRn : NSObject +#else +#import + +@interface LwkRn : NSObject +#endif + +@end \ No newline at end of file diff --git a/ios/LwkRn.mm b/ios/LwkRn.mm new file mode 100644 index 0000000..ef8a0b2 --- /dev/null +++ b/ios/LwkRn.mm @@ -0,0 +1,66 @@ +// Generated by uniffi-bindgen-react-native +#import "LwkRn.h" + +namespace uniffi_generated { + using namespace facebook::react; + /** + * ObjC++ class for module 'NativeLwkRn' + */ + class JSI_EXPORT NativeLwkRnSpecJSI : public ObjCTurboModule { + public: + NativeLwkRnSpecJSI(const ObjCTurboModule::InitParams ¶ms); + std::shared_ptr callInvoker; + }; + + static facebook::jsi::Value __hostFunction_LwkRn_installRustCrate(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) { + auto& tm = static_cast(turboModule); + auto jsInvoker = tm.callInvoker; + uint8_t result = lwkrn::installRustCrate(rt, jsInvoker); + return facebook::jsi::Value(rt, result); + } + static facebook::jsi::Value __hostFunction_LwkRn_cleanupRustCrate(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) { + uint8_t result = lwkrn::cleanupRustCrate(rt); + return facebook::jsi::Value(rt, result); + } + + NativeLwkRnSpecJSI::NativeLwkRnSpecJSI(const ObjCTurboModule::InitParams ¶ms) + : ObjCTurboModule(params), callInvoker(params.jsInvoker) { + this->methodMap_["installRustCrate"] = MethodMetadata {1, __hostFunction_LwkRn_installRustCrate}; + this->methodMap_["cleanupRustCrate"] = MethodMetadata {1, __hostFunction_LwkRn_cleanupRustCrate}; + } +} // namespace uniffi_generated + +@implementation LwkRn +RCT_EXPORT_MODULE() + +// Don't compile this code when we build for the old architecture. +#ifdef RCT_NEW_ARCH_ENABLED + +// Automated testing checks lwkrn +// by comparing the whole line here. +/* +- (NSNumber *)multiply:(double)a b:(double)b { + NSNumber *result = @(lwkrn::multiply(a, b)); +} +*/ + +- (NSNumber *)installRustCrate { + @throw [NSException exceptionWithName:@"UnreachableException" + reason:@"This method should never be called." + userInfo:nil]; +} + +- (NSNumber *)cleanupRustCrate { + @throw [NSException exceptionWithName:@"UnreachableException" + reason:@"This method should never be called." + userInfo:nil]; +} + +- (std::shared_ptr)getTurboModule: + (const facebook::react::ObjCTurboModule::InitParams &)params +{ + return std::make_shared(params); +} +#endif + +@end \ No newline at end of file diff --git a/ios/LwkRnModule-Bridging-Header.h b/ios/LwkRnModule-Bridging-Header.h deleted file mode 100644 index dea7ff6..0000000 --- a/ios/LwkRnModule-Bridging-Header.h +++ /dev/null @@ -1,2 +0,0 @@ -#import -#import diff --git a/ios/LwkRnModule.mm b/ios/LwkRnModule.mm deleted file mode 100644 index b69c234..0000000 --- a/ios/LwkRnModule.mm +++ /dev/null @@ -1,303 +0,0 @@ -#import - - -@interface RCT_EXTERN_MODULE(LwkRnModule, NSObject) - - /** Bip Methods */ - RCT_EXTERN_METHOD( - newBip49: (RCTPromiseResolveBlock)resolve - reject: (RCTPromiseRejectBlock)reject - ) - RCT_EXTERN_METHOD( - newBip84: (RCTPromiseResolveBlock)resolve - reject: (RCTPromiseRejectBlock)reject - ) - RCT_EXTERN_METHOD( - newBip87: (RCTPromiseResolveBlock)resolve - reject: (RCTPromiseRejectBlock)reject - ) - - /** Signers Methods */ - RCT_EXTERN_METHOD( - createSigner: (nonnull NSString)mnemonic - network: (nonnull NSString)network - resolve: (RCTPromiseResolveBlock)resolve - reject: (RCTPromiseRejectBlock)reject - ) - RCT_EXTERN_METHOD( - sign: (nonnull NSString)signerId - psetId: (nonnull NSString)psetId - resolve: (RCTPromiseResolveBlock)resolve - reject: (RCTPromiseRejectBlock)reject - ) - RCT_EXTERN_METHOD( - wpkhSlip77Descriptor: (nonnull NSString)signerId - resolve: (RCTPromiseResolveBlock)resolve - reject: (RCTPromiseRejectBlock)reject - ) - RCT_EXTERN_METHOD( - keyoriginXpub: (nonnull NSString)signerId - bipId: (nonnull NSString)bipId - resolve: (RCTPromiseResolveBlock)resolve - reject: (RCTPromiseRejectBlock)reject - ) - RCT_EXTERN_METHOD( - mnemonic: (nonnull NSString)signerId - resolve: (RCTPromiseResolveBlock)resolve - reject: (RCTPromiseRejectBlock)reject - ) - RCT_EXTERN_METHOD( - createRandomSigner: (nonnull NSString)network - resolve: (RCTPromiseResolveBlock)resolve - reject: (RCTPromiseRejectBlock)reject - ) - - /** Descriptors Methods */ - - RCT_EXTERN_METHOD( - createDescriptor: (nonnull NSString)descriptor - resolve: (RCTPromiseResolveBlock)resolve - reject:(RCTPromiseRejectBlock)reject - ) - - RCT_EXTERN_METHOD( - descriptorAsString: (nonnull NSString)keyId - resolve: (RCTPromiseResolveBlock)resolve - reject:(RCTPromiseRejectBlock)reject - ) - - /** Electrum client Methods */ - RCT_EXTERN_METHOD( - initElectrumClient: (nonnull NSString)electrumUrl - tls:(bool)tls - validateDomain:(bool)validateDomain - resolve: (RCTPromiseResolveBlock)resolve - reject:(RCTPromiseRejectBlock)reject - ) - - RCT_EXTERN_METHOD( - defaultElectrumClient: (nonnull NSString)network - resolve: (RCTPromiseResolveBlock)resolve - reject:(RCTPromiseRejectBlock)reject - ) - RCT_EXTERN_METHOD( - broadcast: (nonnull NSString)clientId - txId: (nonnull NSString)txId - resolve: (RCTPromiseResolveBlock)resolve - reject:(RCTPromiseRejectBlock)reject - ) - - /** Wollet Methods */ - - RCT_EXTERN_METHOD( - createWollet: (nonnull NSString)network - descriptorId:(nonnull NSString)descriptorId - datadir:(NSString)datadir - resolve: (RCTPromiseResolveBlock)resolve - reject:(RCTPromiseRejectBlock)reject - ) - - RCT_EXTERN_METHOD( - fullScan: (nonnull NSString)wolletId - clientId:(nonnull NSString)clientId - resolve: (RCTPromiseResolveBlock)resolve - reject:(RCTPromiseRejectBlock)reject - ) - - RCT_EXTERN_METHOD( - applyUpdate: (nonnull NSString)wolletId - updateId:(nonnull NSString)updateId - resolve: (RCTPromiseResolveBlock)resolve - reject:(RCTPromiseRejectBlock)reject - ) - - RCT_EXTERN_METHOD( - getTransactions: (nonnull NSString)wolletId - resolve: (RCTPromiseResolveBlock)resolve - reject:(RCTPromiseRejectBlock)reject - ) - - RCT_EXTERN_METHOD( - getDescriptor: (nonnull NSString)wolletId - resolve: (RCTPromiseResolveBlock)resolve - reject:(RCTPromiseRejectBlock)reject - ) - - RCT_EXTERN_METHOD( - getAddress: (nonnull NSString)wolletId - index: (nullable NSString)index - resolve: (RCTPromiseResolveBlock)resolve - reject:(RCTPromiseRejectBlock)reject - ) - RCT_EXTERN_METHOD( - getBalance: (nonnull NSString)wolletId - resolve: (RCTPromiseResolveBlock)resolve - reject:(RCTPromiseRejectBlock)reject - ) - RCT_EXTERN_METHOD( - finalize:(nonnull NSString)wolletId - psetId:(nonnull NSString)psetId - resolve:(RCTPromiseResolveBlock)resolve - reject:(RCTPromiseRejectBlock)reject - ) - RCT_EXTERN_METHOD( - waitForTx:(nonnull NSString)wolletId - txid:(nonnull NSString)txid - clientId:(nonnull NSString)clientId - resolve:(RCTPromiseResolveBlock)resolve - reject:(RCTPromiseRejectBlock)reject - ) - - /** Transactions Methods */ - RCT_EXTERN_METHOD( - createTransaction: (nonnull NSString)string - resolve: (RCTPromiseResolveBlock)resolve - reject:(RCTPromiseRejectBlock)reject - ) - RCT_EXTERN_METHOD( - txId: (nonnull NSString)string - resolve: (RCTPromiseResolveBlock)resolve - reject:(RCTPromiseRejectBlock)reject - ) - RCT_EXTERN_METHOD( - txFee: (nonnull NSString)string - policyAsset: (nonnull NSString)string - resolve: (RCTPromiseResolveBlock)resolve - reject:(RCTPromiseRejectBlock)reject - ) - RCT_EXTERN_METHOD( - txAsString: (nonnull NSString)string - resolve: (RCTPromiseResolveBlock)resolve - reject:(RCTPromiseRejectBlock)reject - ) - - /** Pset Methods */ - RCT_EXTERN_METHOD( - createPset: (nonnull NSString)base64 - resolve: (RCTPromiseResolveBlock)resolve - reject:(RCTPromiseRejectBlock)reject - ) - RCT_EXTERN_METHOD( - psetAsString: (nonnull NSString)psetId - resolve: (RCTPromiseResolveBlock)resolve - reject:(RCTPromiseRejectBlock)reject - ) - RCT_EXTERN_METHOD( - psetExtractTx: (nonnull NSString)psetId - resolve: (RCTPromiseResolveBlock)resolve - reject:(RCTPromiseRejectBlock)reject - ) - - RCT_EXTERN_METHOD( - issuanceAsset: (nonnull NSString)id - index: (nonnull NSNumber)index - resolve: (RCTPromiseResolveBlock)resolve - reject:(RCTPromiseRejectBlock)reject - ) - RCT_EXTERN_METHOD( - issuanceToken: (nonnull NSString)id - index: (nonnull NSNumber)index - resolve: (RCTPromiseResolveBlock)resolve - reject:(RCTPromiseRejectBlock)reject - ) - - /** TxBuilder Methods */ - RCT_EXTERN_METHOD( - createTxBuilder: (nonnull NSString)network - resolve: (RCTPromiseResolveBlock)resolve - reject:(RCTPromiseRejectBlock)reject - ) - RCT_EXTERN_METHOD( - txBuilderAddBurn: (nonnull NSString)id - satoshi: (nonnull NSNumber)satoshi - asset: (nonnull NSString)asset - resolve: (RCTPromiseResolveBlock)resolve - reject:(RCTPromiseRejectBlock)reject - ) - RCT_EXTERN_METHOD( - txBuilderAddLbtcRecipient: (nonnull NSString)id - address: (nonnull NSString)address - satoshi: (nonnull NSNumber)satoshi - resolve: (RCTPromiseResolveBlock)resolve - reject:(RCTPromiseRejectBlock)reject - ) - RCT_EXTERN_METHOD( - txBuilderAddRecipient: (nonnull NSString)id - address: (nonnull NSString)address - satoshi: (nonnull NSNumber)satoshi - asset: (nonnull NSString)asset - resolve: (RCTPromiseResolveBlock)resolve - reject:(RCTPromiseRejectBlock)reject - ) - RCT_EXTERN_METHOD( - txBuilderDrainLbtcTo: (nonnull NSString)id - address: (nonnull NSString)address - resolve: (RCTPromiseResolveBlock)resolve - reject:(RCTPromiseRejectBlock)reject - ) - RCT_EXTERN_METHOD( - txBuilderLbtcWallet: (nonnull NSString)id - resolve: (RCTPromiseResolveBlock)resolve - reject:(RCTPromiseRejectBlock)reject - ) - RCT_EXTERN_METHOD( - txBuilderFeeRate: (nonnull NSString)id - rate: (nonnull NSNumber)rate - resolve: (RCTPromiseResolveBlock)resolve - reject:(RCTPromiseRejectBlock)reject - ) - RCT_EXTERN_METHOD( - txBuilderFinish: (nonnull NSString)id - wolletId: (nonnull NSString)wolletId - resolve: (RCTPromiseResolveBlock)resolve - reject:(RCTPromiseRejectBlock)reject - ) - RCT_EXTERN_METHOD( - txEnableDiscount: (nonnull NSString)id - resolve: (RCTPromiseResolveBlock)resolve - reject:(RCTPromiseRejectBlock)reject - ) - RCT_EXTERN_METHOD( - txBuilderIssueAsset: (nonnull NSString)id - assetSats: (nonnull NSNumber)assetSats - assetReceiver: (NSString)assetReceiver - tokenSats: (nonnull NSNumber)tokenSats - tokenReceiver: (NSString)tokenReceiver - contractId: (NSString)contractId - resolve: (RCTPromiseResolveBlock)resolve - reject:(RCTPromiseRejectBlock)reject - ) - RCT_EXTERN_METHOD( - txBuilderReissueAsset: (nonnull NSString)id - assetToReissue: (nonnull NSString)assetToReissue - satoshiToReissue: (nonnull NSNumber)satoshiToReissue - assetReceiver: (NSString)assetReceiver - issuanceTx: (NSString)issuanceTx - resolve: (RCTPromiseResolveBlock)resolve - reject:(RCTPromiseRejectBlock)reject - ) - - /* Contract */ - RCT_EXTERN_METHOD( - createContract: (nonnull NSString)domain - issuerPubkey: (nonnull NSString)issuerPubkey - name: (nonnull NSString)name - precision: (nonnull NSNumber)precision - ticker: (nonnull NSString)ticker - version: (nonnull NSNumber)version - resolve: (RCTPromiseResolveBlock)resolve - reject:(RCTPromiseRejectBlock)reject - ) - RCT_EXTERN_METHOD( - contractAsString: (nonnull NSString)id - resolve: (RCTPromiseResolveBlock)resolve - reject:(RCTPromiseRejectBlock)reject - ) - - + (BOOL)requiresMainQueueSetup - { - return NO; - } - -@end - diff --git a/ios/LwkRnModule.swift b/ios/LwkRnModule.swift deleted file mode 100644 index 6be2a70..0000000 --- a/ios/LwkRnModule.swift +++ /dev/null @@ -1,721 +0,0 @@ -import LiquidWalletKit - - -@objc(LwkRnModule) -class LwkRnModule: NSObject { - - var _signers: [String: Signer] = [:] - var _descriptors: [String: WolletDescriptor] = [:] - var _electrumClients: [String: ElectrumClient] = [:] - var _wollets: [String: Wollet] = [:] - var _updates: [String: Update] = [:] - var _wolletTxs: [String: WalletTx] = [:] - var _transactions: [String: Transaction] = [:] - var _addresses: [String: Address] = [:] - var _psets: [String: Pset] = [:] - var _txBuilders: [String: TxBuilder] = [:] - var _contracts: [String: Contract] = [:] - var _bips: [String: Bip] = [:] - - /* WolletDescriptor */ - @objc - func createDescriptor(_ - descriptor: String, - resolve: RCTPromiseResolveBlock, - reject: RCTPromiseRejectBlock - ) -> Void { - do { - let id = randomId() - _descriptors[id] = try WolletDescriptor(descriptor: descriptor) - resolve(id) - } catch { - reject("Descriptor create error", error.localizedDescription, error) - } - } - @objc - func descriptorAsString(_ - keyId: String, - resolve: @escaping RCTPromiseResolveBlock, - reject: @escaping RCTPromiseRejectBlock - ) { - resolve(_descriptors[keyId]!.description) - } - - /* Bip */ - @objc - func newBip49( - _ resolve: RCTPromiseResolveBlock, - reject: RCTPromiseRejectBlock - ) -> Void { - let id = randomId() - _bips[id] = Bip.newBip49() - resolve(id) - } - - @objc - func newBip84( - _ resolve: RCTPromiseResolveBlock, - reject: RCTPromiseRejectBlock - ) -> Void { - let id = randomId() - _bips[id] = Bip.newBip84() - resolve(id) - } - - @objc - func newBip87( - _ resolve: RCTPromiseResolveBlock, - reject: RCTPromiseRejectBlock - ) -> Void { - let id = randomId() - _bips[id] = Bip.newBip87() - resolve(id) - } - - /* Signer */ - @objc - func createSigner( - _ mnemonic: String, - network: String, - resolve: RCTPromiseResolveBlock, - reject: RCTPromiseRejectBlock - ) -> Void { - do { - let id = randomId() - let mnemonic = try Mnemonic(s: mnemonic) - let network = setNetwork(networkStr: network) - _signers[id] = try Signer(mnemonic: mnemonic, network: network) - resolve(id) - } catch { - reject("Signer create error", error.localizedDescription, error) - } - } - - @objc - func sign( - _ signerId: String, - psetId: String, - resolve: RCTPromiseResolveBlock, - reject: RCTPromiseRejectBlock - ) -> Void { - do { - let id = randomId() - let signer = _signers[signerId] - let pset = _psets[psetId] - _psets[id] = try signer!.sign(pset: pset!) - resolve(id) - } catch { - reject("Signer sign error", error.localizedDescription, error) - } - } - - @objc - func wpkhSlip77Descriptor( - _ signerId: String, - resolve: RCTPromiseResolveBlock, - reject: RCTPromiseRejectBlock - ) -> Void { - do { - let id = randomId() - let signer = _signers[signerId] - _descriptors[id] = try signer?.wpkhSlip77Descriptor() - resolve(id) - } catch { - reject("Signer wpkhSlip77Descriptor error", error.localizedDescription, error) - } - } - - @objc - func keyoriginXpub( - _ signerId: String, - bipId: String, - resolve: RCTPromiseResolveBlock, - reject: RCTPromiseRejectBlock - ) -> Void { - do { - let signer = _signers[signerId] - let bip = _bips[bipId] - let res = try signer?.keyoriginXpub(bip: bip!) - resolve(res) - } catch { - reject("Signer keyoriginXpub error", error.localizedDescription, error) - } - } - - @objc - func mnemonic( - _ signerId: String, - resolve: RCTPromiseResolveBlock, - reject: RCTPromiseRejectBlock - ) -> Void { - do { - let signer = _signers[signerId] - let res = try signer?.mnemonic() - resolve(res) - } catch { - reject("Signer mnemonic error", error.localizedDescription, error) - } - } - - @objc - func createRandomSigner( - _ network: String, - resolve: RCTPromiseResolveBlock, - reject: RCTPromiseRejectBlock - ) -> Void { - do { - let id = randomId() - let network = setNetwork(networkStr: network) - _signers[id] = try Signer.random(network: network) - resolve(id) - } catch { - reject("Signer createRandomSigner error", error.localizedDescription, error) - } - } - - /* Electrum client */ - - @objc - func initElectrumClient(_ - electrumUrl: String, - tls: Bool, - validateDomain: Bool, - resolve: RCTPromiseResolveBlock, - reject: RCTPromiseRejectBlock - ) -> Void { - do { - let client = try ElectrumClient(electrumUrl: electrumUrl, tls: tls, validateDomain: validateDomain) - let id = randomId() - _electrumClients[id] = client - resolve(id) - } catch { - reject("ElectrumClient init error", error.localizedDescription, error) - } - } - - @objc - func defaultElectrumClient(_ - network: String, - resolve: RCTPromiseResolveBlock, - reject: RCTPromiseRejectBlock - ) -> Void { - do { - let network = setNetwork(networkStr: network) - let client = try network.defaultElectrumClient() - let id = randomId() - _electrumClients[id] = client - resolve(id) - } catch { - reject("ElectrumClient default error", error.localizedDescription, error) - } - } - - @objc - func fullScan(_ - wolletId: String, - clientId: String, - resolve: RCTPromiseResolveBlock, - reject: RCTPromiseRejectBlock - ) -> Void { - do { - let client = _electrumClients[clientId] - let wollet = _wollets[wolletId] - let update = try client!.fullScan(wollet: wollet!) - let id = randomId() - _updates[id] = update - resolve(id) - } catch { - reject("ElectrumClient fullScan error", error.localizedDescription, error) - } - } - - @objc - func broadcast(_ - clientId: String, - txId: String, - resolve: RCTPromiseResolveBlock, - reject: RCTPromiseRejectBlock - ) -> Void { - do { - let client = _electrumClients[clientId] - let transaction = _transactions[txId] - let txid = try client!.broadcast(tx: transaction!) - resolve(txid.description) - } catch { - reject("ElectrumClient broadcast error", error.localizedDescription, error) - } - } - - /* Wollet */ - @objc - func createWollet(_ - network: String, - descriptorId: String, - datadir: String, - resolve: RCTPromiseResolveBlock, - reject: RCTPromiseRejectBlock - ) -> Void { - do { - let network = setNetwork(networkStr: network) - let descriptor = _descriptors[descriptorId] - let wollet = try Wollet(network: network, descriptor: descriptor!, datadir: nil) - let id = randomId() - _wollets[id] = wollet - resolve(id) - } catch { - reject("Wollet create error", error.localizedDescription, error) - } - } - @objc - func applyUpdate(_ - wolletId: String, - updateId: String, - resolve: RCTPromiseResolveBlock, - reject: RCTPromiseRejectBlock - ) -> Void { - guard let wollet = _wollets[wolletId] else { - reject("WALLET_NOT_FOUND", - "Wallet with ID \(wolletId) not found", - NSError(domain: "WalletError", - code: -1, - userInfo: ["walletId": wolletId])) - return - } - - guard let update = _updates[updateId] else { - reject("UPDATE_NOT_FOUND", - "Update with ID \(updateId) not found", - NSError(domain: "UpdateError", - code: -2, - userInfo: ["updateId": updateId])) - return - } - - do { - try wollet.applyUpdate(update: update) - resolve(nil) - } catch { - reject("UPDATE_FAILED", - "Failed to apply update: \(error.localizedDescription)", - error) - } - } - - @objc - func getTransactions(_ - wolletId: String, - resolve: RCTPromiseResolveBlock, - reject: RCTPromiseRejectBlock - ) -> Void { - do { - let wollet = _wollets[wolletId] - let txs = try wollet!.transactions() - var responseObject: [Any] = [] - for item in txs { - var txObject = getTransactionObject(transaction: item) - let randomId = randomId() - _wolletTxs[randomId] = item - txObject["transaction"] = randomId - responseObject.append(txObject) - } - resolve(responseObject) - } catch { - reject("Wollet getTransactions error", error.localizedDescription, error) - } - } - - @objc - func getDescriptor(_ - wolletId: String, - resolve: RCTPromiseResolveBlock, - reject: RCTPromiseRejectBlock - ) -> Void { - do { - resolve(try _wollets[wolletId]!.descriptor().description) - } catch { - reject("Wollet getDescriptor error", error.localizedDescription, error) - } - } - - @objc - func getAddress(_ - wolletId: String, - index: String? = nil, - resolve: RCTPromiseResolveBlock, - reject: RCTPromiseRejectBlock - ) -> Void { - do { - let wollet = _wollets[wolletId] - let index = index == nil ? nil : UInt32(index!, radix: 10) - let address = try wollet!.address(index: index).address() - resolve(getAddressObject(address: address)) - } catch { - reject("Wollet getAddress error", error.localizedDescription, error) - } - } - - @objc - func getBalance(_ - wolletId: String, - resolve: RCTPromiseResolveBlock, - reject: RCTPromiseRejectBlock - ) -> Void { - do { - let wollet = _wollets[wolletId] - let balance = try wollet!.balance() - resolve(balance) - } catch { - reject("Wollet getBalance error", error.localizedDescription, error) - } - } - - @objc - func finalize(_ - wolletId: String, - psetId: String, - resolve: RCTPromiseResolveBlock, - reject: RCTPromiseRejectBlock - ) -> Void { - do { - let wollet = _wollets[wolletId] - let pset = _psets[psetId] - let id = randomId() - _psets[id] = try wollet!.finalize(pset: pset!) - resolve(id) - } catch { - reject("Wollet finalize error", error.localizedDescription, error) - } - } - - @objc - func waitForTx(_ - wolletId: String, - txid: String, - clientId: String, - resolve: RCTPromiseResolveBlock, - reject: RCTPromiseRejectBlock - ) -> Void { - do { - let wollet = _wollets[wolletId] - let client = _electrumClients[clientId] - let wolletTx = try wollet!.waitForTx(txid: Txid(hex: txid), client: client!) - let id = randomId() - _wolletTxs[id] = wolletTx - var txObject = getTransactionObject(transaction: wolletTx) - txObject["transaction"] = randomId - resolve(txObject) - } catch { - reject("Wollet waitForTx error", error.localizedDescription, error) - } - } - - /* Transaction */ - @objc - func createTransaction(_ - hex: String, - resolve: RCTPromiseResolveBlock, - reject: RCTPromiseRejectBlock - ) -> Void { - do { - let id = randomId() - _transactions[id] = try Transaction(hex: hex) - resolve(id) - } catch { - reject("Transaction create error", error.localizedDescription, error) - } - } - - @objc - func txId(_ - txId: String, - resolve: RCTPromiseResolveBlock, - reject: RCTPromiseRejectBlock - ) -> Void { - let tx = _transactions[txId] - resolve(tx?.txid().description) - } - - @objc - func txFee(_ - txId: String, - policyAsset: String, - resolve: RCTPromiseResolveBlock, - reject: RCTPromiseRejectBlock - ) -> Void { - let tx = _transactions[txId] - resolve(tx?.fee(policyAsset: policyAsset)) - } - @objc - func txAsString(_ - txId: String, - resolve: RCTPromiseResolveBlock, - reject: RCTPromiseRejectBlock - ) -> Void { - let tx = _transactions[txId] - resolve(tx?.description) - } - - /* Pset */ - @objc - func createPset(_ - base64: String, - resolve: RCTPromiseResolveBlock, - reject: RCTPromiseRejectBlock - ) -> Void { - do { - let id = randomId() - _psets[id] = try Pset(base64: base64) - resolve(id) - } catch { - reject("Pset createPset error", error.localizedDescription, error) - } - } - @objc - func psetAsString(_ - psetId: String, - resolve: RCTPromiseResolveBlock, - reject: RCTPromiseRejectBlock - ) -> Void { - resolve(_psets[psetId]!.description) - } - - @objc - func psetExtractTx(_ - psetId: String, - resolve: RCTPromiseResolveBlock, - reject: RCTPromiseRejectBlock - ) -> Void { - do { - let id = randomId() - let pset = _psets[psetId] - _transactions[id] = try pset!.extractTx() - resolve(id) - } catch { - reject("Pset extractTx error", error.localizedDescription, error) - } - } - - @objc - func issuanceAsset(_ - id: String, - index: NSNumber, - resolve: RCTPromiseResolveBlock, - reject: RCTPromiseRejectBlock - ) -> Void { - resolve(_psets[id]?.issuanceAsset(index: index.uint32Value)) - } - - @objc - func issuanceToken(_ - id: String, - index: NSNumber, - resolve: RCTPromiseResolveBlock, - reject: RCTPromiseRejectBlock - ) -> Void { - resolve(_psets[id]?.issuanceToken(index: index.uint32Value)) - } - - /* TxBuilder */ - - @objc - func createTxBuilder(_ - network: String, - resolve: RCTPromiseResolveBlock, - reject: RCTPromiseRejectBlock - ) -> Void { - let id = randomId() - let network = setNetwork(networkStr: network) - _txBuilders[id] = network.txBuilder() - resolve(id) - } - - @objc - func txBuilderAddBurn(_ - id: String, - satoshi: NSNumber, - asset: String, - resolve: RCTPromiseResolveBlock, - reject: RCTPromiseRejectBlock - ) -> Void { - do { - try _txBuilders[id]?.addBurn(satoshi: satoshi.uint64Value, asset: asset) - resolve(nil) - } catch { - reject("TxBuilder addBurn error", error.localizedDescription, error) - } - } - @objc - func txBuilderAddLbtcRecipient(_ - id: String, - address: String, - satoshi: NSNumber, - resolve: RCTPromiseResolveBlock, - reject: RCTPromiseRejectBlock - ) -> Void { - do { - try _txBuilders[id]?.addLbtcRecipient(address: try Address(s: address), satoshi: satoshi.uint64Value) - resolve(nil) - } catch { - reject("TxBuilder addLbtcRecipient error", error.localizedDescription, error) - } - } - @objc - func txBuilderAddRecipient(_ - id: String, - address: String, - satoshi: NSNumber, - asset: String, - resolve: RCTPromiseResolveBlock, - reject: RCTPromiseRejectBlock - ) -> Void { - do { - try _txBuilders[id]?.addRecipient(address: try Address(s: address), satoshi: satoshi.uint64Value, asset: asset) - resolve(nil) - } catch { - reject("TxBuilder addRecipient error", error.localizedDescription, error) - } - } - @objc - func txBuilderDrainLbtcTo(_ - id: String, - address: String, - resolve: RCTPromiseResolveBlock, - reject: RCTPromiseRejectBlock - ) -> Void { - do { - try _txBuilders[id]?.drainLbtcTo(address: try Address(s: address)) - resolve(nil) - } catch { - reject("TxBuilder drainLbtcTo error", error.localizedDescription, error) - } - } - @objc - func txBuilderDrainLbtcWallet(_ - id: String, - resolve: RCTPromiseResolveBlock, - reject: RCTPromiseRejectBlock - ) -> Void { - do { - try _txBuilders[id]?.drainLbtcWallet() - resolve(nil) - } catch { - reject("TxBuilder drainLbtcWallet error", error.localizedDescription, error) - } - } - @objc - func txBuilderFeeRate(_ - id: String, - rate: NSNumber, - resolve: RCTPromiseResolveBlock, - reject: RCTPromiseRejectBlock - ) -> Void { - do { - try _txBuilders[id]?.feeRate(rate: rate.floatValue) - resolve(nil) - } catch { - reject("TxBuilder feeRate error", error.localizedDescription, error) - } - } - @objc - func txBuilderFinish(_ - id: String, - wolletId: String, - resolve: RCTPromiseResolveBlock, - reject: RCTPromiseRejectBlock - ) -> Void { - do { - let txBuilder = _txBuilders[id] - let wollet = _wollets[wolletId] - let id = randomId() - _psets[id] = try txBuilder!.finish(wollet: wollet!) - resolve(id) - } catch { - reject("TxBuilder finish error", error.localizedDescription, error) - } - } - @objc - func txEnableDiscount(_ - id: String, - resolve: RCTPromiseResolveBlock, - reject: RCTPromiseRejectBlock - ) -> Void { - do { - try _txBuilders[id]?.enableCtDiscount() - resolve(nil) - } catch { - reject("TxBuilder enableCtDiscount error", error.localizedDescription, error) - } - } - - @objc - func txBuilderIssueAsset(_ - id: String, - assetSats: NSNumber, - assetReceiver: String?, - tokenSats: NSNumber, - tokenReceiver: String?, - contractId: String?, - resolve: RCTPromiseResolveBlock, - reject: RCTPromiseRejectBlock - ) -> Void { - do { - let contract = contractId != nil ? _contracts[contractId!] : nil - let assetReceiver = assetReceiver != nil ? try Address(s: assetReceiver!) : nil - let tokenReceiver = tokenReceiver != nil ? try Address(s: tokenReceiver!) : nil - try _txBuilders[id]?.issueAsset(assetSats: assetSats.uint64Value, assetReceiver: assetReceiver, tokenSats: assetSats.uint64Value, tokenReceiver: tokenReceiver, contract: contract) - resolve(nil) - } catch { - reject("TxBuilder issueAsset error", error.localizedDescription, error) - } - } - - @objc - func txBuilderReissueAsset(_ - id: String, - assetToReissue: String, - satoshiToReissue: NSNumber, - assetReceiver: String?, - issuanceTx: String?, - resolve: RCTPromiseResolveBlock, - reject: RCTPromiseRejectBlock - ) -> Void { - do { - let assetReceiver = assetReceiver != nil ? try Address(s: assetReceiver!) : nil - let issuanceTx = issuanceTx != nil ? try Transaction(hex: issuanceTx!) : nil - try _txBuilders[id]?.reissueAsset(assetToReissue: assetToReissue, satoshiToReissue: satoshiToReissue.uint64Value, assetReceiver: assetReceiver, issuanceTx: issuanceTx) - resolve(nil) - } catch { - reject("TxBuilder reissueAsset error", error.localizedDescription, error) - } - } - - /* Contract */ - @objc - func createContract(_ - domain: String, - issuerPubkey: String, - name: String, - precision: NSNumber, - ticker: String, - version: NSNumber, - resolve: RCTPromiseResolveBlock, - reject: RCTPromiseRejectBlock - ) -> Void { - do { - let id = randomId() - let contract = try Contract(domain: domain, issuerPubkey: issuerPubkey, name: name, precision: precision.uint8Value, ticker: ticker, version: version.uint8Value) - _contracts[id] = contract - resolve(id) - } catch { - reject("Contract create error", error.localizedDescription, error) - } - } - @objc - func contractAsString(_ - id: String, - resolve: @escaping RCTPromiseResolveBlock, - reject: @escaping RCTPromiseRejectBlock - ) { - resolve(_contracts[id]!.description) - } -} diff --git a/ios/Utils.swift b/ios/Utils.swift deleted file mode 100644 index 0547dfc..0000000 --- a/ios/Utils.swift +++ /dev/null @@ -1,74 +0,0 @@ - -import Foundation -import LiquidWalletKit - -func setNetwork(networkStr: String?) -> Network { - switch (networkStr) { - case "testnet": return Network.testnet() - case "mainnet": return Network.mainnet() - case "regtest": return Network.regtestDefault() - default: return Network.testnet() - } -} - -func getNetworkString(network: Network) -> String { - if network.isMainnet() { - return "mainnet" - } else { - return "testnet" - } -} - -func randomId() -> String { - return UUID().uuidString -} - -func getTransactionObject(transaction: WalletTx?) -> [String: Any?] { - return [ - "fee": transaction?.fee(), - "balance": transaction?.balance(), - "type": transaction?.type(), - "txid": transaction?.txid().description, - "tx": transaction?.tx().bytes(), - "height": transaction?.height(), - "timestamp": transaction?.timestamp(), - "inputs": transaction?.inputs().compactMap { getWalletTxOutObject(out: $0) }, - "outputs": transaction?.outputs().compactMap { getWalletTxOutObject(out: $0) } - ] -} - -func getWalletTxOutObject(out: WalletTxOut?) -> [String: Any?] { - return [ - "ext_int": out?.extInt() == .external ? "external" : "internal", - "height": out?.height(), - "outpoint": [ - "txid": out?.outpoint().txid().description as? Any, - "vout": out?.outpoint().vout() as? Any - ], - "script_pubkey": out?.scriptPubkey().description, - "unblinded": [ - "asset": out?.unblinded().asset() as? Any, - "assetBf": out?.unblinded().assetBf() as? Any, - "value": out?.unblinded().value() as? Any, - "valueBf": out?.unblinded().valueBf() as? Any - ], - "wildcard_index": out?.wildcardIndex() - ] -} - -func getAddressObject(address: Address?) -> [String: Any?] { - return [ - "description": address?.description as Any, - "is_blinded": address?.isBlinded() as Any, - "qr_code_text": try? address?.qrCodeText() as? Any, - "script_pubkey": address?.scriptPubkey().description as Any, - ] as [String: Any?] -} - -func setChain(chain: String? = "external") -> Chain { - switch (chain) { - case "external": return Chain.external - case "internal": return Chain.internal - default: return Chain.external - } -} diff --git a/lefthook.yml b/lefthook.yml index 9695c12..c97229b 100644 --- a/lefthook.yml +++ b/lefthook.yml @@ -3,6 +3,10 @@ pre-commit: commands: lint: glob: "*.{js,ts,jsx,tsx}" + exclude: + - android/ + - cpp/ + - src/ run: npx eslint {staged_files} types: glob: "*.{js,ts, jsx, tsx}" diff --git a/lwk-rn.podspec b/lwk-rn.podspec index 71502af..fc0acbb 100644 --- a/lwk-rn.podspec +++ b/lwk-rn.podspec @@ -1,3 +1,4 @@ +# Generated by uniffi-bindgen-react-native require "json" package = JSON.parse(File.read(File.join(__dir__, "package.json"))) @@ -14,10 +15,9 @@ Pod::Spec.new do |s| s.platforms = { :ios => min_ios_version_supported } s.source = { :git => "https://github.com/Blockstream/lwk-rn.git", :tag => "#{s.version}" } - s.source_files = "ios/**/*.{h,m,mm,swift}" - - s.dependency 'lwkFFI', '0.8.2-1' - s.dependency 'LiquidWalletKit', '0.8.2-1' + s.source_files = "ios/**/*.{h,m,mm,swift}", "ios/generated/**/*.{h,m,mm}", "cpp/**/*.{hpp,cpp,c,h}", "cpp/generated/**/*.{hpp,cpp,c,h}" + s.vendored_frameworks = "LwkRnFramework.xcframework" + s.dependency "uniffi-bindgen-react-native", "0.28.3-3" # Use install_modules_dependencies helper to install the dependencies if React Native version >=0.71.0. # See https://github.com/facebook/react-native/blob/febf6b7f33fdb4904669f99d795eba4c0f95d7bf/scripts/cocoapods/new_architecture.rb#L79. @@ -41,4 +41,4 @@ Pod::Spec.new do |s| s.dependency "ReactCommon/turbomodule/core" end end -end +end \ No newline at end of file diff --git a/package.json b/package.json index 9d21586..ab7979d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "lwk-rn", - "version": "0.8.2-1", + "version": "0.9.0", "description": "Liquid Wallet Kit react native module", "source": "./src/index.tsx", "main": "./lib/commonjs/index.js", @@ -8,11 +8,11 @@ "exports": { ".": { "import": { - "types": "./lib/typescript/module/src/index.d.ts", + "types": "./lib/typescript/module/src/NativeLwkRn.d.ts", "default": "./lib/module/index.js" }, "require": { - "types": "./lib/typescript/commonjs/src/index.d.ts", + "types": "./lib/typescript/commonjs/src/NativeLwkRn.d.ts", "default": "./lib/commonjs/index.js" } } @@ -20,29 +20,37 @@ "files": [ "src", "lib", - "android", "ios", "cpp", "*.podspec", + "*.sh", + "react-native.config.js", + "!LwkRnFramework.xcframework", "!ios/build", "!android/build", "!android/gradle", "!android/gradlew", "!android/gradlew.bat", "!android/local.properties", + "!android/src/main/jniLibs", "!**/__tests__", "!**/__fixtures__", "!**/__mocks__", "!**/.*" ], "scripts": { + "ubrn:ios": "ubrn build ios --config ubrn.config.yaml --and-generate && (cd example/ios && pod install)", + "ubrn:android": "ubrn build android --config ubrn.config.yaml --and-generate", + "ubrn:checkout": "ubrn checkout --config ubrn.config.yaml", + "ubrn:clean": "rm -Rf cpp/ android/src/main/java ios/ src/Native* src/generated/ src/index.ts*", "example": "yarn workspace lwk-rn-example", "test": "jest", "typecheck": "tsc", "lint": "eslint \"**/*.{js,ts,tsx}\"", "clean": "del-cli android/build example/android/build example/android/app/build example/ios/build lib", "prepare": "bob build", - "release": "release-it" + "release": "release-it", + "postinstall": "sh fetch_artifacts.sh" }, "keywords": [ "react-native", @@ -53,7 +61,7 @@ "type": "git", "url": "git+https://github.com/Blockstream/lwk-rn.git" }, - "author": "Luca Vaccaro (https://github.com/lvaccaro)", + "author": "lvaccaro (https://github.com/lvaccaro)", "license": "MIT", "bugs": { "url": "https://github.com/Blockstream/lwk-rn/issues" @@ -65,8 +73,9 @@ "devDependencies": { "@commitlint/config-conventional": "^17.0.2", "@evilmartians/lefthook": "^1.5.0", + "@react-native-community/cli": "15.0.1", "@react-native/eslint-config": "^0.73.1", - "@release-it/conventional-changelog": "^5.0.0", + "@release-it/conventional-changelog": "^9.0.2", "@types/jest": "^29.5.5", "@types/react": "^18.2.44", "commitlint": "^17.0.2", @@ -76,10 +85,10 @@ "eslint-plugin-prettier": "^5.0.1", "jest": "^29.7.0", "prettier": "^3.0.3", - "react": "18.3.1", - "react-native": "0.75.2", - "react-native-builder-bob": "^0.30.0", - "release-it": "^15.0.0", + "react": "19.0.0", + "react-native": "0.78.0", + "react-native-builder-bob": "^0.36.0", + "release-it": "^17.10.0", "turbo": "^1.10.7", "typescript": "^5.2.2" }, @@ -90,9 +99,6 @@ "react": "*", "react-native": "*" }, - "workspaces": [ - "example" - ], "packageManager": "yarn@3.6.1", "jest": { "preset": "react-native", @@ -158,6 +164,7 @@ "source": "src", "output": "lib", "targets": [ + "codegen", [ "commonjs", { @@ -179,9 +186,25 @@ ] ] }, + "codegenConfig": { + "name": "RNLwkRnSpec", + "type": "modules", + "jsSrcsDir": "src", + "outputDir": { + "ios": "ios/generated", + "android": "android/generated" + }, + "android": { + "javaPackageName": "com.lwkrn" + }, + "includesGeneratedCode": true + }, "create-react-native-library": { - "type": "module-legacy", - "languages": "kotlin-swift", - "version": "0.41.0" + "type": "turbo-module", + "languages": "cpp", + "version": "0.45.5" + }, + "dependencies": { + "uniffi-bindgen-react-native": "^0.28.3-1" } } diff --git a/react-native.config.js b/react-native.config.js new file mode 100644 index 0000000..21980d4 --- /dev/null +++ b/react-native.config.js @@ -0,0 +1,12 @@ +/** + * @type {import('@react-native-community/cli-types').UserDependencyConfig} + */ +module.exports = { + dependency: { + platforms: { + android: { + cmakeListsPath: 'generated/jni/CMakeLists.txt', + }, + }, + }, +}; diff --git a/src/NativeLwkRn.ts b/src/NativeLwkRn.ts new file mode 100644 index 0000000..9e492c5 --- /dev/null +++ b/src/NativeLwkRn.ts @@ -0,0 +1,10 @@ +// Generated by uniffi-bindgen-react-native +import type { TurboModule } from 'react-native'; +import { TurboModuleRegistry } from 'react-native'; + +export interface Spec extends TurboModule { + installRustCrate(): boolean; + cleanupRustCrate(): boolean; +} + +export default TurboModuleRegistry.getEnforcing('LwkRn'); \ No newline at end of file diff --git a/src/classes/Bip.ts b/src/classes/Bip.ts deleted file mode 100644 index 8a4f64c..0000000 --- a/src/classes/Bip.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { NativeLoader } from './NativeLoader'; - -export class Bip extends NativeLoader { - id: string = ''; - - async newBip49(): Promise { - this.id = await this._lwk.newBip49(); - return this; - } - async newBip84(): Promise { - this.id = await this._lwk.newBip84(); - return this; - } - async newBip87(): Promise { - this.id = await this._lwk.newBip87(); - return this; - } -} diff --git a/src/classes/Client.ts b/src/classes/Client.ts deleted file mode 100644 index 7c45718..0000000 --- a/src/classes/Client.ts +++ /dev/null @@ -1,45 +0,0 @@ -import { - type ElectrumClientConfig, - type EsploraClientConfig, -} from '../lib/interfaces'; -import { ClientNames, Network } from '../lib/enums'; -import { type Update } from '../lib/types'; -import { NativeLoader } from './NativeLoader'; -import type { Wollet } from './Wollet'; -import type { Transaction } from './Transaction'; - -export class Client extends NativeLoader { - id: string = ''; - - async create( - config: ElectrumClientConfig | EsploraClientConfig, - clientName: ClientNames = ClientNames.Electrum - ): Promise { - if (ClientNames.Electrum === clientName) { - const { url, tls, validateDomain } = config as ElectrumClientConfig; - this.id = await this._lwk.initElectrumClient(url, tls, validateDomain); - } else if (ClientNames.Esplora === clientName) { - //const { url } = config as EsploraClientConfig; - //this.id = await this._lwk.initEsploraBlockchain(url); - } else { - throw `Invalid client name passed. Allowed values are ${Object.values(clientName)}`; - } - return this; - } - - async defaultElectrumClient(network: Network): Promise { - if (!Object.values(Network).includes(network)) { - throw `Invalid network passed. Allowed values are ${Object.values(Network)}`; - } - this.id = await this._lwk.defaultElectrumClient(network); - return this; - } - - async fullScan(wollet: Wollet): Promise { - return await this._lwk.fullScan(wollet.id, this.id); - } - - async broadcast(tx: Transaction): Promise { - return await this._lwk.broadcast(this.id, tx.id); - } -} diff --git a/src/classes/Descriptor.ts b/src/classes/Descriptor.ts deleted file mode 100644 index 80fb41b..0000000 --- a/src/classes/Descriptor.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { NativeLoader } from './NativeLoader'; - -export class Descriptor extends NativeLoader { - id: string = ''; - - async from(id: string): Promise { - this.id = id; - return this; - } - - async create(descriptor: string): Promise { - this.id = await this._lwk.createDescriptor(descriptor); - return this; - } - - async asString(): Promise { - return this._lwk.descriptorAsString(this.id); - } -} diff --git a/src/classes/NativeLoader.ts b/src/classes/NativeLoader.ts deleted file mode 100644 index 7926dba..0000000 --- a/src/classes/NativeLoader.ts +++ /dev/null @@ -1,124 +0,0 @@ -import type { Address, Balance, WolletTx } from '../lib/types'; -import { Network } from '../lib/enums'; -import { NativeModules, Platform } from 'react-native'; - -const LINKING_ERROR = - `The package 'react-native-lwk-module' doesn't seem to be linked. Make sure: \n\n` + - Platform.select({ ios: "- You have run 'pod install'\n", default: '' }) + - '- You rebuilt the app after installing the package\n' + - '- You are not using Expo Go\n'; - -export interface NativeLwk { - // Descriptor - createDescriptor(descriptor: string): string; - descriptorAsString(id: string): string; - - // Electrum Client - initElectrumClient( - electrumUrl: string, - tls: boolean, - validateDomain: boolean - ): string; - defaultElectrumClient(network: Network): string; - broadcast(clientId: string, txId: string): string; - - // Signer - createSigner(mnemonic: string, network: Network): string; - sign(signerId: string, psetId: string): string; - wpkhSlip77Descriptor(signerId: string): string; - keyoriginXpub(signerId: string, bipId: string): string; - createRandomSigner(network: Network): string; - mnemonic(signerId: string): string; - - // Wollet - createWollet( - network: Network, - descriptorId: string, - datadir: string | null - ): string; - fullScan(wolletId: string, clientId: string): string; - applyUpdate(wolletId: string, updateId: string): string; - getTransactions(wolletId: string): Array; - getDescriptor(wolletId: string): string; - getBalance(wolletId: string): Balance; - getAddress(wolletId: string, index: number | null): Address; - finalize(wolletId: string, psetId: string): string; - waitTx(wolletId: string, txid: string, clientId: string): WolletTx; - - // Transaction - createTransaction(hex: string): string; - txId(txId: string): string; - txFee(txId: string, policyAsset: string): number; - txAsString(txId: string): string; - - // Pset - createPset(base64: string): string; - psetAsString(psetId: string): string; - psetExtractTx(psetId: string): string; - psetIssuanceAsset(id: string, index: number): string; - psetissuanceToken(id: string, index: number): string; - - // TxBuilder - createTxBuilder(network: string): string; - txBuilderAddBurn(id: string, satoshi: number, asset: string): null; - txBuilderAddLbtcRecipient(id: string, address: string, satoshi: number): null; - txBuilderAddRecipient( - id: string, - address: string, - satoshi: number, - asset: string - ): null; - txBuilderDrainLbtcTo(id: string, address: string): null; - txBuilderDrainLbtcWallet(id: string): null; - txBuilderFeeRate(id: string, rate: number | null): null; - txBuilderEnableDiscount(id: string): null; - txBuilderFinish(id: string, wolletId: string): string; - txBuilderIssueAsset( - id: string, - assetSats: number, - assetReceiver: string | null, - tokenSats: number, - tokenReceiver: string | null, - contract: string | null - ): null; - txBuilderReissueAsset( - id: string, - assetToReissue: string, - satoshiToReissue: number, - assetReceiver: string | null, - issuanceTx: string | null - ): null; - - // Contract - createContract( - domain: string, - issuerPubkey: string, - name: string, - precision: number, - ticker: string, - version: number - ): string; - contractAsString(id: string): string; - - // Bip - newBip49(): string; - newBip84(): string; - newBip87(): string; -} - -export class NativeLoader { - protected _lwk: NativeLwk; - - constructor() { - this._lwk = NativeModules.LwkRnModule - ? NativeModules.LwkRnModule - : new Proxy( - {}, - { - get() { - throw new Error(LINKING_ERROR); - }, - } - ); - } -} diff --git a/src/classes/Pset.ts b/src/classes/Pset.ts deleted file mode 100644 index 7f029f0..0000000 --- a/src/classes/Pset.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { NativeLoader } from './NativeLoader'; -import { Transaction } from './Transaction'; - -export class Pset extends NativeLoader { - id: string = ''; - - async from(id: string): Promise { - this.id = id; - return this; - } - - async create(base64: string): Promise { - this.id = await this._lwk.createPset(base64); - return this; - } - - async extractTx(): Promise { - let id = await this._lwk.psetExtractTx(this.id); - return new Transaction().from(id); - } - - async asString(): Promise { - return this._lwk.psetAsString(this.id); - } - - async issuanceAsset(index: number): Promise { - return this._lwk.psetIssuanceAsset(this.id, index); - } - - async issuanceToken(index: number): Promise { - return this._lwk.psetissuanceToken(this.id, index); - } -} diff --git a/src/classes/Signer.ts b/src/classes/Signer.ts deleted file mode 100644 index 858ee53..0000000 --- a/src/classes/Signer.ts +++ /dev/null @@ -1,43 +0,0 @@ -import { NativeLoader } from './NativeLoader'; -import { Pset } from './Pset'; -import { Network } from '../lib/enums'; -import { Descriptor } from './Descriptor'; -import { Bip } from './Bip'; - -export class Signer extends NativeLoader { - id: string = ''; - - async create(mnemonic: string, network: Network): Promise { - if (!Object.values(Network).includes(network)) { - throw `Invalid network passed. Allowed values are ${Object.values(Network)}`; - } - this.id = await this._lwk.createSigner(mnemonic, network); - return this; - } - - async sign(pset: Pset): Promise { - let newPsetId = await this._lwk.sign(this.id, pset.id); - return new Pset().from(newPsetId); - } - - async wpkhSlip77Descriptor(): Promise { - let newId = await this._lwk.wpkhSlip77Descriptor(this.id); - return new Descriptor().from(newId); - } - - async createRandomSigner(network: Network): Promise { - if (!Object.values(Network).includes(network)) { - throw `Invalid network passed. Allowed values are ${Object.values(Network)}`; - } - this.id = await this._lwk.createRandomSigner(network); - return this; - } - - async keyoriginXpub(bip: Bip): Promise { - return await this._lwk.keyoriginXpub(this.id, bip.id); - } - - async mnemonic(): Promise { - return await this._lwk.mnemonic(this.id); - } -} diff --git a/src/classes/Transaction.ts b/src/classes/Transaction.ts deleted file mode 100644 index d26266a..0000000 --- a/src/classes/Transaction.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { NativeLoader } from './NativeLoader'; - -export class Transaction extends NativeLoader { - id: string = ''; - - async from(id: string): Promise { - this.id = id; - return this; - } - - async create(hex: string): Promise { - this.id = await this._lwk.createTransaction(hex); - return this; - } - - async txId(): Promise { - return await this._lwk.txId(this.id); - } - - async fee(policyAsset: string): Promise { - return this._lwk.txFee(this.id, policyAsset); - } - - async asString(): Promise { - return this._lwk.txAsString(this.id); - } -} diff --git a/src/classes/TxBuilder.ts b/src/classes/TxBuilder.ts deleted file mode 100644 index 6c3b4b9..0000000 --- a/src/classes/TxBuilder.ts +++ /dev/null @@ -1,100 +0,0 @@ -import { NativeLoader } from './NativeLoader'; -import { Wollet } from './Wollet'; -import { Pset } from './Pset'; -import { Transaction } from './Transaction'; -import type { Contract } from '../lib/types'; - -export class TxBuilder extends NativeLoader { - id: string = ''; - - async from(id: string): Promise { - this.id = id; - return this; - } - - async create(network: string): Promise { - this.id = await this._lwk.createTxBuilder(network); - return this; - } - - async addBurn(satoshi: number, asset: string): Promise { - return await this._lwk.txBuilderAddBurn(this.id, satoshi, asset); - } - async addLbtcRecipient(address: string, satoshi: number): Promise { - return await this._lwk.txBuilderAddLbtcRecipient(this.id, address, satoshi); - } - async addRecipient( - address: string, - satoshi: number, - asset: string - ): Promise { - return await this._lwk.txBuilderAddRecipient( - this.id, - address, - satoshi, - asset - ); - } - async drainLbtcTo(address: string): Promise { - return await this._lwk.txBuilderDrainLbtcTo(this.id, address); - } - async drainLbtcWallet(): Promise { - return await this._lwk.txBuilderDrainLbtcWallet(this.id); - } - async feeRate(rate: number | null): Promise { - return await this._lwk.txBuilderFeeRate(this.id, rate); - } - async enableDiscount(): Promise { - return await this._lwk.txBuilderEnableDiscount(this.id); - } - - async finish(wollet: Wollet): Promise { - let psetId = await this._lwk.txBuilderFinish(this.id, wollet.id); - return new Pset().from(psetId); - } - - async issueAsset( - assetSats: number, - assetReceiver: string | null, - tokenSats: number, - tokenReceiver: string | null, - contract: Contract | null - ): Promise { - let contractId = - contract == null - ? null - : this._lwk.createContract( - contract.domain, - contract.issuerPubkey, - contract.name, - contract.precision, - contract.ticker, - contract.version - ); - return await this._lwk.txBuilderIssueAsset( - this.id, - assetSats, - assetReceiver, - tokenSats, - tokenReceiver, - contractId - ); - } - - async reissueAsset( - assetToReissue: string, - satoshiToReissue: number, - assetReceiver: string | null, - issuanceTx: Transaction | null - ): Promise { - let transactionHex = - issuanceTx == null ? null : await issuanceTx?.asString(); - return await this._lwk.txBuilderReissueAsset( - this.id, - assetToReissue, - satoshiToReissue, - assetReceiver, - transactionHex - ); - } -} diff --git a/src/classes/Wollet.ts b/src/classes/Wollet.ts deleted file mode 100644 index 04269ba..0000000 --- a/src/classes/Wollet.ts +++ /dev/null @@ -1,49 +0,0 @@ -import { Network } from '../lib/enums'; -import { type Update, type Address, type Balance } from '../lib/types'; -import { type WolletTx } from '../lib/types'; -import { NativeLoader } from './NativeLoader'; -import { Descriptor } from './Descriptor'; -import { Pset } from './Pset'; -import { Client } from './Client'; - -export class Wollet extends NativeLoader { - id: string = ''; - updates: Array = []; - - async create( - network: Network, - descriptor: Descriptor, - datadir: string | null - ): Promise { - if (!Object.values(Network).includes(network)) { - throw `Invalid network passed. Allowed values are ${Object.values(Network)}`; - } - this.id = await this._lwk.createWollet(network, descriptor.id, datadir); - return this; - } - - async applyUpdate(update: Update): Promise { - await this._lwk.applyUpdate(this.id, update); - return null; - } - - async getTransactions(): Promise> { - return await this._lwk.getTransactions(this.id); - } - - async getAddress(addressNum: number | null = null): Promise
{ - return await this._lwk.getAddress(this.id, addressNum); - } - - async getBalance(): Promise { - return await this._lwk.getBalance(this.id); - } - - async finalize(pset: Pset): Promise { - let newPsetId = await this._lwk.finalize(this.id, pset.id); - return new Pset().from(newPsetId); - } - async waitTx(txid: string, client: Client): Promise { - return await this._lwk.waitTx(this.id, txid, client.id); - } -} diff --git a/src/generated/lwk-ffi.ts b/src/generated/lwk-ffi.ts new file mode 100644 index 0000000..ac34f38 --- /dev/null +++ b/src/generated/lwk-ffi.ts @@ -0,0 +1,1547 @@ +// This file was autogenerated by some hot garbage in the `uniffi-bindgen-react-native` crate. +// Trust me, you don't want to mess with it! + +import { + type StructuralEquality as UniffiStructuralEquality, + type UniffiForeignFuture as RuntimeUniffiForeignFuture, + type UniffiRustCallStatus, + type UniffiRustArcPtr, + type UniffiRustFutureContinuationCallback as RuntimeUniffiRustFutureContinuationCallback, + type UniffiResult, +} from 'uniffi-bindgen-react-native'; + +interface NativeModuleInterface { + ubrn_uniffi_internal_fn_func_ffi__string_to_byte_length( + string: string, + uniffi_out_err: UniffiRustCallStatus + ): number; + ubrn_uniffi_internal_fn_func_ffi__string_to_arraybuffer( + string: string, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_internal_fn_func_ffi__arraybuffer_to_string( + buffer: Uint8Array, + uniffi_out_err: UniffiRustCallStatus + ): string; + ubrn_uniffi_lwk_fn_clone_address( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_free_address( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): void; + ubrn_uniffi_lwk_fn_constructor_address_new( + s: Uint8Array, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_method_address_is_blinded( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): number; + ubrn_uniffi_lwk_fn_method_address_qr_code_text( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_method_address_qr_code_uri( + ptr: bigint, + pixelPerModule: Uint8Array, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_method_address_script_pubkey( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_method_address_to_unconfidential( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_method_address_uniffi_trait_display( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_clone_addressresult( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_free_addressresult( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): void; + ubrn_uniffi_lwk_fn_method_addressresult_address( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_method_addressresult_index( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): number; + ubrn_uniffi_lwk_fn_clone_amp2( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_free_amp2( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): void; + ubrn_uniffi_lwk_fn_constructor_amp2_new_testnet( + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_method_amp2_cosign( + ptr: bigint, + pset: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_method_amp2_descriptor_from_str( + ptr: bigint, + keyoriginXpub: Uint8Array, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_method_amp2_register( + ptr: bigint, + desc: bigint, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_clone_amp2descriptor( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_free_amp2descriptor( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): void; + ubrn_uniffi_lwk_fn_method_amp2descriptor_descriptor( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_method_amp2descriptor_uniffi_trait_display( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_clone_bip( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_free_bip( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): void; + ubrn_uniffi_lwk_fn_constructor_bip_new_bip49( + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_constructor_bip_new_bip84( + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_constructor_bip_new_bip87( + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_clone_contract( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_free_contract( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): void; + ubrn_uniffi_lwk_fn_constructor_contract_new( + domain: Uint8Array, + issuerPubkey: Uint8Array, + name: Uint8Array, + precision: number, + ticker: Uint8Array, + version: number, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_method_contract_uniffi_trait_display( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_clone_electrumclient( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_free_electrumclient( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): void; + ubrn_uniffi_lwk_fn_constructor_electrumclient_new( + electrumUrl: Uint8Array, + tls: number, + validateDomain: number, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_method_electrumclient_broadcast( + ptr: bigint, + tx: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_method_electrumclient_full_scan( + ptr: bigint, + wollet: bigint, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_method_electrumclient_full_scan_to_index( + ptr: bigint, + wollet: bigint, + index: number, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_method_electrumclient_ping( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): void; + ubrn_uniffi_lwk_fn_clone_esploraclient( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_free_esploraclient( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): void; + ubrn_uniffi_lwk_fn_constructor_esploraclient_new( + url: Uint8Array, + network: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_constructor_esploraclient_new_waterfalls( + url: Uint8Array, + network: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_method_esploraclient_broadcast( + ptr: bigint, + tx: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_method_esploraclient_full_scan( + ptr: bigint, + wollet: bigint, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_method_esploraclient_full_scan_to_index( + ptr: bigint, + wollet: bigint, + index: number, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_clone_foreignpersister( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_free_foreignpersister( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): void; + ubrn_uniffi_lwk_fn_method_foreignpersister_get( + ptr: bigint, + index: bigint, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_method_foreignpersister_push( + ptr: bigint, + update: bigint, + uniffi_out_err: UniffiRustCallStatus + ): void; + ubrn_uniffi_lwk_fn_clone_foreignpersisterlink( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_free_foreignpersisterlink( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): void; + ubrn_uniffi_lwk_fn_constructor_foreignpersisterlink_new( + persister: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_clone_issuance( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_free_issuance( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): void; + ubrn_uniffi_lwk_fn_method_issuance_asset( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_method_issuance_is_issuance( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): number; + ubrn_uniffi_lwk_fn_method_issuance_is_reissuance( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): number; + ubrn_uniffi_lwk_fn_method_issuance_prev_txid( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_method_issuance_prev_vout( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_method_issuance_token( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_clone_mnemonic( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_free_mnemonic( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): void; + ubrn_uniffi_lwk_fn_constructor_mnemonic_from_entropy( + b: Uint8Array, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_constructor_mnemonic_from_random( + wordCount: number, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_constructor_mnemonic_new( + s: Uint8Array, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_method_mnemonic_uniffi_trait_display( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_clone_network( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_free_network( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): void; + ubrn_uniffi_lwk_fn_constructor_network_mainnet( + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_constructor_network_regtest( + policyAsset: Uint8Array, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_constructor_network_regtest_default( + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_constructor_network_testnet( + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_method_network_default_electrum_client( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_method_network_default_esplora_client( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_method_network_is_mainnet( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): number; + ubrn_uniffi_lwk_fn_method_network_policy_asset( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_method_network_tx_builder( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_method_network_uniffi_trait_display( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_clone_outpoint( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_free_outpoint( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): void; + ubrn_uniffi_lwk_fn_constructor_outpoint_new( + s: Uint8Array, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_method_outpoint_txid( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_method_outpoint_vout( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): number; + ubrn_uniffi_lwk_fn_method_outpoint_uniffi_trait_display( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_clone_precision( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_free_precision( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): void; + ubrn_uniffi_lwk_fn_constructor_precision_new( + precision: number, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_method_precision_sats_to_string( + ptr: bigint, + sats: bigint, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_method_precision_string_to_sats( + ptr: bigint, + val: Uint8Array, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_clone_pset( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_free_pset( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): void; + ubrn_uniffi_lwk_fn_constructor_pset_new( + base64: Uint8Array, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_method_pset_extract_tx( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_method_pset_finalize( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_method_pset_inputs( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_method_pset_uniffi_trait_display( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_clone_psetbalance( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_free_psetbalance( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): void; + ubrn_uniffi_lwk_fn_method_psetbalance_balances( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_method_psetbalance_fee( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_method_psetbalance_recipients( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_clone_psetdetails( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_free_psetdetails( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): void; + ubrn_uniffi_lwk_fn_method_psetdetails_balance( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_method_psetdetails_inputs_issuances( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_method_psetdetails_signatures( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_clone_psetinput( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_free_psetinput( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): void; + ubrn_uniffi_lwk_fn_method_psetinput_issuance_asset( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_method_psetinput_issuance_token( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_method_psetinput_previous_script_pubkey( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_method_psetinput_previous_txid( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_method_psetinput_previous_vout( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): number; + ubrn_uniffi_lwk_fn_method_psetinput_redeem_script( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_clone_psetsignatures( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_free_psetsignatures( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): void; + ubrn_uniffi_lwk_fn_method_psetsignatures_has_signature( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_method_psetsignatures_missing_signature( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_clone_recipient( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_free_recipient( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): void; + ubrn_uniffi_lwk_fn_method_recipient_address( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_method_recipient_asset( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_method_recipient_value( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_method_recipient_vout( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): number; + ubrn_uniffi_lwk_fn_clone_script( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_free_script( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): void; + ubrn_uniffi_lwk_fn_constructor_script_new( + hex: Uint8Array, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_method_script_asm( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_method_script_bytes( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_method_script_uniffi_trait_display( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_clone_secretkey( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_free_secretkey( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): void; + ubrn_uniffi_lwk_fn_constructor_secretkey_from_bytes( + bytes: Uint8Array, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_method_secretkey_bytes( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_clone_signer( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_free_signer( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): void; + ubrn_uniffi_lwk_fn_constructor_signer_new( + mnemonic: bigint, + network: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_constructor_signer_random( + network: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_method_signer_keyorigin_xpub( + ptr: bigint, + bip: bigint, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_method_signer_mnemonic( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_method_signer_sign( + ptr: bigint, + pset: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_method_signer_wpkh_slip77_descriptor( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_clone_testenv( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_free_testenv( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): void; + ubrn_uniffi_lwk_fn_constructor_testenv_new( + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_method_testenv_electrum_url( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_method_testenv_generate( + ptr: bigint, + blocks: number, + uniffi_out_err: UniffiRustCallStatus + ): void; + ubrn_uniffi_lwk_fn_method_testenv_get_new_address( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_method_testenv_height( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_method_testenv_issue_asset( + ptr: bigint, + satoshi: bigint, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_method_testenv_send_to_address( + ptr: bigint, + address: bigint, + satoshi: bigint, + asset: Uint8Array, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_clone_transaction( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_free_transaction( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): void; + ubrn_uniffi_lwk_fn_constructor_transaction_new( + hex: Uint8Array, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_method_transaction_bytes( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_method_transaction_fee( + ptr: bigint, + policyAsset: Uint8Array, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_method_transaction_inputs( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_method_transaction_outputs( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_method_transaction_txid( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_method_transaction_uniffi_trait_display( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_clone_txbuilder( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_free_txbuilder( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): void; + ubrn_uniffi_lwk_fn_constructor_txbuilder_new( + network: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_method_txbuilder_add_burn( + ptr: bigint, + satoshi: bigint, + asset: Uint8Array, + uniffi_out_err: UniffiRustCallStatus + ): void; + ubrn_uniffi_lwk_fn_method_txbuilder_add_lbtc_recipient( + ptr: bigint, + address: bigint, + satoshi: bigint, + uniffi_out_err: UniffiRustCallStatus + ): void; + ubrn_uniffi_lwk_fn_method_txbuilder_add_recipient( + ptr: bigint, + address: bigint, + satoshi: bigint, + asset: Uint8Array, + uniffi_out_err: UniffiRustCallStatus + ): void; + ubrn_uniffi_lwk_fn_method_txbuilder_drain_lbtc_to( + ptr: bigint, + address: bigint, + uniffi_out_err: UniffiRustCallStatus + ): void; + ubrn_uniffi_lwk_fn_method_txbuilder_drain_lbtc_wallet( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): void; + ubrn_uniffi_lwk_fn_method_txbuilder_fee_rate( + ptr: bigint, + rate: Uint8Array, + uniffi_out_err: UniffiRustCallStatus + ): void; + ubrn_uniffi_lwk_fn_method_txbuilder_finish( + ptr: bigint, + wollet: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_method_txbuilder_issue_asset( + ptr: bigint, + assetSats: bigint, + assetReceiver: Uint8Array, + tokenSats: bigint, + tokenReceiver: Uint8Array, + contract: Uint8Array, + uniffi_out_err: UniffiRustCallStatus + ): void; + ubrn_uniffi_lwk_fn_method_txbuilder_reissue_asset( + ptr: bigint, + assetToReissue: Uint8Array, + satoshiToReissue: bigint, + assetReceiver: Uint8Array, + issuanceTx: Uint8Array, + uniffi_out_err: UniffiRustCallStatus + ): void; + ubrn_uniffi_lwk_fn_method_txbuilder_set_wallet_utxos( + ptr: bigint, + utxos: Uint8Array, + uniffi_out_err: UniffiRustCallStatus + ): void; + ubrn_uniffi_lwk_fn_method_txbuilder_uniffi_trait_display( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_clone_txin( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_free_txin( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): void; + ubrn_uniffi_lwk_fn_method_txin_outpoint( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_clone_txout( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_free_txout( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): void; + ubrn_uniffi_lwk_fn_method_txout_asset( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_method_txout_is_fee( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): number; + ubrn_uniffi_lwk_fn_method_txout_is_partially_blinded( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): number; + ubrn_uniffi_lwk_fn_method_txout_script_pubkey( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_method_txout_unblind( + ptr: bigint, + secretKey: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_method_txout_value( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_clone_txoutsecrets( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_free_txoutsecrets( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): void; + ubrn_uniffi_lwk_fn_method_txoutsecrets_asset( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_method_txoutsecrets_asset_bf( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_method_txoutsecrets_value( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_method_txoutsecrets_value_bf( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_clone_txid( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_free_txid( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): void; + ubrn_uniffi_lwk_fn_constructor_txid_new( + hex: Uint8Array, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_method_txid_bytes( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_method_txid_uniffi_trait_display( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_clone_update( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_free_update( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): void; + ubrn_uniffi_lwk_fn_constructor_update_new( + bytes: Uint8Array, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_method_update_only_tip( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): number; + ubrn_uniffi_lwk_fn_method_update_serialize( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_clone_wallettx( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_free_wallettx( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): void; + ubrn_uniffi_lwk_fn_method_wallettx_balance( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_method_wallettx_fee( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_method_wallettx_height( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_method_wallettx_inputs( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_method_wallettx_outputs( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_method_wallettx_timestamp( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_method_wallettx_tx( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_method_wallettx_txid( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_method_wallettx_type_( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_method_wallettx_unblinded_url( + ptr: bigint, + explorerUrl: Uint8Array, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_clone_wallettxout( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_free_wallettxout( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): void; + ubrn_uniffi_lwk_fn_method_wallettxout_address( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_method_wallettxout_ext_int( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_method_wallettxout_height( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_method_wallettxout_outpoint( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_method_wallettxout_script_pubkey( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_method_wallettxout_unblinded( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_method_wallettxout_wildcard_index( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): number; + ubrn_uniffi_lwk_fn_clone_wollet( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_free_wollet( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): void; + ubrn_uniffi_lwk_fn_constructor_wollet_new( + network: bigint, + descriptor: bigint, + datadir: Uint8Array, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_constructor_wollet_with_custom_persister( + network: bigint, + descriptor: bigint, + persister: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_method_wollet_address( + ptr: bigint, + index: Uint8Array, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_method_wollet_apply_update( + ptr: bigint, + update: bigint, + uniffi_out_err: UniffiRustCallStatus + ): void; + ubrn_uniffi_lwk_fn_method_wollet_balance( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_method_wollet_descriptor( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_method_wollet_finalize( + ptr: bigint, + pset: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_method_wollet_pset_details( + ptr: bigint, + pset: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_method_wollet_transactions( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_method_wollet_txos( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_method_wollet_utxos( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_method_wollet_wait_for_tx( + ptr: bigint, + txid: bigint, + client: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_clone_wolletdescriptor( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_free_wolletdescriptor( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): void; + ubrn_uniffi_lwk_fn_constructor_wolletdescriptor_new( + descriptor: Uint8Array, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_method_wolletdescriptor_derive_blinding_key( + ptr: bigint, + scriptPubkey: bigint, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_method_wolletdescriptor_is_mainnet( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): number; + ubrn_uniffi_lwk_fn_method_wolletdescriptor_script_pubkey( + ptr: bigint, + extInt: Uint8Array, + index: number, + uniffi_out_err: UniffiRustCallStatus + ): bigint; + ubrn_uniffi_lwk_fn_method_wolletdescriptor_uniffi_trait_display( + ptr: bigint, + uniffi_out_err: UniffiRustCallStatus + ): Uint8Array; + ubrn_uniffi_lwk_fn_func_is_provably_segwit( + scriptPubkey: bigint, + redeemScript: Uint8Array, + uniffi_out_err: UniffiRustCallStatus + ): number; + ubrn_uniffi_lwk_checksum_func_is_provably_segwit(): number; + ubrn_uniffi_lwk_checksum_method_address_is_blinded(): number; + ubrn_uniffi_lwk_checksum_method_address_qr_code_text(): number; + ubrn_uniffi_lwk_checksum_method_address_qr_code_uri(): number; + ubrn_uniffi_lwk_checksum_method_address_script_pubkey(): number; + ubrn_uniffi_lwk_checksum_method_address_to_unconfidential(): number; + ubrn_uniffi_lwk_checksum_method_addressresult_address(): number; + ubrn_uniffi_lwk_checksum_method_addressresult_index(): number; + ubrn_uniffi_lwk_checksum_method_amp2_cosign(): number; + ubrn_uniffi_lwk_checksum_method_amp2_descriptor_from_str(): number; + ubrn_uniffi_lwk_checksum_method_amp2_register(): number; + ubrn_uniffi_lwk_checksum_method_amp2descriptor_descriptor(): number; + ubrn_uniffi_lwk_checksum_method_electrumclient_broadcast(): number; + ubrn_uniffi_lwk_checksum_method_electrumclient_full_scan(): number; + ubrn_uniffi_lwk_checksum_method_electrumclient_full_scan_to_index(): number; + ubrn_uniffi_lwk_checksum_method_electrumclient_ping(): number; + ubrn_uniffi_lwk_checksum_method_esploraclient_broadcast(): number; + ubrn_uniffi_lwk_checksum_method_esploraclient_full_scan(): number; + ubrn_uniffi_lwk_checksum_method_esploraclient_full_scan_to_index(): number; + ubrn_uniffi_lwk_checksum_method_foreignpersister_get(): number; + ubrn_uniffi_lwk_checksum_method_foreignpersister_push(): number; + ubrn_uniffi_lwk_checksum_method_issuance_asset(): number; + ubrn_uniffi_lwk_checksum_method_issuance_is_issuance(): number; + ubrn_uniffi_lwk_checksum_method_issuance_is_reissuance(): number; + ubrn_uniffi_lwk_checksum_method_issuance_prev_txid(): number; + ubrn_uniffi_lwk_checksum_method_issuance_prev_vout(): number; + ubrn_uniffi_lwk_checksum_method_issuance_token(): number; + ubrn_uniffi_lwk_checksum_method_network_default_electrum_client(): number; + ubrn_uniffi_lwk_checksum_method_network_default_esplora_client(): number; + ubrn_uniffi_lwk_checksum_method_network_is_mainnet(): number; + ubrn_uniffi_lwk_checksum_method_network_policy_asset(): number; + ubrn_uniffi_lwk_checksum_method_network_tx_builder(): number; + ubrn_uniffi_lwk_checksum_method_outpoint_txid(): number; + ubrn_uniffi_lwk_checksum_method_outpoint_vout(): number; + ubrn_uniffi_lwk_checksum_method_precision_sats_to_string(): number; + ubrn_uniffi_lwk_checksum_method_precision_string_to_sats(): number; + ubrn_uniffi_lwk_checksum_method_pset_extract_tx(): number; + ubrn_uniffi_lwk_checksum_method_pset_finalize(): number; + ubrn_uniffi_lwk_checksum_method_pset_inputs(): number; + ubrn_uniffi_lwk_checksum_method_psetbalance_balances(): number; + ubrn_uniffi_lwk_checksum_method_psetbalance_fee(): number; + ubrn_uniffi_lwk_checksum_method_psetbalance_recipients(): number; + ubrn_uniffi_lwk_checksum_method_psetdetails_balance(): number; + ubrn_uniffi_lwk_checksum_method_psetdetails_inputs_issuances(): number; + ubrn_uniffi_lwk_checksum_method_psetdetails_signatures(): number; + ubrn_uniffi_lwk_checksum_method_psetinput_issuance_asset(): number; + ubrn_uniffi_lwk_checksum_method_psetinput_issuance_token(): number; + ubrn_uniffi_lwk_checksum_method_psetinput_previous_script_pubkey(): number; + ubrn_uniffi_lwk_checksum_method_psetinput_previous_txid(): number; + ubrn_uniffi_lwk_checksum_method_psetinput_previous_vout(): number; + ubrn_uniffi_lwk_checksum_method_psetinput_redeem_script(): number; + ubrn_uniffi_lwk_checksum_method_psetsignatures_has_signature(): number; + ubrn_uniffi_lwk_checksum_method_psetsignatures_missing_signature(): number; + ubrn_uniffi_lwk_checksum_method_recipient_address(): number; + ubrn_uniffi_lwk_checksum_method_recipient_asset(): number; + ubrn_uniffi_lwk_checksum_method_recipient_value(): number; + ubrn_uniffi_lwk_checksum_method_recipient_vout(): number; + ubrn_uniffi_lwk_checksum_method_script_asm(): number; + ubrn_uniffi_lwk_checksum_method_script_bytes(): number; + ubrn_uniffi_lwk_checksum_method_secretkey_bytes(): number; + ubrn_uniffi_lwk_checksum_method_signer_keyorigin_xpub(): number; + ubrn_uniffi_lwk_checksum_method_signer_mnemonic(): number; + ubrn_uniffi_lwk_checksum_method_signer_sign(): number; + ubrn_uniffi_lwk_checksum_method_signer_wpkh_slip77_descriptor(): number; + ubrn_uniffi_lwk_checksum_method_testenv_electrum_url(): number; + ubrn_uniffi_lwk_checksum_method_testenv_generate(): number; + ubrn_uniffi_lwk_checksum_method_testenv_get_new_address(): number; + ubrn_uniffi_lwk_checksum_method_testenv_height(): number; + ubrn_uniffi_lwk_checksum_method_testenv_issue_asset(): number; + ubrn_uniffi_lwk_checksum_method_testenv_send_to_address(): number; + ubrn_uniffi_lwk_checksum_method_transaction_bytes(): number; + ubrn_uniffi_lwk_checksum_method_transaction_fee(): number; + ubrn_uniffi_lwk_checksum_method_transaction_inputs(): number; + ubrn_uniffi_lwk_checksum_method_transaction_outputs(): number; + ubrn_uniffi_lwk_checksum_method_transaction_txid(): number; + ubrn_uniffi_lwk_checksum_method_txbuilder_add_burn(): number; + ubrn_uniffi_lwk_checksum_method_txbuilder_add_lbtc_recipient(): number; + ubrn_uniffi_lwk_checksum_method_txbuilder_add_recipient(): number; + ubrn_uniffi_lwk_checksum_method_txbuilder_drain_lbtc_to(): number; + ubrn_uniffi_lwk_checksum_method_txbuilder_drain_lbtc_wallet(): number; + ubrn_uniffi_lwk_checksum_method_txbuilder_fee_rate(): number; + ubrn_uniffi_lwk_checksum_method_txbuilder_finish(): number; + ubrn_uniffi_lwk_checksum_method_txbuilder_issue_asset(): number; + ubrn_uniffi_lwk_checksum_method_txbuilder_reissue_asset(): number; + ubrn_uniffi_lwk_checksum_method_txbuilder_set_wallet_utxos(): number; + ubrn_uniffi_lwk_checksum_method_txin_outpoint(): number; + ubrn_uniffi_lwk_checksum_method_txout_asset(): number; + ubrn_uniffi_lwk_checksum_method_txout_is_fee(): number; + ubrn_uniffi_lwk_checksum_method_txout_is_partially_blinded(): number; + ubrn_uniffi_lwk_checksum_method_txout_script_pubkey(): number; + ubrn_uniffi_lwk_checksum_method_txout_unblind(): number; + ubrn_uniffi_lwk_checksum_method_txout_value(): number; + ubrn_uniffi_lwk_checksum_method_txoutsecrets_asset(): number; + ubrn_uniffi_lwk_checksum_method_txoutsecrets_asset_bf(): number; + ubrn_uniffi_lwk_checksum_method_txoutsecrets_value(): number; + ubrn_uniffi_lwk_checksum_method_txoutsecrets_value_bf(): number; + ubrn_uniffi_lwk_checksum_method_txid_bytes(): number; + ubrn_uniffi_lwk_checksum_method_update_only_tip(): number; + ubrn_uniffi_lwk_checksum_method_update_serialize(): number; + ubrn_uniffi_lwk_checksum_method_wallettx_balance(): number; + ubrn_uniffi_lwk_checksum_method_wallettx_fee(): number; + ubrn_uniffi_lwk_checksum_method_wallettx_height(): number; + ubrn_uniffi_lwk_checksum_method_wallettx_inputs(): number; + ubrn_uniffi_lwk_checksum_method_wallettx_outputs(): number; + ubrn_uniffi_lwk_checksum_method_wallettx_timestamp(): number; + ubrn_uniffi_lwk_checksum_method_wallettx_tx(): number; + ubrn_uniffi_lwk_checksum_method_wallettx_txid(): number; + ubrn_uniffi_lwk_checksum_method_wallettx_type_(): number; + ubrn_uniffi_lwk_checksum_method_wallettx_unblinded_url(): number; + ubrn_uniffi_lwk_checksum_method_wallettxout_address(): number; + ubrn_uniffi_lwk_checksum_method_wallettxout_ext_int(): number; + ubrn_uniffi_lwk_checksum_method_wallettxout_height(): number; + ubrn_uniffi_lwk_checksum_method_wallettxout_outpoint(): number; + ubrn_uniffi_lwk_checksum_method_wallettxout_script_pubkey(): number; + ubrn_uniffi_lwk_checksum_method_wallettxout_unblinded(): number; + ubrn_uniffi_lwk_checksum_method_wallettxout_wildcard_index(): number; + ubrn_uniffi_lwk_checksum_method_wollet_address(): number; + ubrn_uniffi_lwk_checksum_method_wollet_apply_update(): number; + ubrn_uniffi_lwk_checksum_method_wollet_balance(): number; + ubrn_uniffi_lwk_checksum_method_wollet_descriptor(): number; + ubrn_uniffi_lwk_checksum_method_wollet_finalize(): number; + ubrn_uniffi_lwk_checksum_method_wollet_pset_details(): number; + ubrn_uniffi_lwk_checksum_method_wollet_transactions(): number; + ubrn_uniffi_lwk_checksum_method_wollet_txos(): number; + ubrn_uniffi_lwk_checksum_method_wollet_utxos(): number; + ubrn_uniffi_lwk_checksum_method_wollet_wait_for_tx(): number; + ubrn_uniffi_lwk_checksum_method_wolletdescriptor_derive_blinding_key(): number; + ubrn_uniffi_lwk_checksum_method_wolletdescriptor_is_mainnet(): number; + ubrn_uniffi_lwk_checksum_method_wolletdescriptor_script_pubkey(): number; + ubrn_uniffi_lwk_checksum_constructor_address_new(): number; + ubrn_uniffi_lwk_checksum_constructor_amp2_new_testnet(): number; + ubrn_uniffi_lwk_checksum_constructor_bip_new_bip49(): number; + ubrn_uniffi_lwk_checksum_constructor_bip_new_bip84(): number; + ubrn_uniffi_lwk_checksum_constructor_bip_new_bip87(): number; + ubrn_uniffi_lwk_checksum_constructor_contract_new(): number; + ubrn_uniffi_lwk_checksum_constructor_electrumclient_new(): number; + ubrn_uniffi_lwk_checksum_constructor_esploraclient_new(): number; + ubrn_uniffi_lwk_checksum_constructor_esploraclient_new_waterfalls(): number; + ubrn_uniffi_lwk_checksum_constructor_foreignpersisterlink_new(): number; + ubrn_uniffi_lwk_checksum_constructor_mnemonic_from_entropy(): number; + ubrn_uniffi_lwk_checksum_constructor_mnemonic_from_random(): number; + ubrn_uniffi_lwk_checksum_constructor_mnemonic_new(): number; + ubrn_uniffi_lwk_checksum_constructor_network_mainnet(): number; + ubrn_uniffi_lwk_checksum_constructor_network_regtest(): number; + ubrn_uniffi_lwk_checksum_constructor_network_regtest_default(): number; + ubrn_uniffi_lwk_checksum_constructor_network_testnet(): number; + ubrn_uniffi_lwk_checksum_constructor_outpoint_new(): number; + ubrn_uniffi_lwk_checksum_constructor_precision_new(): number; + ubrn_uniffi_lwk_checksum_constructor_pset_new(): number; + ubrn_uniffi_lwk_checksum_constructor_script_new(): number; + ubrn_uniffi_lwk_checksum_constructor_secretkey_from_bytes(): number; + ubrn_uniffi_lwk_checksum_constructor_signer_new(): number; + ubrn_uniffi_lwk_checksum_constructor_signer_random(): number; + ubrn_uniffi_lwk_checksum_constructor_testenv_new(): number; + ubrn_uniffi_lwk_checksum_constructor_transaction_new(): number; + ubrn_uniffi_lwk_checksum_constructor_txbuilder_new(): number; + ubrn_uniffi_lwk_checksum_constructor_txid_new(): number; + ubrn_uniffi_lwk_checksum_constructor_update_new(): number; + ubrn_uniffi_lwk_checksum_constructor_wollet_new(): number; + ubrn_uniffi_lwk_checksum_constructor_wollet_with_custom_persister(): number; + ubrn_uniffi_lwk_checksum_constructor_wolletdescriptor_new(): number; + ubrn_ffi_lwk_uniffi_contract_version(): number; + ubrn_uniffi_lwk_fn_init_callback_vtable_foreignpersister( + vtable: UniffiVTableCallbackInterfaceForeignPersister + ): void; + ubrn_uniffi_internal_fn_method_address_ffi__bless_pointer( + pointer: bigint, + uniffi_out_err: UniffiRustCallStatus + ): UniffiRustArcPtr; + ubrn_uniffi_internal_fn_method_addressresult_ffi__bless_pointer( + pointer: bigint, + uniffi_out_err: UniffiRustCallStatus + ): UniffiRustArcPtr; + ubrn_uniffi_internal_fn_method_amp2_ffi__bless_pointer( + pointer: bigint, + uniffi_out_err: UniffiRustCallStatus + ): UniffiRustArcPtr; + ubrn_uniffi_internal_fn_method_amp2descriptor_ffi__bless_pointer( + pointer: bigint, + uniffi_out_err: UniffiRustCallStatus + ): UniffiRustArcPtr; + ubrn_uniffi_internal_fn_method_bip_ffi__bless_pointer( + pointer: bigint, + uniffi_out_err: UniffiRustCallStatus + ): UniffiRustArcPtr; + ubrn_uniffi_internal_fn_method_contract_ffi__bless_pointer( + pointer: bigint, + uniffi_out_err: UniffiRustCallStatus + ): UniffiRustArcPtr; + ubrn_uniffi_internal_fn_method_electrumclient_ffi__bless_pointer( + pointer: bigint, + uniffi_out_err: UniffiRustCallStatus + ): UniffiRustArcPtr; + ubrn_uniffi_internal_fn_method_esploraclient_ffi__bless_pointer( + pointer: bigint, + uniffi_out_err: UniffiRustCallStatus + ): UniffiRustArcPtr; + ubrn_uniffi_internal_fn_method_foreignpersister_ffi__bless_pointer( + pointer: bigint, + uniffi_out_err: UniffiRustCallStatus + ): UniffiRustArcPtr; + ubrn_uniffi_internal_fn_method_foreignpersisterlink_ffi__bless_pointer( + pointer: bigint, + uniffi_out_err: UniffiRustCallStatus + ): UniffiRustArcPtr; + ubrn_uniffi_internal_fn_method_issuance_ffi__bless_pointer( + pointer: bigint, + uniffi_out_err: UniffiRustCallStatus + ): UniffiRustArcPtr; + ubrn_uniffi_internal_fn_method_mnemonic_ffi__bless_pointer( + pointer: bigint, + uniffi_out_err: UniffiRustCallStatus + ): UniffiRustArcPtr; + ubrn_uniffi_internal_fn_method_network_ffi__bless_pointer( + pointer: bigint, + uniffi_out_err: UniffiRustCallStatus + ): UniffiRustArcPtr; + ubrn_uniffi_internal_fn_method_outpoint_ffi__bless_pointer( + pointer: bigint, + uniffi_out_err: UniffiRustCallStatus + ): UniffiRustArcPtr; + ubrn_uniffi_internal_fn_method_precision_ffi__bless_pointer( + pointer: bigint, + uniffi_out_err: UniffiRustCallStatus + ): UniffiRustArcPtr; + ubrn_uniffi_internal_fn_method_pset_ffi__bless_pointer( + pointer: bigint, + uniffi_out_err: UniffiRustCallStatus + ): UniffiRustArcPtr; + ubrn_uniffi_internal_fn_method_psetbalance_ffi__bless_pointer( + pointer: bigint, + uniffi_out_err: UniffiRustCallStatus + ): UniffiRustArcPtr; + ubrn_uniffi_internal_fn_method_psetdetails_ffi__bless_pointer( + pointer: bigint, + uniffi_out_err: UniffiRustCallStatus + ): UniffiRustArcPtr; + ubrn_uniffi_internal_fn_method_psetinput_ffi__bless_pointer( + pointer: bigint, + uniffi_out_err: UniffiRustCallStatus + ): UniffiRustArcPtr; + ubrn_uniffi_internal_fn_method_psetsignatures_ffi__bless_pointer( + pointer: bigint, + uniffi_out_err: UniffiRustCallStatus + ): UniffiRustArcPtr; + ubrn_uniffi_internal_fn_method_recipient_ffi__bless_pointer( + pointer: bigint, + uniffi_out_err: UniffiRustCallStatus + ): UniffiRustArcPtr; + ubrn_uniffi_internal_fn_method_script_ffi__bless_pointer( + pointer: bigint, + uniffi_out_err: UniffiRustCallStatus + ): UniffiRustArcPtr; + ubrn_uniffi_internal_fn_method_secretkey_ffi__bless_pointer( + pointer: bigint, + uniffi_out_err: UniffiRustCallStatus + ): UniffiRustArcPtr; + ubrn_uniffi_internal_fn_method_signer_ffi__bless_pointer( + pointer: bigint, + uniffi_out_err: UniffiRustCallStatus + ): UniffiRustArcPtr; + ubrn_uniffi_internal_fn_method_testenv_ffi__bless_pointer( + pointer: bigint, + uniffi_out_err: UniffiRustCallStatus + ): UniffiRustArcPtr; + ubrn_uniffi_internal_fn_method_transaction_ffi__bless_pointer( + pointer: bigint, + uniffi_out_err: UniffiRustCallStatus + ): UniffiRustArcPtr; + ubrn_uniffi_internal_fn_method_txbuilder_ffi__bless_pointer( + pointer: bigint, + uniffi_out_err: UniffiRustCallStatus + ): UniffiRustArcPtr; + ubrn_uniffi_internal_fn_method_txin_ffi__bless_pointer( + pointer: bigint, + uniffi_out_err: UniffiRustCallStatus + ): UniffiRustArcPtr; + ubrn_uniffi_internal_fn_method_txout_ffi__bless_pointer( + pointer: bigint, + uniffi_out_err: UniffiRustCallStatus + ): UniffiRustArcPtr; + ubrn_uniffi_internal_fn_method_txoutsecrets_ffi__bless_pointer( + pointer: bigint, + uniffi_out_err: UniffiRustCallStatus + ): UniffiRustArcPtr; + ubrn_uniffi_internal_fn_method_txid_ffi__bless_pointer( + pointer: bigint, + uniffi_out_err: UniffiRustCallStatus + ): UniffiRustArcPtr; + ubrn_uniffi_internal_fn_method_update_ffi__bless_pointer( + pointer: bigint, + uniffi_out_err: UniffiRustCallStatus + ): UniffiRustArcPtr; + ubrn_uniffi_internal_fn_method_wallettx_ffi__bless_pointer( + pointer: bigint, + uniffi_out_err: UniffiRustCallStatus + ): UniffiRustArcPtr; + ubrn_uniffi_internal_fn_method_wallettxout_ffi__bless_pointer( + pointer: bigint, + uniffi_out_err: UniffiRustCallStatus + ): UniffiRustArcPtr; + ubrn_uniffi_internal_fn_method_wollet_ffi__bless_pointer( + pointer: bigint, + uniffi_out_err: UniffiRustCallStatus + ): UniffiRustArcPtr; + ubrn_uniffi_internal_fn_method_wolletdescriptor_ffi__bless_pointer( + pointer: bigint, + uniffi_out_err: UniffiRustCallStatus + ): UniffiRustArcPtr; +} + +// Casting globalThis to any allows us to look for `NativeLwk` +// if it was added via JSI. +// +// We use a getter here rather than simply `globalThis.NativeLwk` so that +// if/when the startup sequence isn't just so, an empty value isn't inadvertantly cached. +const getter: () => NativeModuleInterface = () => (globalThis as any).NativeLwk; +export default getter; + +// Structs and function types for calling back into Typescript from Rust. +export type UniffiRustFutureContinuationCallback = ( + data: bigint, + pollResult: number +) => void; +type UniffiForeignFutureFree = (handle: bigint) => void; +type UniffiCallbackInterfaceFree = (handle: bigint) => void; +export type UniffiForeignFuture = { + handle: bigint; + free: UniffiForeignFutureFree; +}; +export type UniffiForeignFutureStructU8 = { + returnValue: number; + callStatus: UniffiRustCallStatus; +}; +export type UniffiForeignFutureCompleteU8 = ( + callbackData: bigint, + result: UniffiForeignFutureStructU8 +) => void; +export type UniffiForeignFutureStructI8 = { + returnValue: number; + callStatus: UniffiRustCallStatus; +}; +export type UniffiForeignFutureCompleteI8 = ( + callbackData: bigint, + result: UniffiForeignFutureStructI8 +) => void; +export type UniffiForeignFutureStructU16 = { + returnValue: number; + callStatus: UniffiRustCallStatus; +}; +export type UniffiForeignFutureCompleteU16 = ( + callbackData: bigint, + result: UniffiForeignFutureStructU16 +) => void; +export type UniffiForeignFutureStructI16 = { + returnValue: number; + callStatus: UniffiRustCallStatus; +}; +export type UniffiForeignFutureCompleteI16 = ( + callbackData: bigint, + result: UniffiForeignFutureStructI16 +) => void; +export type UniffiForeignFutureStructU32 = { + returnValue: number; + callStatus: UniffiRustCallStatus; +}; +export type UniffiForeignFutureCompleteU32 = ( + callbackData: bigint, + result: UniffiForeignFutureStructU32 +) => void; +export type UniffiForeignFutureStructI32 = { + returnValue: number; + callStatus: UniffiRustCallStatus; +}; +export type UniffiForeignFutureCompleteI32 = ( + callbackData: bigint, + result: UniffiForeignFutureStructI32 +) => void; +export type UniffiForeignFutureStructU64 = { + returnValue: bigint; + callStatus: UniffiRustCallStatus; +}; +export type UniffiForeignFutureCompleteU64 = ( + callbackData: bigint, + result: UniffiForeignFutureStructU64 +) => void; +export type UniffiForeignFutureStructI64 = { + returnValue: bigint; + callStatus: UniffiRustCallStatus; +}; +export type UniffiForeignFutureCompleteI64 = ( + callbackData: bigint, + result: UniffiForeignFutureStructI64 +) => void; +export type UniffiForeignFutureStructF32 = { + returnValue: number; + callStatus: UniffiRustCallStatus; +}; +export type UniffiForeignFutureCompleteF32 = ( + callbackData: bigint, + result: UniffiForeignFutureStructF32 +) => void; +export type UniffiForeignFutureStructF64 = { + returnValue: number; + callStatus: UniffiRustCallStatus; +}; +export type UniffiForeignFutureCompleteF64 = ( + callbackData: bigint, + result: UniffiForeignFutureStructF64 +) => void; +export type UniffiForeignFutureStructPointer = { + returnValue: bigint; + callStatus: UniffiRustCallStatus; +}; +export type UniffiForeignFutureCompletePointer = ( + callbackData: bigint, + result: UniffiForeignFutureStructPointer +) => void; +export type UniffiForeignFutureStructRustBuffer = { + returnValue: Uint8Array; + callStatus: UniffiRustCallStatus; +}; +export type UniffiForeignFutureCompleteRustBuffer = ( + callbackData: bigint, + result: UniffiForeignFutureStructRustBuffer +) => void; +export type UniffiForeignFutureStructVoid = { + callStatus: UniffiRustCallStatus; +}; +export type UniffiForeignFutureCompleteVoid = ( + callbackData: bigint, + result: UniffiForeignFutureStructVoid +) => void; +type UniffiCallbackInterfaceForeignPersisterMethod0 = ( + uniffiHandle: bigint, + index: bigint +) => UniffiResult; +type UniffiCallbackInterfaceForeignPersisterMethod1 = ( + uniffiHandle: bigint, + update: bigint +) => UniffiResult; +export type UniffiVTableCallbackInterfaceForeignPersister = { + get: UniffiCallbackInterfaceForeignPersisterMethod0; + push: UniffiCallbackInterfaceForeignPersisterMethod1; + uniffiFree: UniffiCallbackInterfaceFree; +}; + +// UniffiRustFutureContinuationCallback is generated as part of the component interface's +// ffi_definitions. However, we need it in the runtime. +// We could: +// (a) do some complicated template logic to ensure the declaration is not generated here (possible) +// (b) import the generated declaration into the runtime (m a y b e) or… +// (c) generate the declaration anyway, and use a different declaration in the runtime. +// +// We chose (c) here as the simplest. In addition, we perform a compile time check that +// the two versions of `UniffiRustFutureContinuationCallback` are structurally equivalent. +// +// If you see the error: +// ``` +// Type 'true' is not assignable to type 'false'.(2322) +// ``` +// Then a new version of uniffi has changed the signature of the callback. Most likely, code in +// `typescript/src/async-rust-call.ts` will need to be changed. +// +// If you see the error: +// ``` +// Cannot find name 'UniffiRustFutureContinuationCallback'. Did you mean 'RuntimeUniffiRustFutureContinuationCallback'?(2552) +// ``` +// then you may not be using callbacks or promises, and uniffi is now not generating Futures and callbacks. +// You should not generate this if that is the case. +// +// ('You' being the bindings generator maintainer). +const isRustFutureContinuationCallbackTypeCompatible: UniffiStructuralEquality< + RuntimeUniffiRustFutureContinuationCallback, + UniffiRustFutureContinuationCallback +> = true; +const isUniffiForeignFutureTypeCompatible: UniffiStructuralEquality< + RuntimeUniffiForeignFuture, + UniffiForeignFuture +> = true; diff --git a/src/generated/lwk.ts b/src/generated/lwk.ts new file mode 100644 index 0000000..7a5bfd2 --- /dev/null +++ b/src/generated/lwk.ts @@ -0,0 +1,8567 @@ +// This file was autogenerated by some hot garbage in the `uniffi-bindgen-react-native` crate. +// Trust me, you don't want to mess with it! +import nativeModule, { + type UniffiRustFutureContinuationCallback, + type UniffiForeignFuture, + type UniffiForeignFutureStructU8, + type UniffiForeignFutureCompleteU8, + type UniffiForeignFutureStructI8, + type UniffiForeignFutureCompleteI8, + type UniffiForeignFutureStructU16, + type UniffiForeignFutureCompleteU16, + type UniffiForeignFutureStructI16, + type UniffiForeignFutureCompleteI16, + type UniffiForeignFutureStructU32, + type UniffiForeignFutureCompleteU32, + type UniffiForeignFutureStructI32, + type UniffiForeignFutureCompleteI32, + type UniffiForeignFutureStructU64, + type UniffiForeignFutureCompleteU64, + type UniffiForeignFutureStructI64, + type UniffiForeignFutureCompleteI64, + type UniffiForeignFutureStructF32, + type UniffiForeignFutureCompleteF32, + type UniffiForeignFutureStructF64, + type UniffiForeignFutureCompleteF64, + type UniffiForeignFutureStructPointer, + type UniffiForeignFutureCompletePointer, + type UniffiForeignFutureStructRustBuffer, + type UniffiForeignFutureCompleteRustBuffer, + type UniffiForeignFutureStructVoid, + type UniffiForeignFutureCompleteVoid, + type UniffiVTableCallbackInterfaceForeignPersister, +} from './lwk-ffi'; +import { + type FfiConverter, + type UniffiByteArray, + type UniffiHandle, + type UniffiObjectFactory, + type UniffiReferenceHolder, + type UniffiRustArcPtr, + type UniffiRustCallStatus, + type UnsafeMutableRawPointer, + AbstractFfiConverterByteArray, + FfiConverterArray, + FfiConverterArrayBuffer, + FfiConverterBool, + FfiConverterFloat32, + FfiConverterInt32, + FfiConverterInt64, + FfiConverterMap, + FfiConverterObject, + FfiConverterObjectWithCallbacks, + FfiConverterOptional, + FfiConverterUInt32, + FfiConverterUInt64, + FfiConverterUInt8, + RustBuffer, + UniffiAbstractObject, + UniffiError, + UniffiInternalError, + UniffiResult, + UniffiRustCaller, + destructorGuardSymbol, + pointerLiteralSymbol, + uniffiCreateFfiConverterString, + uniffiTraitInterfaceCallWithError, + uniffiTypeNameSymbol, + variantOrdinalSymbol, +} from 'uniffi-bindgen-react-native'; + +// Get converters from the other files, if any. +const uniffiCaller = new UniffiRustCaller(); + +const uniffiIsDebug = + // @ts-ignore -- The process global might not be defined + typeof process !== 'object' || + // @ts-ignore -- The process global might not be defined + process?.env?.NODE_ENV !== 'production' || + false; +// Public interface members begin here. + +export function isProvablySegwit( + scriptPubkey: ScriptInterface, + redeemScript: ScriptInterface | undefined +): boolean { + return FfiConverterBool.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_func_is_provably_segwit( + FfiConverterTypeScript.lower(scriptPubkey), + FfiConverterOptionalTypeScript.lower(redeemScript), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); +} + +const stringConverter = { + stringToBytes: (s: string) => + uniffiCaller.rustCall((status) => + nativeModule().ubrn_uniffi_internal_fn_func_ffi__string_to_arraybuffer( + s, + status + ) + ), + bytesToString: (ab: UniffiByteArray) => + uniffiCaller.rustCall((status) => + nativeModule().ubrn_uniffi_internal_fn_func_ffi__arraybuffer_to_string( + ab, + status + ) + ), + stringByteLength: (s: string) => + uniffiCaller.rustCall((status) => + nativeModule().ubrn_uniffi_internal_fn_func_ffi__string_to_byte_length( + s, + status + ) + ), +}; +const FfiConverterString = uniffiCreateFfiConverterString(stringConverter); + +/** + * Typealias from the type name used in the UDL file to the builtin type. This + * is needed because the UDL type name is used in function/method signatures. + */ +export type AssetId = string; +// FfiConverter for AssetId, a type alias for string. +const FfiConverterTypeAssetId = FfiConverterString; + +/** + * Typealias from the type name used in the UDL file to the builtin type. This + * is needed because the UDL type name is used in function/method signatures. + */ +export type Hex = string; +// FfiConverter for Hex, a type alias for string. +const FfiConverterTypeHex = FfiConverterString; + +/** + * see [`lwk_wollet::Chain`] + */ +export enum Chain { + /** + * External address, shown when asked for a payment. + * Wallet having a single descriptor are considered External + */ + External, + /** + * Internal address, used for the change + */ + Internal, +} + +const FfiConverterTypeChain = (() => { + const ordinalConverter = FfiConverterInt32; + type TypeName = Chain; + class FFIConverter extends AbstractFfiConverterByteArray { + read(from: RustBuffer): TypeName { + switch (ordinalConverter.read(from)) { + case 1: + return Chain.External; + case 2: + return Chain.Internal; + default: + throw new UniffiInternalError.UnexpectedEnumCase(); + } + } + write(value: TypeName, into: RustBuffer): void { + switch (value) { + case Chain.External: + return ordinalConverter.write(1, into); + case Chain.Internal: + return ordinalConverter.write(2, into); + } + } + allocationSize(value: TypeName): number { + return ordinalConverter.allocationSize(0); + } + } + return new FFIConverter(); +})(); + +// Error type: LwkError + +// Enum: LwkError +export enum LwkError_Tags { + Generic = 'Generic', + PoisonError = 'PoisonError', +} +/** + * Possible errors emitted + */ +export const LwkError = (() => { + type Generic__interface = { + tag: LwkError_Tags.Generic; + inner: Readonly<{ msg: string }>; + }; + + class Generic_ extends UniffiError implements Generic__interface { + /** + * @private + * This field is private and should not be used, use `tag` instead. + */ + readonly [uniffiTypeNameSymbol] = 'LwkError'; + readonly tag = LwkError_Tags.Generic; + readonly inner: Readonly<{ msg: string }>; + constructor(inner: { msg: string }) { + super('LwkError', 'Generic'); + this.inner = Object.freeze(inner); + } + + static new(inner: { msg: string }): Generic_ { + return new Generic_(inner); + } + + static instanceOf(obj: any): obj is Generic_ { + return obj.tag === LwkError_Tags.Generic; + } + + static hasInner(obj: any): obj is Generic_ { + return Generic_.instanceOf(obj); + } + + static getInner(obj: Generic_): Readonly<{ msg: string }> { + return obj.inner; + } + } + + type PoisonError__interface = { + tag: LwkError_Tags.PoisonError; + inner: Readonly<{ msg: string }>; + }; + + class PoisonError_ extends UniffiError implements PoisonError__interface { + /** + * @private + * This field is private and should not be used, use `tag` instead. + */ + readonly [uniffiTypeNameSymbol] = 'LwkError'; + readonly tag = LwkError_Tags.PoisonError; + readonly inner: Readonly<{ msg: string }>; + constructor(inner: { msg: string }) { + super('LwkError', 'PoisonError'); + this.inner = Object.freeze(inner); + } + + static new(inner: { msg: string }): PoisonError_ { + return new PoisonError_(inner); + } + + static instanceOf(obj: any): obj is PoisonError_ { + return obj.tag === LwkError_Tags.PoisonError; + } + + static hasInner(obj: any): obj is PoisonError_ { + return PoisonError_.instanceOf(obj); + } + + static getInner(obj: PoisonError_): Readonly<{ msg: string }> { + return obj.inner; + } + } + + function instanceOf(obj: any): obj is LwkError { + return obj[uniffiTypeNameSymbol] === 'LwkError'; + } + + return Object.freeze({ + instanceOf, + Generic: Generic_, + PoisonError: PoisonError_, + }); +})(); + +/** + * Possible errors emitted + */ + +export type LwkError = InstanceType< + (typeof LwkError)[keyof Omit] +>; + +// FfiConverter for enum LwkError +const FfiConverterTypeLwkError = (() => { + const ordinalConverter = FfiConverterInt32; + type TypeName = LwkError; + class FFIConverter extends AbstractFfiConverterByteArray { + read(from: RustBuffer): TypeName { + switch (ordinalConverter.read(from)) { + case 1: + return new LwkError.Generic({ msg: FfiConverterString.read(from) }); + case 2: + return new LwkError.PoisonError({ + msg: FfiConverterString.read(from), + }); + default: + throw new UniffiInternalError.UnexpectedEnumCase(); + } + } + write(value: TypeName, into: RustBuffer): void { + switch (value.tag) { + case LwkError_Tags.Generic: { + ordinalConverter.write(1, into); + const inner = value.inner; + FfiConverterString.write(inner.msg, into); + return; + } + case LwkError_Tags.PoisonError: { + ordinalConverter.write(2, into); + const inner = value.inner; + FfiConverterString.write(inner.msg, into); + return; + } + default: + // Throwing from here means that LwkError_Tags hasn't matched an ordinal. + throw new UniffiInternalError.UnexpectedEnumCase(); + } + } + allocationSize(value: TypeName): number { + switch (value.tag) { + case LwkError_Tags.Generic: { + const inner = value.inner; + let size = ordinalConverter.allocationSize(1); + size += FfiConverterString.allocationSize(inner.msg); + return size; + } + case LwkError_Tags.PoisonError: { + const inner = value.inner; + let size = ordinalConverter.allocationSize(2); + size += FfiConverterString.allocationSize(inner.msg); + return size; + } + default: + throw new UniffiInternalError.UnexpectedEnumCase(); + } + } + } + return new FFIConverter(); +})(); + +// FfiConverter for Map +const FfiConverterMapStringString = new FfiConverterMap( + FfiConverterString, + FfiConverterString +); + +export interface AddressInterface { + isBlinded(): boolean; + /** + * Returns a string of the QR code printable in a terminal environment + */ + qrCodeText() /*throws*/ : string; + /** + * Returns a string encoding an image in a uri + * + * The string can be open in the browser or be used as `src` field in `img` in HTML + * + * For max efficiency we suggest to pass `None` to `pixel_per_module`, get a very small image + * and use styling to scale up the image in the browser. eg + * `style="image-rendering: pixelated; border: 20px solid white;"` + */ + qrCodeUri(pixelPerModule: /*u8*/ number | undefined) /*throws*/ : string; + scriptPubkey(): ScriptInterface; + toUnconfidential(): AddressInterface; +} + +export class Address extends UniffiAbstractObject implements AddressInterface { + readonly [uniffiTypeNameSymbol] = 'Address'; + readonly [destructorGuardSymbol]: UniffiRustArcPtr; + readonly [pointerLiteralSymbol]: UnsafeMutableRawPointer; + /** + * Construct an Address object + */ + constructor(s: string) /*throws*/ { + super(); + const pointer = uniffiCaller.rustCallWithError( + /*liftError:*/ FfiConverterTypeLwkError.lift.bind( + FfiConverterTypeLwkError + ), + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_constructor_address_new( + FfiConverterString.lower(s), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ); + this[pointerLiteralSymbol] = pointer; + this[destructorGuardSymbol] = uniffiTypeAddressObjectFactory.bless(pointer); + } + + public isBlinded(): boolean { + return FfiConverterBool.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_address_is_blinded( + uniffiTypeAddressObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * Returns a string of the QR code printable in a terminal environment + */ + public qrCodeText(): string /*throws*/ { + return FfiConverterString.lift( + uniffiCaller.rustCallWithError( + /*liftError:*/ FfiConverterTypeLwkError.lift.bind( + FfiConverterTypeLwkError + ), + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_address_qr_code_text( + uniffiTypeAddressObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * Returns a string encoding an image in a uri + * + * The string can be open in the browser or be used as `src` field in `img` in HTML + * + * For max efficiency we suggest to pass `None` to `pixel_per_module`, get a very small image + * and use styling to scale up the image in the browser. eg + * `style="image-rendering: pixelated; border: 20px solid white;"` + */ + public qrCodeUri( + pixelPerModule: /*u8*/ number | undefined + ): string /*throws*/ { + return FfiConverterString.lift( + uniffiCaller.rustCallWithError( + /*liftError:*/ FfiConverterTypeLwkError.lift.bind( + FfiConverterTypeLwkError + ), + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_address_qr_code_uri( + uniffiTypeAddressObjectFactory.clonePointer(this), + FfiConverterOptionalUInt8.lower(pixelPerModule), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public scriptPubkey(): ScriptInterface { + return FfiConverterTypeScript.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_address_script_pubkey( + uniffiTypeAddressObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public toUnconfidential(): AddressInterface { + return FfiConverterTypeAddress.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_address_to_unconfidential( + uniffiTypeAddressObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * Calls into the `AddressInterface::to_string()` method of the native Rust peer. + * + * Generated by deriving the `Display` trait in Rust. + */ + toString(): string { + return FfiConverterString.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_address_uniffi_trait_display( + uniffiTypeAddressObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy} + */ + uniffiDestroy(): void { + const ptr = (this as any)[destructorGuardSymbol]; + if (ptr !== undefined) { + const pointer = uniffiTypeAddressObjectFactory.pointer(this); + uniffiTypeAddressObjectFactory.freePointer(pointer); + uniffiTypeAddressObjectFactory.unbless(ptr); + delete (this as any)[destructorGuardSymbol]; + } + } + + static instanceOf(obj: any): obj is Address { + return uniffiTypeAddressObjectFactory.isConcreteType(obj); + } +} + +const uniffiTypeAddressObjectFactory: UniffiObjectFactory = { + create(pointer: UnsafeMutableRawPointer): AddressInterface { + const instance = Object.create(Address.prototype); + instance[pointerLiteralSymbol] = pointer; + instance[destructorGuardSymbol] = this.bless(pointer); + instance[uniffiTypeNameSymbol] = 'Address'; + return instance; + }, + + bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr { + return uniffiCaller.rustCall( + /*caller:*/ (status) => + nativeModule().ubrn_uniffi_internal_fn_method_address_ffi__bless_pointer( + p, + status + ), + /*liftString:*/ FfiConverterString.lift + ); + }, + + unbless(ptr: UniffiRustArcPtr) { + ptr.markDestroyed(); + }, + + pointer(obj: AddressInterface): UnsafeMutableRawPointer { + if ((obj as any)[destructorGuardSymbol] === undefined) { + throw new UniffiInternalError.UnexpectedNullPointer(); + } + return (obj as any)[pointerLiteralSymbol]; + }, + + clonePointer(obj: AddressInterface): UnsafeMutableRawPointer { + const pointer = this.pointer(obj); + return uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_clone_address(pointer, callStatus), + /*liftString:*/ FfiConverterString.lift + ); + }, + + freePointer(pointer: UnsafeMutableRawPointer): void { + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_free_address(pointer, callStatus), + /*liftString:*/ FfiConverterString.lift + ); + }, + + isConcreteType(obj: any): obj is AddressInterface { + return ( + obj[destructorGuardSymbol] && obj[uniffiTypeNameSymbol] === 'Address' + ); + }, +}; +// FfiConverter for AddressInterface +const FfiConverterTypeAddress = new FfiConverterObject( + uniffiTypeAddressObjectFactory +); + +export interface AddressResultInterface { + address(): AddressInterface; + index(): /*u32*/ number; +} + +export class AddressResult + extends UniffiAbstractObject + implements AddressResultInterface +{ + readonly [uniffiTypeNameSymbol] = 'AddressResult'; + readonly [destructorGuardSymbol]: UniffiRustArcPtr; + readonly [pointerLiteralSymbol]: UnsafeMutableRawPointer; + // No primary constructor declared for this class. + private constructor(pointer: UnsafeMutableRawPointer) { + super(); + this[pointerLiteralSymbol] = pointer; + this[destructorGuardSymbol] = + uniffiTypeAddressResultObjectFactory.bless(pointer); + } + + public address(): AddressInterface { + return FfiConverterTypeAddress.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_addressresult_address( + uniffiTypeAddressResultObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public index(): /*u32*/ number { + return FfiConverterUInt32.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_addressresult_index( + uniffiTypeAddressResultObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy} + */ + uniffiDestroy(): void { + const ptr = (this as any)[destructorGuardSymbol]; + if (ptr !== undefined) { + const pointer = uniffiTypeAddressResultObjectFactory.pointer(this); + uniffiTypeAddressResultObjectFactory.freePointer(pointer); + uniffiTypeAddressResultObjectFactory.unbless(ptr); + delete (this as any)[destructorGuardSymbol]; + } + } + + static instanceOf(obj: any): obj is AddressResult { + return uniffiTypeAddressResultObjectFactory.isConcreteType(obj); + } +} + +const uniffiTypeAddressResultObjectFactory: UniffiObjectFactory = + { + create(pointer: UnsafeMutableRawPointer): AddressResultInterface { + const instance = Object.create(AddressResult.prototype); + instance[pointerLiteralSymbol] = pointer; + instance[destructorGuardSymbol] = this.bless(pointer); + instance[uniffiTypeNameSymbol] = 'AddressResult'; + return instance; + }, + + bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr { + return uniffiCaller.rustCall( + /*caller:*/ (status) => + nativeModule().ubrn_uniffi_internal_fn_method_addressresult_ffi__bless_pointer( + p, + status + ), + /*liftString:*/ FfiConverterString.lift + ); + }, + + unbless(ptr: UniffiRustArcPtr) { + ptr.markDestroyed(); + }, + + pointer(obj: AddressResultInterface): UnsafeMutableRawPointer { + if ((obj as any)[destructorGuardSymbol] === undefined) { + throw new UniffiInternalError.UnexpectedNullPointer(); + } + return (obj as any)[pointerLiteralSymbol]; + }, + + clonePointer(obj: AddressResultInterface): UnsafeMutableRawPointer { + const pointer = this.pointer(obj); + return uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_clone_addressresult( + pointer, + callStatus + ), + /*liftString:*/ FfiConverterString.lift + ); + }, + + freePointer(pointer: UnsafeMutableRawPointer): void { + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_free_addressresult( + pointer, + callStatus + ), + /*liftString:*/ FfiConverterString.lift + ); + }, + + isConcreteType(obj: any): obj is AddressResultInterface { + return ( + obj[destructorGuardSymbol] && + obj[uniffiTypeNameSymbol] === 'AddressResult' + ); + }, + }; +// FfiConverter for AddressResultInterface +const FfiConverterTypeAddressResult = new FfiConverterObject( + uniffiTypeAddressResultObjectFactory +); + +/** + * Wrapper over [`lwk_wollet::amp2::Amp2`] + */ +export interface Amp2Interface { + /** + * Ask the AMP2 server to cosign a PSET + */ + cosign(pset: PsetInterface) /*throws*/ : PsetInterface; + /** + * Create an AMP2 wallet descriptor from the keyorigin xpub of a signer + */ + descriptorFromStr(keyoriginXpub: string) /*throws*/ : Amp2DescriptorInterface; + /** + * Register an AMP2 wallet with the AMP2 server + */ + register(desc: Amp2DescriptorInterface) /*throws*/ : string; +} + +/** + * Wrapper over [`lwk_wollet::amp2::Amp2`] + */ +export class Amp2 extends UniffiAbstractObject implements Amp2Interface { + readonly [uniffiTypeNameSymbol] = 'Amp2'; + readonly [destructorGuardSymbol]: UniffiRustArcPtr; + readonly [pointerLiteralSymbol]: UnsafeMutableRawPointer; + // No primary constructor declared for this class. + private constructor(pointer: UnsafeMutableRawPointer) { + super(); + this[pointerLiteralSymbol] = pointer; + this[destructorGuardSymbol] = uniffiTypeAmp2ObjectFactory.bless(pointer); + } + + /** + * Construct an AMP2 context for Liquid Testnet + */ + public static newTestnet(): Amp2Interface { + return FfiConverterTypeAmp2.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_constructor_amp2_new_testnet( + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * Ask the AMP2 server to cosign a PSET + */ + public cosign(pset: PsetInterface): PsetInterface /*throws*/ { + return FfiConverterTypePset.lift( + uniffiCaller.rustCallWithError( + /*liftError:*/ FfiConverterTypeLwkError.lift.bind( + FfiConverterTypeLwkError + ), + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_amp2_cosign( + uniffiTypeAmp2ObjectFactory.clonePointer(this), + FfiConverterTypePset.lower(pset), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * Create an AMP2 wallet descriptor from the keyorigin xpub of a signer + */ + public descriptorFromStr( + keyoriginXpub: string + ): Amp2DescriptorInterface /*throws*/ { + return FfiConverterTypeAmp2Descriptor.lift( + uniffiCaller.rustCallWithError( + /*liftError:*/ FfiConverterTypeLwkError.lift.bind( + FfiConverterTypeLwkError + ), + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_amp2_descriptor_from_str( + uniffiTypeAmp2ObjectFactory.clonePointer(this), + FfiConverterString.lower(keyoriginXpub), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * Register an AMP2 wallet with the AMP2 server + */ + public register(desc: Amp2DescriptorInterface): string /*throws*/ { + return FfiConverterString.lift( + uniffiCaller.rustCallWithError( + /*liftError:*/ FfiConverterTypeLwkError.lift.bind( + FfiConverterTypeLwkError + ), + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_amp2_register( + uniffiTypeAmp2ObjectFactory.clonePointer(this), + FfiConverterTypeAmp2Descriptor.lower(desc), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy} + */ + uniffiDestroy(): void { + const ptr = (this as any)[destructorGuardSymbol]; + if (ptr !== undefined) { + const pointer = uniffiTypeAmp2ObjectFactory.pointer(this); + uniffiTypeAmp2ObjectFactory.freePointer(pointer); + uniffiTypeAmp2ObjectFactory.unbless(ptr); + delete (this as any)[destructorGuardSymbol]; + } + } + + static instanceOf(obj: any): obj is Amp2 { + return uniffiTypeAmp2ObjectFactory.isConcreteType(obj); + } +} + +const uniffiTypeAmp2ObjectFactory: UniffiObjectFactory = { + create(pointer: UnsafeMutableRawPointer): Amp2Interface { + const instance = Object.create(Amp2.prototype); + instance[pointerLiteralSymbol] = pointer; + instance[destructorGuardSymbol] = this.bless(pointer); + instance[uniffiTypeNameSymbol] = 'Amp2'; + return instance; + }, + + bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr { + return uniffiCaller.rustCall( + /*caller:*/ (status) => + nativeModule().ubrn_uniffi_internal_fn_method_amp2_ffi__bless_pointer( + p, + status + ), + /*liftString:*/ FfiConverterString.lift + ); + }, + + unbless(ptr: UniffiRustArcPtr) { + ptr.markDestroyed(); + }, + + pointer(obj: Amp2Interface): UnsafeMutableRawPointer { + if ((obj as any)[destructorGuardSymbol] === undefined) { + throw new UniffiInternalError.UnexpectedNullPointer(); + } + return (obj as any)[pointerLiteralSymbol]; + }, + + clonePointer(obj: Amp2Interface): UnsafeMutableRawPointer { + const pointer = this.pointer(obj); + return uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_clone_amp2(pointer, callStatus), + /*liftString:*/ FfiConverterString.lift + ); + }, + + freePointer(pointer: UnsafeMutableRawPointer): void { + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_free_amp2(pointer, callStatus), + /*liftString:*/ FfiConverterString.lift + ); + }, + + isConcreteType(obj: any): obj is Amp2Interface { + return obj[destructorGuardSymbol] && obj[uniffiTypeNameSymbol] === 'Amp2'; + }, +}; +// FfiConverter for Amp2Interface +const FfiConverterTypeAmp2 = new FfiConverterObject( + uniffiTypeAmp2ObjectFactory +); + +/** + * Wrapper over [`lwk_wollet::amp2::Amp2Descriptor`] + */ +export interface Amp2DescriptorInterface { + descriptor(): WolletDescriptorInterface; +} + +/** + * Wrapper over [`lwk_wollet::amp2::Amp2Descriptor`] + */ +export class Amp2Descriptor + extends UniffiAbstractObject + implements Amp2DescriptorInterface +{ + readonly [uniffiTypeNameSymbol] = 'Amp2Descriptor'; + readonly [destructorGuardSymbol]: UniffiRustArcPtr; + readonly [pointerLiteralSymbol]: UnsafeMutableRawPointer; + // No primary constructor declared for this class. + private constructor(pointer: UnsafeMutableRawPointer) { + super(); + this[pointerLiteralSymbol] = pointer; + this[destructorGuardSymbol] = + uniffiTypeAmp2DescriptorObjectFactory.bless(pointer); + } + + public descriptor(): WolletDescriptorInterface { + return FfiConverterTypeWolletDescriptor.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_amp2descriptor_descriptor( + uniffiTypeAmp2DescriptorObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * Calls into the `Amp2DescriptorInterface::to_string()` method of the native Rust peer. + * + * Generated by deriving the `Display` trait in Rust. + */ + toString(): string { + return FfiConverterString.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_amp2descriptor_uniffi_trait_display( + uniffiTypeAmp2DescriptorObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy} + */ + uniffiDestroy(): void { + const ptr = (this as any)[destructorGuardSymbol]; + if (ptr !== undefined) { + const pointer = uniffiTypeAmp2DescriptorObjectFactory.pointer(this); + uniffiTypeAmp2DescriptorObjectFactory.freePointer(pointer); + uniffiTypeAmp2DescriptorObjectFactory.unbless(ptr); + delete (this as any)[destructorGuardSymbol]; + } + } + + static instanceOf(obj: any): obj is Amp2Descriptor { + return uniffiTypeAmp2DescriptorObjectFactory.isConcreteType(obj); + } +} + +const uniffiTypeAmp2DescriptorObjectFactory: UniffiObjectFactory = + { + create(pointer: UnsafeMutableRawPointer): Amp2DescriptorInterface { + const instance = Object.create(Amp2Descriptor.prototype); + instance[pointerLiteralSymbol] = pointer; + instance[destructorGuardSymbol] = this.bless(pointer); + instance[uniffiTypeNameSymbol] = 'Amp2Descriptor'; + return instance; + }, + + bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr { + return uniffiCaller.rustCall( + /*caller:*/ (status) => + nativeModule().ubrn_uniffi_internal_fn_method_amp2descriptor_ffi__bless_pointer( + p, + status + ), + /*liftString:*/ FfiConverterString.lift + ); + }, + + unbless(ptr: UniffiRustArcPtr) { + ptr.markDestroyed(); + }, + + pointer(obj: Amp2DescriptorInterface): UnsafeMutableRawPointer { + if ((obj as any)[destructorGuardSymbol] === undefined) { + throw new UniffiInternalError.UnexpectedNullPointer(); + } + return (obj as any)[pointerLiteralSymbol]; + }, + + clonePointer(obj: Amp2DescriptorInterface): UnsafeMutableRawPointer { + const pointer = this.pointer(obj); + return uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_clone_amp2descriptor( + pointer, + callStatus + ), + /*liftString:*/ FfiConverterString.lift + ); + }, + + freePointer(pointer: UnsafeMutableRawPointer): void { + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_free_amp2descriptor( + pointer, + callStatus + ), + /*liftString:*/ FfiConverterString.lift + ); + }, + + isConcreteType(obj: any): obj is Amp2DescriptorInterface { + return ( + obj[destructorGuardSymbol] && + obj[uniffiTypeNameSymbol] === 'Amp2Descriptor' + ); + }, + }; +// FfiConverter for Amp2DescriptorInterface +const FfiConverterTypeAmp2Descriptor = new FfiConverterObject( + uniffiTypeAmp2DescriptorObjectFactory +); + +/** + * wrapper over [`lwk_common::Bip`] + */ +export interface BipInterface {} + +/** + * wrapper over [`lwk_common::Bip`] + */ +export class Bip extends UniffiAbstractObject implements BipInterface { + readonly [uniffiTypeNameSymbol] = 'Bip'; + readonly [destructorGuardSymbol]: UniffiRustArcPtr; + readonly [pointerLiteralSymbol]: UnsafeMutableRawPointer; + // No primary constructor declared for this class. + private constructor(pointer: UnsafeMutableRawPointer) { + super(); + this[pointerLiteralSymbol] = pointer; + this[destructorGuardSymbol] = uniffiTypeBipObjectFactory.bless(pointer); + } + + /** + * For P2SH-P2WPKH wallets + */ + public static newBip49(): BipInterface { + return FfiConverterTypeBip.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_constructor_bip_new_bip49( + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * For P2WPKH wallets + */ + public static newBip84(): BipInterface { + return FfiConverterTypeBip.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_constructor_bip_new_bip84( + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * For multisig wallets + */ + public static newBip87(): BipInterface { + return FfiConverterTypeBip.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_constructor_bip_new_bip87( + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy} + */ + uniffiDestroy(): void { + const ptr = (this as any)[destructorGuardSymbol]; + if (ptr !== undefined) { + const pointer = uniffiTypeBipObjectFactory.pointer(this); + uniffiTypeBipObjectFactory.freePointer(pointer); + uniffiTypeBipObjectFactory.unbless(ptr); + delete (this as any)[destructorGuardSymbol]; + } + } + + static instanceOf(obj: any): obj is Bip { + return uniffiTypeBipObjectFactory.isConcreteType(obj); + } +} + +const uniffiTypeBipObjectFactory: UniffiObjectFactory = { + create(pointer: UnsafeMutableRawPointer): BipInterface { + const instance = Object.create(Bip.prototype); + instance[pointerLiteralSymbol] = pointer; + instance[destructorGuardSymbol] = this.bless(pointer); + instance[uniffiTypeNameSymbol] = 'Bip'; + return instance; + }, + + bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr { + return uniffiCaller.rustCall( + /*caller:*/ (status) => + nativeModule().ubrn_uniffi_internal_fn_method_bip_ffi__bless_pointer( + p, + status + ), + /*liftString:*/ FfiConverterString.lift + ); + }, + + unbless(ptr: UniffiRustArcPtr) { + ptr.markDestroyed(); + }, + + pointer(obj: BipInterface): UnsafeMutableRawPointer { + if ((obj as any)[destructorGuardSymbol] === undefined) { + throw new UniffiInternalError.UnexpectedNullPointer(); + } + return (obj as any)[pointerLiteralSymbol]; + }, + + clonePointer(obj: BipInterface): UnsafeMutableRawPointer { + const pointer = this.pointer(obj); + return uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_clone_bip(pointer, callStatus), + /*liftString:*/ FfiConverterString.lift + ); + }, + + freePointer(pointer: UnsafeMutableRawPointer): void { + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_free_bip(pointer, callStatus), + /*liftString:*/ FfiConverterString.lift + ); + }, + + isConcreteType(obj: any): obj is BipInterface { + return obj[destructorGuardSymbol] && obj[uniffiTypeNameSymbol] === 'Bip'; + }, +}; +// FfiConverter for BipInterface +const FfiConverterTypeBip = new FfiConverterObject(uniffiTypeBipObjectFactory); + +/** + * Wrapper over [`lwk_wollet::Contract`] + */ +export interface ContractInterface {} + +/** + * Wrapper over [`lwk_wollet::Contract`] + */ +export class Contract + extends UniffiAbstractObject + implements ContractInterface +{ + readonly [uniffiTypeNameSymbol] = 'Contract'; + readonly [destructorGuardSymbol]: UniffiRustArcPtr; + readonly [pointerLiteralSymbol]: UnsafeMutableRawPointer; + /** + * Construct a Contract object + */ + constructor( + domain: string, + issuerPubkey: string, + name: string, + precision: /*u8*/ number, + ticker: string, + version: /*u8*/ number + ) /*throws*/ { + super(); + const pointer = uniffiCaller.rustCallWithError( + /*liftError:*/ FfiConverterTypeLwkError.lift.bind( + FfiConverterTypeLwkError + ), + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_constructor_contract_new( + FfiConverterString.lower(domain), + FfiConverterString.lower(issuerPubkey), + FfiConverterString.lower(name), + FfiConverterUInt8.lower(precision), + FfiConverterString.lower(ticker), + FfiConverterUInt8.lower(version), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ); + this[pointerLiteralSymbol] = pointer; + this[destructorGuardSymbol] = + uniffiTypeContractObjectFactory.bless(pointer); + } + + /** + * Calls into the `ContractInterface::to_string()` method of the native Rust peer. + * + * Generated by deriving the `Display` trait in Rust. + */ + toString(): string { + return FfiConverterString.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_contract_uniffi_trait_display( + uniffiTypeContractObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy} + */ + uniffiDestroy(): void { + const ptr = (this as any)[destructorGuardSymbol]; + if (ptr !== undefined) { + const pointer = uniffiTypeContractObjectFactory.pointer(this); + uniffiTypeContractObjectFactory.freePointer(pointer); + uniffiTypeContractObjectFactory.unbless(ptr); + delete (this as any)[destructorGuardSymbol]; + } + } + + static instanceOf(obj: any): obj is Contract { + return uniffiTypeContractObjectFactory.isConcreteType(obj); + } +} + +const uniffiTypeContractObjectFactory: UniffiObjectFactory = + { + create(pointer: UnsafeMutableRawPointer): ContractInterface { + const instance = Object.create(Contract.prototype); + instance[pointerLiteralSymbol] = pointer; + instance[destructorGuardSymbol] = this.bless(pointer); + instance[uniffiTypeNameSymbol] = 'Contract'; + return instance; + }, + + bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr { + return uniffiCaller.rustCall( + /*caller:*/ (status) => + nativeModule().ubrn_uniffi_internal_fn_method_contract_ffi__bless_pointer( + p, + status + ), + /*liftString:*/ FfiConverterString.lift + ); + }, + + unbless(ptr: UniffiRustArcPtr) { + ptr.markDestroyed(); + }, + + pointer(obj: ContractInterface): UnsafeMutableRawPointer { + if ((obj as any)[destructorGuardSymbol] === undefined) { + throw new UniffiInternalError.UnexpectedNullPointer(); + } + return (obj as any)[pointerLiteralSymbol]; + }, + + clonePointer(obj: ContractInterface): UnsafeMutableRawPointer { + const pointer = this.pointer(obj); + return uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_clone_contract(pointer, callStatus), + /*liftString:*/ FfiConverterString.lift + ); + }, + + freePointer(pointer: UnsafeMutableRawPointer): void { + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_free_contract(pointer, callStatus), + /*liftString:*/ FfiConverterString.lift + ); + }, + + isConcreteType(obj: any): obj is ContractInterface { + return ( + obj[destructorGuardSymbol] && obj[uniffiTypeNameSymbol] === 'Contract' + ); + }, + }; +// FfiConverter for ContractInterface +const FfiConverterTypeContract = new FfiConverterObject( + uniffiTypeContractObjectFactory +); + +/** + * Wrapper over [`lwk_wollet::ElectrumClient`] + */ +export interface ElectrumClientInterface { + broadcast(tx: TransactionInterface) /*throws*/ : TxidInterface; + fullScan(wollet: WolletInterface) /*throws*/ : UpdateInterface | undefined; + fullScanToIndex( + wollet: WolletInterface, + index: /*u32*/ number + ) /*throws*/ : UpdateInterface | undefined; + ping() /*throws*/ : void; +} + +/** + * Wrapper over [`lwk_wollet::ElectrumClient`] + */ +export class ElectrumClient + extends UniffiAbstractObject + implements ElectrumClientInterface +{ + readonly [uniffiTypeNameSymbol] = 'ElectrumClient'; + readonly [destructorGuardSymbol]: UniffiRustArcPtr; + readonly [pointerLiteralSymbol]: UnsafeMutableRawPointer; + /** + * Construct an Electrum client + */ + constructor( + electrumUrl: string, + tls: boolean, + validateDomain: boolean + ) /*throws*/ { + super(); + const pointer = uniffiCaller.rustCallWithError( + /*liftError:*/ FfiConverterTypeLwkError.lift.bind( + FfiConverterTypeLwkError + ), + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_constructor_electrumclient_new( + FfiConverterString.lower(electrumUrl), + FfiConverterBool.lower(tls), + FfiConverterBool.lower(validateDomain), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ); + this[pointerLiteralSymbol] = pointer; + this[destructorGuardSymbol] = + uniffiTypeElectrumClientObjectFactory.bless(pointer); + } + + public broadcast(tx: TransactionInterface): TxidInterface /*throws*/ { + return FfiConverterTypeTxid.lift( + uniffiCaller.rustCallWithError( + /*liftError:*/ FfiConverterTypeLwkError.lift.bind( + FfiConverterTypeLwkError + ), + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_electrumclient_broadcast( + uniffiTypeElectrumClientObjectFactory.clonePointer(this), + FfiConverterTypeTransaction.lower(tx), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public fullScan( + wollet: WolletInterface + ): UpdateInterface | undefined /*throws*/ { + return FfiConverterOptionalTypeUpdate.lift( + uniffiCaller.rustCallWithError( + /*liftError:*/ FfiConverterTypeLwkError.lift.bind( + FfiConverterTypeLwkError + ), + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_electrumclient_full_scan( + uniffiTypeElectrumClientObjectFactory.clonePointer(this), + FfiConverterTypeWollet.lower(wollet), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public fullScanToIndex( + wollet: WolletInterface, + index: /*u32*/ number + ): UpdateInterface | undefined /*throws*/ { + return FfiConverterOptionalTypeUpdate.lift( + uniffiCaller.rustCallWithError( + /*liftError:*/ FfiConverterTypeLwkError.lift.bind( + FfiConverterTypeLwkError + ), + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_electrumclient_full_scan_to_index( + uniffiTypeElectrumClientObjectFactory.clonePointer(this), + FfiConverterTypeWollet.lower(wollet), + FfiConverterUInt32.lower(index), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public ping(): void /*throws*/ { + uniffiCaller.rustCallWithError( + /*liftError:*/ FfiConverterTypeLwkError.lift.bind( + FfiConverterTypeLwkError + ), + /*caller:*/ (callStatus) => { + nativeModule().ubrn_uniffi_lwk_fn_method_electrumclient_ping( + uniffiTypeElectrumClientObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ); + } + + /** + * {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy} + */ + uniffiDestroy(): void { + const ptr = (this as any)[destructorGuardSymbol]; + if (ptr !== undefined) { + const pointer = uniffiTypeElectrumClientObjectFactory.pointer(this); + uniffiTypeElectrumClientObjectFactory.freePointer(pointer); + uniffiTypeElectrumClientObjectFactory.unbless(ptr); + delete (this as any)[destructorGuardSymbol]; + } + } + + static instanceOf(obj: any): obj is ElectrumClient { + return uniffiTypeElectrumClientObjectFactory.isConcreteType(obj); + } +} + +const uniffiTypeElectrumClientObjectFactory: UniffiObjectFactory = + { + create(pointer: UnsafeMutableRawPointer): ElectrumClientInterface { + const instance = Object.create(ElectrumClient.prototype); + instance[pointerLiteralSymbol] = pointer; + instance[destructorGuardSymbol] = this.bless(pointer); + instance[uniffiTypeNameSymbol] = 'ElectrumClient'; + return instance; + }, + + bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr { + return uniffiCaller.rustCall( + /*caller:*/ (status) => + nativeModule().ubrn_uniffi_internal_fn_method_electrumclient_ffi__bless_pointer( + p, + status + ), + /*liftString:*/ FfiConverterString.lift + ); + }, + + unbless(ptr: UniffiRustArcPtr) { + ptr.markDestroyed(); + }, + + pointer(obj: ElectrumClientInterface): UnsafeMutableRawPointer { + if ((obj as any)[destructorGuardSymbol] === undefined) { + throw new UniffiInternalError.UnexpectedNullPointer(); + } + return (obj as any)[pointerLiteralSymbol]; + }, + + clonePointer(obj: ElectrumClientInterface): UnsafeMutableRawPointer { + const pointer = this.pointer(obj); + return uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_clone_electrumclient( + pointer, + callStatus + ), + /*liftString:*/ FfiConverterString.lift + ); + }, + + freePointer(pointer: UnsafeMutableRawPointer): void { + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_free_electrumclient( + pointer, + callStatus + ), + /*liftString:*/ FfiConverterString.lift + ); + }, + + isConcreteType(obj: any): obj is ElectrumClientInterface { + return ( + obj[destructorGuardSymbol] && + obj[uniffiTypeNameSymbol] === 'ElectrumClient' + ); + }, + }; +// FfiConverter for ElectrumClientInterface +const FfiConverterTypeElectrumClient = new FfiConverterObject( + uniffiTypeElectrumClientObjectFactory +); + +/** + * Wrapper over [`blocking::EsploraClient`] + */ +export interface EsploraClientInterface { + broadcast(tx: TransactionInterface) /*throws*/ : TxidInterface; + /** + * See [`BlockchainBackend::full_scan`] + */ + fullScan(wollet: WolletInterface) /*throws*/ : UpdateInterface | undefined; + /** + * See [`BlockchainBackend::full_scan_to_index`] + */ + fullScanToIndex( + wollet: WolletInterface, + index: /*u32*/ number + ) /*throws*/ : UpdateInterface | undefined; +} + +/** + * Wrapper over [`blocking::EsploraClient`] + */ +export class EsploraClient + extends UniffiAbstractObject + implements EsploraClientInterface +{ + readonly [uniffiTypeNameSymbol] = 'EsploraClient'; + readonly [destructorGuardSymbol]: UniffiRustArcPtr; + readonly [pointerLiteralSymbol]: UnsafeMutableRawPointer; + /** + * Construct an Esplora Client + */ + constructor(url: string, network: NetworkInterface) /*throws*/ { + super(); + const pointer = uniffiCaller.rustCallWithError( + /*liftError:*/ FfiConverterTypeLwkError.lift.bind( + FfiConverterTypeLwkError + ), + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_constructor_esploraclient_new( + FfiConverterString.lower(url), + FfiConverterTypeNetwork.lower(network), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ); + this[pointerLiteralSymbol] = pointer; + this[destructorGuardSymbol] = + uniffiTypeEsploraClientObjectFactory.bless(pointer); + } + + /** + * Construct an Esplora Client using Waterfalls endpoint + */ + public static newWaterfalls( + url: string, + network: NetworkInterface + ): EsploraClientInterface /*throws*/ { + return FfiConverterTypeEsploraClient.lift( + uniffiCaller.rustCallWithError( + /*liftError:*/ FfiConverterTypeLwkError.lift.bind( + FfiConverterTypeLwkError + ), + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_constructor_esploraclient_new_waterfalls( + FfiConverterString.lower(url), + FfiConverterTypeNetwork.lower(network), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public broadcast(tx: TransactionInterface): TxidInterface /*throws*/ { + return FfiConverterTypeTxid.lift( + uniffiCaller.rustCallWithError( + /*liftError:*/ FfiConverterTypeLwkError.lift.bind( + FfiConverterTypeLwkError + ), + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_esploraclient_broadcast( + uniffiTypeEsploraClientObjectFactory.clonePointer(this), + FfiConverterTypeTransaction.lower(tx), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * See [`BlockchainBackend::full_scan`] + */ + public fullScan( + wollet: WolletInterface + ): UpdateInterface | undefined /*throws*/ { + return FfiConverterOptionalTypeUpdate.lift( + uniffiCaller.rustCallWithError( + /*liftError:*/ FfiConverterTypeLwkError.lift.bind( + FfiConverterTypeLwkError + ), + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_esploraclient_full_scan( + uniffiTypeEsploraClientObjectFactory.clonePointer(this), + FfiConverterTypeWollet.lower(wollet), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * See [`BlockchainBackend::full_scan_to_index`] + */ + public fullScanToIndex( + wollet: WolletInterface, + index: /*u32*/ number + ): UpdateInterface | undefined /*throws*/ { + return FfiConverterOptionalTypeUpdate.lift( + uniffiCaller.rustCallWithError( + /*liftError:*/ FfiConverterTypeLwkError.lift.bind( + FfiConverterTypeLwkError + ), + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_esploraclient_full_scan_to_index( + uniffiTypeEsploraClientObjectFactory.clonePointer(this), + FfiConverterTypeWollet.lower(wollet), + FfiConverterUInt32.lower(index), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy} + */ + uniffiDestroy(): void { + const ptr = (this as any)[destructorGuardSymbol]; + if (ptr !== undefined) { + const pointer = uniffiTypeEsploraClientObjectFactory.pointer(this); + uniffiTypeEsploraClientObjectFactory.freePointer(pointer); + uniffiTypeEsploraClientObjectFactory.unbless(ptr); + delete (this as any)[destructorGuardSymbol]; + } + } + + static instanceOf(obj: any): obj is EsploraClient { + return uniffiTypeEsploraClientObjectFactory.isConcreteType(obj); + } +} + +const uniffiTypeEsploraClientObjectFactory: UniffiObjectFactory = + { + create(pointer: UnsafeMutableRawPointer): EsploraClientInterface { + const instance = Object.create(EsploraClient.prototype); + instance[pointerLiteralSymbol] = pointer; + instance[destructorGuardSymbol] = this.bless(pointer); + instance[uniffiTypeNameSymbol] = 'EsploraClient'; + return instance; + }, + + bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr { + return uniffiCaller.rustCall( + /*caller:*/ (status) => + nativeModule().ubrn_uniffi_internal_fn_method_esploraclient_ffi__bless_pointer( + p, + status + ), + /*liftString:*/ FfiConverterString.lift + ); + }, + + unbless(ptr: UniffiRustArcPtr) { + ptr.markDestroyed(); + }, + + pointer(obj: EsploraClientInterface): UnsafeMutableRawPointer { + if ((obj as any)[destructorGuardSymbol] === undefined) { + throw new UniffiInternalError.UnexpectedNullPointer(); + } + return (obj as any)[pointerLiteralSymbol]; + }, + + clonePointer(obj: EsploraClientInterface): UnsafeMutableRawPointer { + const pointer = this.pointer(obj); + return uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_clone_esploraclient( + pointer, + callStatus + ), + /*liftString:*/ FfiConverterString.lift + ); + }, + + freePointer(pointer: UnsafeMutableRawPointer): void { + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_free_esploraclient( + pointer, + callStatus + ), + /*liftString:*/ FfiConverterString.lift + ); + }, + + isConcreteType(obj: any): obj is EsploraClientInterface { + return ( + obj[destructorGuardSymbol] && + obj[uniffiTypeNameSymbol] === 'EsploraClient' + ); + }, + }; +// FfiConverter for EsploraClientInterface +const FfiConverterTypeEsploraClient = new FfiConverterObject( + uniffiTypeEsploraClientObjectFactory +); + +/** + * An exported trait, useful for caller-defined persistence. + */ +export interface ForeignPersister { + get(index: /*u64*/ bigint) /*throws*/ : UpdateInterface | undefined; + push(update: UpdateInterface) /*throws*/ : void; +} + +/** + * An exported trait, useful for caller-defined persistence. + */ +export class ForeignPersisterImpl + extends UniffiAbstractObject + implements ForeignPersister +{ + readonly [uniffiTypeNameSymbol] = 'ForeignPersisterImpl'; + readonly [destructorGuardSymbol]: UniffiRustArcPtr; + readonly [pointerLiteralSymbol]: UnsafeMutableRawPointer; + // No primary constructor declared for this class. + private constructor(pointer: UnsafeMutableRawPointer) { + super(); + this[pointerLiteralSymbol] = pointer; + this[destructorGuardSymbol] = + uniffiTypeForeignPersisterImplObjectFactory.bless(pointer); + } + + public get(index: /*u64*/ bigint): UpdateInterface | undefined /*throws*/ { + return FfiConverterOptionalTypeUpdate.lift( + uniffiCaller.rustCallWithError( + /*liftError:*/ FfiConverterTypeLwkError.lift.bind( + FfiConverterTypeLwkError + ), + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_foreignpersister_get( + uniffiTypeForeignPersisterImplObjectFactory.clonePointer(this), + FfiConverterUInt64.lower(index), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public push(update: UpdateInterface): void /*throws*/ { + uniffiCaller.rustCallWithError( + /*liftError:*/ FfiConverterTypeLwkError.lift.bind( + FfiConverterTypeLwkError + ), + /*caller:*/ (callStatus) => { + nativeModule().ubrn_uniffi_lwk_fn_method_foreignpersister_push( + uniffiTypeForeignPersisterImplObjectFactory.clonePointer(this), + FfiConverterTypeUpdate.lower(update), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ); + } + + /** + * {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy} + */ + uniffiDestroy(): void { + const ptr = (this as any)[destructorGuardSymbol]; + if (ptr !== undefined) { + const pointer = uniffiTypeForeignPersisterImplObjectFactory.pointer(this); + uniffiTypeForeignPersisterImplObjectFactory.freePointer(pointer); + uniffiTypeForeignPersisterImplObjectFactory.unbless(ptr); + delete (this as any)[destructorGuardSymbol]; + } + } + + static instanceOf(obj: any): obj is ForeignPersisterImpl { + return uniffiTypeForeignPersisterImplObjectFactory.isConcreteType(obj); + } +} + +const uniffiTypeForeignPersisterImplObjectFactory: UniffiObjectFactory = + { + create(pointer: UnsafeMutableRawPointer): ForeignPersister { + const instance = Object.create(ForeignPersisterImpl.prototype); + instance[pointerLiteralSymbol] = pointer; + instance[destructorGuardSymbol] = this.bless(pointer); + instance[uniffiTypeNameSymbol] = 'ForeignPersisterImpl'; + return instance; + }, + + bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr { + return uniffiCaller.rustCall( + /*caller:*/ (status) => + nativeModule().ubrn_uniffi_internal_fn_method_foreignpersister_ffi__bless_pointer( + p, + status + ), + /*liftString:*/ FfiConverterString.lift + ); + }, + + unbless(ptr: UniffiRustArcPtr) { + ptr.markDestroyed(); + }, + + pointer(obj: ForeignPersister): UnsafeMutableRawPointer { + if ((obj as any)[destructorGuardSymbol] === undefined) { + throw new UniffiInternalError.UnexpectedNullPointer(); + } + return (obj as any)[pointerLiteralSymbol]; + }, + + clonePointer(obj: ForeignPersister): UnsafeMutableRawPointer { + const pointer = this.pointer(obj); + return uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_clone_foreignpersister( + pointer, + callStatus + ), + /*liftString:*/ FfiConverterString.lift + ); + }, + + freePointer(pointer: UnsafeMutableRawPointer): void { + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_free_foreignpersister( + pointer, + callStatus + ), + /*liftString:*/ FfiConverterString.lift + ); + }, + + isConcreteType(obj: any): obj is ForeignPersister { + return ( + obj[destructorGuardSymbol] && + obj[uniffiTypeNameSymbol] === 'ForeignPersisterImpl' + ); + }, + }; +// FfiConverter for ForeignPersister +const FfiConverterTypeForeignPersister = new FfiConverterObjectWithCallbacks( + uniffiTypeForeignPersisterImplObjectFactory +); + +// Add a vtavble for the callbacks that go in ForeignPersister. + +// Put the implementation in a struct so we don't pollute the top-level namespace +const uniffiCallbackInterfaceForeignPersister: { + vtable: UniffiVTableCallbackInterfaceForeignPersister; + register: () => void; +} = { + // Create the VTable using a series of closures. + // ts automatically converts these into C callback functions. + vtable: { + get: (uniffiHandle: bigint, index: bigint) => { + const uniffiMakeCall = (): UpdateInterface | undefined => { + const jsCallback = FfiConverterTypeForeignPersister.lift(uniffiHandle); + return jsCallback.get(FfiConverterUInt64.lift(index)); + }; + const uniffiResult = UniffiResult.ready(); + const uniffiHandleSuccess = (obj: any) => { + UniffiResult.writeSuccess( + uniffiResult, + FfiConverterOptionalTypeUpdate.lower(obj) + ); + }; + const uniffiHandleError = (code: number, errBuf: UniffiByteArray) => { + UniffiResult.writeError(uniffiResult, code, errBuf); + }; + uniffiTraitInterfaceCallWithError( + /*makeCall:*/ uniffiMakeCall, + /*handleSuccess:*/ uniffiHandleSuccess, + /*handleError:*/ uniffiHandleError, + /*isErrorType:*/ LwkError.instanceOf, + /*lowerError:*/ FfiConverterTypeLwkError.lower.bind( + FfiConverterTypeLwkError + ), + /*lowerString:*/ FfiConverterString.lower + ); + return uniffiResult; + }, + push: (uniffiHandle: bigint, update: bigint) => { + const uniffiMakeCall = (): void => { + const jsCallback = FfiConverterTypeForeignPersister.lift(uniffiHandle); + return jsCallback.push(FfiConverterTypeUpdate.lift(update)); + }; + const uniffiResult = UniffiResult.ready(); + const uniffiHandleSuccess = (obj: any) => {}; + const uniffiHandleError = (code: number, errBuf: UniffiByteArray) => { + UniffiResult.writeError(uniffiResult, code, errBuf); + }; + uniffiTraitInterfaceCallWithError( + /*makeCall:*/ uniffiMakeCall, + /*handleSuccess:*/ uniffiHandleSuccess, + /*handleError:*/ uniffiHandleError, + /*isErrorType:*/ LwkError.instanceOf, + /*lowerError:*/ FfiConverterTypeLwkError.lower.bind( + FfiConverterTypeLwkError + ), + /*lowerString:*/ FfiConverterString.lower + ); + return uniffiResult; + }, + uniffiFree: (uniffiHandle: UniffiHandle): void => { + // ForeignPersister: this will throw a stale handle error if the handle isn't found. + FfiConverterTypeForeignPersister.drop(uniffiHandle); + }, + }, + register: () => { + nativeModule().ubrn_uniffi_lwk_fn_init_callback_vtable_foreignpersister( + uniffiCallbackInterfaceForeignPersister.vtable + ); + }, +}; + +/** + * Implements [`ForeignPersister`] + */ +export interface ForeignPersisterLinkInterface {} + +/** + * Implements [`ForeignPersister`] + */ +export class ForeignPersisterLink + extends UniffiAbstractObject + implements ForeignPersisterLinkInterface +{ + readonly [uniffiTypeNameSymbol] = 'ForeignPersisterLink'; + readonly [destructorGuardSymbol]: UniffiRustArcPtr; + readonly [pointerLiteralSymbol]: UnsafeMutableRawPointer; + constructor(persister: ForeignPersister) { + super(); + const pointer = uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_constructor_foreignpersisterlink_new( + FfiConverterTypeForeignPersister.lower(persister), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ); + this[pointerLiteralSymbol] = pointer; + this[destructorGuardSymbol] = + uniffiTypeForeignPersisterLinkObjectFactory.bless(pointer); + } + + /** + * {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy} + */ + uniffiDestroy(): void { + const ptr = (this as any)[destructorGuardSymbol]; + if (ptr !== undefined) { + const pointer = uniffiTypeForeignPersisterLinkObjectFactory.pointer(this); + uniffiTypeForeignPersisterLinkObjectFactory.freePointer(pointer); + uniffiTypeForeignPersisterLinkObjectFactory.unbless(ptr); + delete (this as any)[destructorGuardSymbol]; + } + } + + static instanceOf(obj: any): obj is ForeignPersisterLink { + return uniffiTypeForeignPersisterLinkObjectFactory.isConcreteType(obj); + } +} + +const uniffiTypeForeignPersisterLinkObjectFactory: UniffiObjectFactory = + { + create(pointer: UnsafeMutableRawPointer): ForeignPersisterLinkInterface { + const instance = Object.create(ForeignPersisterLink.prototype); + instance[pointerLiteralSymbol] = pointer; + instance[destructorGuardSymbol] = this.bless(pointer); + instance[uniffiTypeNameSymbol] = 'ForeignPersisterLink'; + return instance; + }, + + bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr { + return uniffiCaller.rustCall( + /*caller:*/ (status) => + nativeModule().ubrn_uniffi_internal_fn_method_foreignpersisterlink_ffi__bless_pointer( + p, + status + ), + /*liftString:*/ FfiConverterString.lift + ); + }, + + unbless(ptr: UniffiRustArcPtr) { + ptr.markDestroyed(); + }, + + pointer(obj: ForeignPersisterLinkInterface): UnsafeMutableRawPointer { + if ((obj as any)[destructorGuardSymbol] === undefined) { + throw new UniffiInternalError.UnexpectedNullPointer(); + } + return (obj as any)[pointerLiteralSymbol]; + }, + + clonePointer(obj: ForeignPersisterLinkInterface): UnsafeMutableRawPointer { + const pointer = this.pointer(obj); + return uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_clone_foreignpersisterlink( + pointer, + callStatus + ), + /*liftString:*/ FfiConverterString.lift + ); + }, + + freePointer(pointer: UnsafeMutableRawPointer): void { + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_free_foreignpersisterlink( + pointer, + callStatus + ), + /*liftString:*/ FfiConverterString.lift + ); + }, + + isConcreteType(obj: any): obj is ForeignPersisterLinkInterface { + return ( + obj[destructorGuardSymbol] && + obj[uniffiTypeNameSymbol] === 'ForeignPersisterLink' + ); + }, + }; +// FfiConverter for ForeignPersisterLinkInterface +const FfiConverterTypeForeignPersisterLink = new FfiConverterObject( + uniffiTypeForeignPersisterLinkObjectFactory +); + +export interface IssuanceInterface { + asset(): AssetId | undefined; + isIssuance(): boolean; + isReissuance(): boolean; + prevTxid(): TxidInterface | undefined; + prevVout(): /*u32*/ number | undefined; + token(): AssetId | undefined; +} + +export class Issuance + extends UniffiAbstractObject + implements IssuanceInterface +{ + readonly [uniffiTypeNameSymbol] = 'Issuance'; + readonly [destructorGuardSymbol]: UniffiRustArcPtr; + readonly [pointerLiteralSymbol]: UnsafeMutableRawPointer; + // No primary constructor declared for this class. + private constructor(pointer: UnsafeMutableRawPointer) { + super(); + this[pointerLiteralSymbol] = pointer; + this[destructorGuardSymbol] = + uniffiTypeIssuanceObjectFactory.bless(pointer); + } + + public asset(): AssetId | undefined { + return FfiConverterOptionalTypeAssetId.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_issuance_asset( + uniffiTypeIssuanceObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public isIssuance(): boolean { + return FfiConverterBool.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_issuance_is_issuance( + uniffiTypeIssuanceObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public isReissuance(): boolean { + return FfiConverterBool.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_issuance_is_reissuance( + uniffiTypeIssuanceObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public prevTxid(): TxidInterface | undefined { + return FfiConverterOptionalTypeTxid.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_issuance_prev_txid( + uniffiTypeIssuanceObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public prevVout(): /*u32*/ number | undefined { + return FfiConverterOptionalUInt32.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_issuance_prev_vout( + uniffiTypeIssuanceObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public token(): AssetId | undefined { + return FfiConverterOptionalTypeAssetId.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_issuance_token( + uniffiTypeIssuanceObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy} + */ + uniffiDestroy(): void { + const ptr = (this as any)[destructorGuardSymbol]; + if (ptr !== undefined) { + const pointer = uniffiTypeIssuanceObjectFactory.pointer(this); + uniffiTypeIssuanceObjectFactory.freePointer(pointer); + uniffiTypeIssuanceObjectFactory.unbless(ptr); + delete (this as any)[destructorGuardSymbol]; + } + } + + static instanceOf(obj: any): obj is Issuance { + return uniffiTypeIssuanceObjectFactory.isConcreteType(obj); + } +} + +const uniffiTypeIssuanceObjectFactory: UniffiObjectFactory = + { + create(pointer: UnsafeMutableRawPointer): IssuanceInterface { + const instance = Object.create(Issuance.prototype); + instance[pointerLiteralSymbol] = pointer; + instance[destructorGuardSymbol] = this.bless(pointer); + instance[uniffiTypeNameSymbol] = 'Issuance'; + return instance; + }, + + bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr { + return uniffiCaller.rustCall( + /*caller:*/ (status) => + nativeModule().ubrn_uniffi_internal_fn_method_issuance_ffi__bless_pointer( + p, + status + ), + /*liftString:*/ FfiConverterString.lift + ); + }, + + unbless(ptr: UniffiRustArcPtr) { + ptr.markDestroyed(); + }, + + pointer(obj: IssuanceInterface): UnsafeMutableRawPointer { + if ((obj as any)[destructorGuardSymbol] === undefined) { + throw new UniffiInternalError.UnexpectedNullPointer(); + } + return (obj as any)[pointerLiteralSymbol]; + }, + + clonePointer(obj: IssuanceInterface): UnsafeMutableRawPointer { + const pointer = this.pointer(obj); + return uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_clone_issuance(pointer, callStatus), + /*liftString:*/ FfiConverterString.lift + ); + }, + + freePointer(pointer: UnsafeMutableRawPointer): void { + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_free_issuance(pointer, callStatus), + /*liftString:*/ FfiConverterString.lift + ); + }, + + isConcreteType(obj: any): obj is IssuanceInterface { + return ( + obj[destructorGuardSymbol] && obj[uniffiTypeNameSymbol] === 'Issuance' + ); + }, + }; +// FfiConverter for IssuanceInterface +const FfiConverterTypeIssuance = new FfiConverterObject( + uniffiTypeIssuanceObjectFactory +); + +/** + * Wrapper over [`bip39::Mnemonic`] + */ +export interface MnemonicInterface {} + +/** + * Wrapper over [`bip39::Mnemonic`] + */ +export class Mnemonic + extends UniffiAbstractObject + implements MnemonicInterface +{ + readonly [uniffiTypeNameSymbol] = 'Mnemonic'; + readonly [destructorGuardSymbol]: UniffiRustArcPtr; + readonly [pointerLiteralSymbol]: UnsafeMutableRawPointer; + /** + * Construct a Mnemonic type + */ + constructor(s: string) /*throws*/ { + super(); + const pointer = uniffiCaller.rustCallWithError( + /*liftError:*/ FfiConverterTypeLwkError.lift.bind( + FfiConverterTypeLwkError + ), + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_constructor_mnemonic_new( + FfiConverterString.lower(s), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ); + this[pointerLiteralSymbol] = pointer; + this[destructorGuardSymbol] = + uniffiTypeMnemonicObjectFactory.bless(pointer); + } + + /** + * Creates a Mnemonic from entropy, at least 16 bytes are needed. + */ + public static fromEntropy(b: ArrayBuffer): MnemonicInterface /*throws*/ { + return FfiConverterTypeMnemonic.lift( + uniffiCaller.rustCallWithError( + /*liftError:*/ FfiConverterTypeLwkError.lift.bind( + FfiConverterTypeLwkError + ), + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_constructor_mnemonic_from_entropy( + FfiConverterArrayBuffer.lower(b), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * Creates a random Mnemonic of given words (12,15,18,21,24) + */ + public static fromRandom( + wordCount: /*u8*/ number + ): MnemonicInterface /*throws*/ { + return FfiConverterTypeMnemonic.lift( + uniffiCaller.rustCallWithError( + /*liftError:*/ FfiConverterTypeLwkError.lift.bind( + FfiConverterTypeLwkError + ), + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_constructor_mnemonic_from_random( + FfiConverterUInt8.lower(wordCount), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * Calls into the `MnemonicInterface::to_string()` method of the native Rust peer. + * + * Generated by deriving the `Display` trait in Rust. + */ + toString(): string { + return FfiConverterString.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_mnemonic_uniffi_trait_display( + uniffiTypeMnemonicObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy} + */ + uniffiDestroy(): void { + const ptr = (this as any)[destructorGuardSymbol]; + if (ptr !== undefined) { + const pointer = uniffiTypeMnemonicObjectFactory.pointer(this); + uniffiTypeMnemonicObjectFactory.freePointer(pointer); + uniffiTypeMnemonicObjectFactory.unbless(ptr); + delete (this as any)[destructorGuardSymbol]; + } + } + + static instanceOf(obj: any): obj is Mnemonic { + return uniffiTypeMnemonicObjectFactory.isConcreteType(obj); + } +} + +const uniffiTypeMnemonicObjectFactory: UniffiObjectFactory = + { + create(pointer: UnsafeMutableRawPointer): MnemonicInterface { + const instance = Object.create(Mnemonic.prototype); + instance[pointerLiteralSymbol] = pointer; + instance[destructorGuardSymbol] = this.bless(pointer); + instance[uniffiTypeNameSymbol] = 'Mnemonic'; + return instance; + }, + + bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr { + return uniffiCaller.rustCall( + /*caller:*/ (status) => + nativeModule().ubrn_uniffi_internal_fn_method_mnemonic_ffi__bless_pointer( + p, + status + ), + /*liftString:*/ FfiConverterString.lift + ); + }, + + unbless(ptr: UniffiRustArcPtr) { + ptr.markDestroyed(); + }, + + pointer(obj: MnemonicInterface): UnsafeMutableRawPointer { + if ((obj as any)[destructorGuardSymbol] === undefined) { + throw new UniffiInternalError.UnexpectedNullPointer(); + } + return (obj as any)[pointerLiteralSymbol]; + }, + + clonePointer(obj: MnemonicInterface): UnsafeMutableRawPointer { + const pointer = this.pointer(obj); + return uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_clone_mnemonic(pointer, callStatus), + /*liftString:*/ FfiConverterString.lift + ); + }, + + freePointer(pointer: UnsafeMutableRawPointer): void { + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_free_mnemonic(pointer, callStatus), + /*liftString:*/ FfiConverterString.lift + ); + }, + + isConcreteType(obj: any): obj is MnemonicInterface { + return ( + obj[destructorGuardSymbol] && obj[uniffiTypeNameSymbol] === 'Mnemonic' + ); + }, + }; +// FfiConverter for MnemonicInterface +const FfiConverterTypeMnemonic = new FfiConverterObject( + uniffiTypeMnemonicObjectFactory +); + +/** + * Wrapper over [`lwk_wollet::ElementsNetwork`] + */ +export interface NetworkInterface { + defaultElectrumClient() /*throws*/ : ElectrumClientInterface; + defaultEsploraClient() /*throws*/ : EsploraClientInterface; + isMainnet(): boolean; + policyAsset(): AssetId; + txBuilder(): TxBuilderInterface; +} + +/** + * Wrapper over [`lwk_wollet::ElementsNetwork`] + */ +export class Network extends UniffiAbstractObject implements NetworkInterface { + readonly [uniffiTypeNameSymbol] = 'Network'; + readonly [destructorGuardSymbol]: UniffiRustArcPtr; + readonly [pointerLiteralSymbol]: UnsafeMutableRawPointer; + // No primary constructor declared for this class. + private constructor(pointer: UnsafeMutableRawPointer) { + super(); + this[pointerLiteralSymbol] = pointer; + this[destructorGuardSymbol] = uniffiTypeNetworkObjectFactory.bless(pointer); + } + + public static mainnet(): NetworkInterface { + return FfiConverterTypeNetwork.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_constructor_network_mainnet( + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public static regtest(policyAsset: AssetId): NetworkInterface { + return FfiConverterTypeNetwork.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_constructor_network_regtest( + FfiConverterTypeAssetId.lower(policyAsset), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public static regtestDefault(): NetworkInterface { + return FfiConverterTypeNetwork.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_constructor_network_regtest_default( + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public static testnet(): NetworkInterface { + return FfiConverterTypeNetwork.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_constructor_network_testnet( + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public defaultElectrumClient(): ElectrumClientInterface /*throws*/ { + return FfiConverterTypeElectrumClient.lift( + uniffiCaller.rustCallWithError( + /*liftError:*/ FfiConverterTypeLwkError.lift.bind( + FfiConverterTypeLwkError + ), + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_network_default_electrum_client( + uniffiTypeNetworkObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public defaultEsploraClient(): EsploraClientInterface /*throws*/ { + return FfiConverterTypeEsploraClient.lift( + uniffiCaller.rustCallWithError( + /*liftError:*/ FfiConverterTypeLwkError.lift.bind( + FfiConverterTypeLwkError + ), + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_network_default_esplora_client( + uniffiTypeNetworkObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public isMainnet(): boolean { + return FfiConverterBool.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_network_is_mainnet( + uniffiTypeNetworkObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public policyAsset(): AssetId { + return FfiConverterTypeAssetId.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_network_policy_asset( + uniffiTypeNetworkObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public txBuilder(): TxBuilderInterface { + return FfiConverterTypeTxBuilder.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_network_tx_builder( + uniffiTypeNetworkObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * Calls into the `NetworkInterface::to_string()` method of the native Rust peer. + * + * Generated by deriving the `Display` trait in Rust. + */ + toString(): string { + return FfiConverterString.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_network_uniffi_trait_display( + uniffiTypeNetworkObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy} + */ + uniffiDestroy(): void { + const ptr = (this as any)[destructorGuardSymbol]; + if (ptr !== undefined) { + const pointer = uniffiTypeNetworkObjectFactory.pointer(this); + uniffiTypeNetworkObjectFactory.freePointer(pointer); + uniffiTypeNetworkObjectFactory.unbless(ptr); + delete (this as any)[destructorGuardSymbol]; + } + } + + static instanceOf(obj: any): obj is Network { + return uniffiTypeNetworkObjectFactory.isConcreteType(obj); + } +} + +const uniffiTypeNetworkObjectFactory: UniffiObjectFactory = { + create(pointer: UnsafeMutableRawPointer): NetworkInterface { + const instance = Object.create(Network.prototype); + instance[pointerLiteralSymbol] = pointer; + instance[destructorGuardSymbol] = this.bless(pointer); + instance[uniffiTypeNameSymbol] = 'Network'; + return instance; + }, + + bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr { + return uniffiCaller.rustCall( + /*caller:*/ (status) => + nativeModule().ubrn_uniffi_internal_fn_method_network_ffi__bless_pointer( + p, + status + ), + /*liftString:*/ FfiConverterString.lift + ); + }, + + unbless(ptr: UniffiRustArcPtr) { + ptr.markDestroyed(); + }, + + pointer(obj: NetworkInterface): UnsafeMutableRawPointer { + if ((obj as any)[destructorGuardSymbol] === undefined) { + throw new UniffiInternalError.UnexpectedNullPointer(); + } + return (obj as any)[pointerLiteralSymbol]; + }, + + clonePointer(obj: NetworkInterface): UnsafeMutableRawPointer { + const pointer = this.pointer(obj); + return uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_clone_network(pointer, callStatus), + /*liftString:*/ FfiConverterString.lift + ); + }, + + freePointer(pointer: UnsafeMutableRawPointer): void { + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_free_network(pointer, callStatus), + /*liftString:*/ FfiConverterString.lift + ); + }, + + isConcreteType(obj: any): obj is NetworkInterface { + return ( + obj[destructorGuardSymbol] && obj[uniffiTypeNameSymbol] === 'Network' + ); + }, +}; +// FfiConverter for NetworkInterface +const FfiConverterTypeNetwork = new FfiConverterObject( + uniffiTypeNetworkObjectFactory +); + +export interface OutPointInterface { + txid(): TxidInterface; + vout(): /*u32*/ number; +} + +export class OutPoint + extends UniffiAbstractObject + implements OutPointInterface +{ + readonly [uniffiTypeNameSymbol] = 'OutPoint'; + readonly [destructorGuardSymbol]: UniffiRustArcPtr; + readonly [pointerLiteralSymbol]: UnsafeMutableRawPointer; + /** + * Construct an OutPoint object + */ + constructor(s: string) /*throws*/ { + super(); + const pointer = uniffiCaller.rustCallWithError( + /*liftError:*/ FfiConverterTypeLwkError.lift.bind( + FfiConverterTypeLwkError + ), + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_constructor_outpoint_new( + FfiConverterString.lower(s), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ); + this[pointerLiteralSymbol] = pointer; + this[destructorGuardSymbol] = + uniffiTypeOutPointObjectFactory.bless(pointer); + } + + public txid(): TxidInterface { + return FfiConverterTypeTxid.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_outpoint_txid( + uniffiTypeOutPointObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public vout(): /*u32*/ number { + return FfiConverterUInt32.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_outpoint_vout( + uniffiTypeOutPointObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * Calls into the `OutPointInterface::to_string()` method of the native Rust peer. + * + * Generated by deriving the `Display` trait in Rust. + */ + toString(): string { + return FfiConverterString.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_outpoint_uniffi_trait_display( + uniffiTypeOutPointObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy} + */ + uniffiDestroy(): void { + const ptr = (this as any)[destructorGuardSymbol]; + if (ptr !== undefined) { + const pointer = uniffiTypeOutPointObjectFactory.pointer(this); + uniffiTypeOutPointObjectFactory.freePointer(pointer); + uniffiTypeOutPointObjectFactory.unbless(ptr); + delete (this as any)[destructorGuardSymbol]; + } + } + + static instanceOf(obj: any): obj is OutPoint { + return uniffiTypeOutPointObjectFactory.isConcreteType(obj); + } +} + +const uniffiTypeOutPointObjectFactory: UniffiObjectFactory = + { + create(pointer: UnsafeMutableRawPointer): OutPointInterface { + const instance = Object.create(OutPoint.prototype); + instance[pointerLiteralSymbol] = pointer; + instance[destructorGuardSymbol] = this.bless(pointer); + instance[uniffiTypeNameSymbol] = 'OutPoint'; + return instance; + }, + + bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr { + return uniffiCaller.rustCall( + /*caller:*/ (status) => + nativeModule().ubrn_uniffi_internal_fn_method_outpoint_ffi__bless_pointer( + p, + status + ), + /*liftString:*/ FfiConverterString.lift + ); + }, + + unbless(ptr: UniffiRustArcPtr) { + ptr.markDestroyed(); + }, + + pointer(obj: OutPointInterface): UnsafeMutableRawPointer { + if ((obj as any)[destructorGuardSymbol] === undefined) { + throw new UniffiInternalError.UnexpectedNullPointer(); + } + return (obj as any)[pointerLiteralSymbol]; + }, + + clonePointer(obj: OutPointInterface): UnsafeMutableRawPointer { + const pointer = this.pointer(obj); + return uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_clone_outpoint(pointer, callStatus), + /*liftString:*/ FfiConverterString.lift + ); + }, + + freePointer(pointer: UnsafeMutableRawPointer): void { + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_free_outpoint(pointer, callStatus), + /*liftString:*/ FfiConverterString.lift + ); + }, + + isConcreteType(obj: any): obj is OutPointInterface { + return ( + obj[destructorGuardSymbol] && obj[uniffiTypeNameSymbol] === 'OutPoint' + ); + }, + }; +// FfiConverter for OutPointInterface +const FfiConverterTypeOutPoint = new FfiConverterObject( + uniffiTypeOutPointObjectFactory +); + +/** + * Wrapper over [`lwk_common::Precision`] + */ +export interface PrecisionInterface { + /** + * See [`lwk_common::Precision::sats_to_string`] + */ + satsToString(sats: /*i64*/ bigint): string; + /** + * See [`lwk_common::Precision::string_to_sats`] + */ + stringToSats(val: string) /*throws*/ : /*i64*/ bigint; +} + +/** + * Wrapper over [`lwk_common::Precision`] + */ +export class Precision + extends UniffiAbstractObject + implements PrecisionInterface +{ + readonly [uniffiTypeNameSymbol] = 'Precision'; + readonly [destructorGuardSymbol]: UniffiRustArcPtr; + readonly [pointerLiteralSymbol]: UnsafeMutableRawPointer; + /** + * See [`lwk_common::Precision::new`] + */ + constructor(precision: /*u8*/ number) /*throws*/ { + super(); + const pointer = uniffiCaller.rustCallWithError( + /*liftError:*/ FfiConverterTypeLwkError.lift.bind( + FfiConverterTypeLwkError + ), + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_constructor_precision_new( + FfiConverterUInt8.lower(precision), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ); + this[pointerLiteralSymbol] = pointer; + this[destructorGuardSymbol] = + uniffiTypePrecisionObjectFactory.bless(pointer); + } + + /** + * See [`lwk_common::Precision::sats_to_string`] + */ + public satsToString(sats: /*i64*/ bigint): string { + return FfiConverterString.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_precision_sats_to_string( + uniffiTypePrecisionObjectFactory.clonePointer(this), + FfiConverterInt64.lower(sats), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * See [`lwk_common::Precision::string_to_sats`] + */ + public stringToSats(val: string): /*i64*/ bigint /*throws*/ { + return FfiConverterInt64.lift( + uniffiCaller.rustCallWithError( + /*liftError:*/ FfiConverterTypeLwkError.lift.bind( + FfiConverterTypeLwkError + ), + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_precision_string_to_sats( + uniffiTypePrecisionObjectFactory.clonePointer(this), + FfiConverterString.lower(val), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy} + */ + uniffiDestroy(): void { + const ptr = (this as any)[destructorGuardSymbol]; + if (ptr !== undefined) { + const pointer = uniffiTypePrecisionObjectFactory.pointer(this); + uniffiTypePrecisionObjectFactory.freePointer(pointer); + uniffiTypePrecisionObjectFactory.unbless(ptr); + delete (this as any)[destructorGuardSymbol]; + } + } + + static instanceOf(obj: any): obj is Precision { + return uniffiTypePrecisionObjectFactory.isConcreteType(obj); + } +} + +const uniffiTypePrecisionObjectFactory: UniffiObjectFactory = + { + create(pointer: UnsafeMutableRawPointer): PrecisionInterface { + const instance = Object.create(Precision.prototype); + instance[pointerLiteralSymbol] = pointer; + instance[destructorGuardSymbol] = this.bless(pointer); + instance[uniffiTypeNameSymbol] = 'Precision'; + return instance; + }, + + bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr { + return uniffiCaller.rustCall( + /*caller:*/ (status) => + nativeModule().ubrn_uniffi_internal_fn_method_precision_ffi__bless_pointer( + p, + status + ), + /*liftString:*/ FfiConverterString.lift + ); + }, + + unbless(ptr: UniffiRustArcPtr) { + ptr.markDestroyed(); + }, + + pointer(obj: PrecisionInterface): UnsafeMutableRawPointer { + if ((obj as any)[destructorGuardSymbol] === undefined) { + throw new UniffiInternalError.UnexpectedNullPointer(); + } + return (obj as any)[pointerLiteralSymbol]; + }, + + clonePointer(obj: PrecisionInterface): UnsafeMutableRawPointer { + const pointer = this.pointer(obj); + return uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_clone_precision( + pointer, + callStatus + ), + /*liftString:*/ FfiConverterString.lift + ); + }, + + freePointer(pointer: UnsafeMutableRawPointer): void { + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_free_precision(pointer, callStatus), + /*liftString:*/ FfiConverterString.lift + ); + }, + + isConcreteType(obj: any): obj is PrecisionInterface { + return ( + obj[destructorGuardSymbol] && obj[uniffiTypeNameSymbol] === 'Precision' + ); + }, + }; +// FfiConverter for PrecisionInterface +const FfiConverterTypePrecision = new FfiConverterObject( + uniffiTypePrecisionObjectFactory +); + +/** + * Partially Signed Elements Transaction, wrapper over [`elements::pset::PartiallySignedTransaction`] + */ +export interface PsetInterface { + extractTx() /*throws*/ : TransactionInterface; + /** + * Finalize and extract the PSET + */ + finalize() /*throws*/ : TransactionInterface; + inputs(): Array; +} + +/** + * Partially Signed Elements Transaction, wrapper over [`elements::pset::PartiallySignedTransaction`] + */ +export class Pset extends UniffiAbstractObject implements PsetInterface { + readonly [uniffiTypeNameSymbol] = 'Pset'; + readonly [destructorGuardSymbol]: UniffiRustArcPtr; + readonly [pointerLiteralSymbol]: UnsafeMutableRawPointer; + /** + * Construct a Watch-Only wallet object + */ + constructor(base64: string) /*throws*/ { + super(); + const pointer = uniffiCaller.rustCallWithError( + /*liftError:*/ FfiConverterTypeLwkError.lift.bind( + FfiConverterTypeLwkError + ), + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_constructor_pset_new( + FfiConverterString.lower(base64), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ); + this[pointerLiteralSymbol] = pointer; + this[destructorGuardSymbol] = uniffiTypePsetObjectFactory.bless(pointer); + } + + public extractTx(): TransactionInterface /*throws*/ { + return FfiConverterTypeTransaction.lift( + uniffiCaller.rustCallWithError( + /*liftError:*/ FfiConverterTypeLwkError.lift.bind( + FfiConverterTypeLwkError + ), + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_pset_extract_tx( + uniffiTypePsetObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * Finalize and extract the PSET + */ + public finalize(): TransactionInterface /*throws*/ { + return FfiConverterTypeTransaction.lift( + uniffiCaller.rustCallWithError( + /*liftError:*/ FfiConverterTypeLwkError.lift.bind( + FfiConverterTypeLwkError + ), + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_pset_finalize( + uniffiTypePsetObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public inputs(): Array { + return FfiConverterArrayTypePsetInput.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_pset_inputs( + uniffiTypePsetObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * Calls into the `PsetInterface::to_string()` method of the native Rust peer. + * + * Generated by deriving the `Display` trait in Rust. + */ + toString(): string { + return FfiConverterString.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_pset_uniffi_trait_display( + uniffiTypePsetObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy} + */ + uniffiDestroy(): void { + const ptr = (this as any)[destructorGuardSymbol]; + if (ptr !== undefined) { + const pointer = uniffiTypePsetObjectFactory.pointer(this); + uniffiTypePsetObjectFactory.freePointer(pointer); + uniffiTypePsetObjectFactory.unbless(ptr); + delete (this as any)[destructorGuardSymbol]; + } + } + + static instanceOf(obj: any): obj is Pset { + return uniffiTypePsetObjectFactory.isConcreteType(obj); + } +} + +const uniffiTypePsetObjectFactory: UniffiObjectFactory = { + create(pointer: UnsafeMutableRawPointer): PsetInterface { + const instance = Object.create(Pset.prototype); + instance[pointerLiteralSymbol] = pointer; + instance[destructorGuardSymbol] = this.bless(pointer); + instance[uniffiTypeNameSymbol] = 'Pset'; + return instance; + }, + + bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr { + return uniffiCaller.rustCall( + /*caller:*/ (status) => + nativeModule().ubrn_uniffi_internal_fn_method_pset_ffi__bless_pointer( + p, + status + ), + /*liftString:*/ FfiConverterString.lift + ); + }, + + unbless(ptr: UniffiRustArcPtr) { + ptr.markDestroyed(); + }, + + pointer(obj: PsetInterface): UnsafeMutableRawPointer { + if ((obj as any)[destructorGuardSymbol] === undefined) { + throw new UniffiInternalError.UnexpectedNullPointer(); + } + return (obj as any)[pointerLiteralSymbol]; + }, + + clonePointer(obj: PsetInterface): UnsafeMutableRawPointer { + const pointer = this.pointer(obj); + return uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_clone_pset(pointer, callStatus), + /*liftString:*/ FfiConverterString.lift + ); + }, + + freePointer(pointer: UnsafeMutableRawPointer): void { + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_free_pset(pointer, callStatus), + /*liftString:*/ FfiConverterString.lift + ); + }, + + isConcreteType(obj: any): obj is PsetInterface { + return obj[destructorGuardSymbol] && obj[uniffiTypeNameSymbol] === 'Pset'; + }, +}; +// FfiConverter for PsetInterface +const FfiConverterTypePset = new FfiConverterObject( + uniffiTypePsetObjectFactory +); + +export interface PsetBalanceInterface { + balances(): Map; + fee(): /*u64*/ bigint; + recipients(): Array; +} + +export class PsetBalance + extends UniffiAbstractObject + implements PsetBalanceInterface +{ + readonly [uniffiTypeNameSymbol] = 'PsetBalance'; + readonly [destructorGuardSymbol]: UniffiRustArcPtr; + readonly [pointerLiteralSymbol]: UnsafeMutableRawPointer; + // No primary constructor declared for this class. + private constructor(pointer: UnsafeMutableRawPointer) { + super(); + this[pointerLiteralSymbol] = pointer; + this[destructorGuardSymbol] = + uniffiTypePsetBalanceObjectFactory.bless(pointer); + } + + public balances(): Map { + return FfiConverterMapTypeAssetIdInt64.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_psetbalance_balances( + uniffiTypePsetBalanceObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public fee(): /*u64*/ bigint { + return FfiConverterUInt64.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_psetbalance_fee( + uniffiTypePsetBalanceObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public recipients(): Array { + return FfiConverterArrayTypeRecipient.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_psetbalance_recipients( + uniffiTypePsetBalanceObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy} + */ + uniffiDestroy(): void { + const ptr = (this as any)[destructorGuardSymbol]; + if (ptr !== undefined) { + const pointer = uniffiTypePsetBalanceObjectFactory.pointer(this); + uniffiTypePsetBalanceObjectFactory.freePointer(pointer); + uniffiTypePsetBalanceObjectFactory.unbless(ptr); + delete (this as any)[destructorGuardSymbol]; + } + } + + static instanceOf(obj: any): obj is PsetBalance { + return uniffiTypePsetBalanceObjectFactory.isConcreteType(obj); + } +} + +const uniffiTypePsetBalanceObjectFactory: UniffiObjectFactory = + { + create(pointer: UnsafeMutableRawPointer): PsetBalanceInterface { + const instance = Object.create(PsetBalance.prototype); + instance[pointerLiteralSymbol] = pointer; + instance[destructorGuardSymbol] = this.bless(pointer); + instance[uniffiTypeNameSymbol] = 'PsetBalance'; + return instance; + }, + + bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr { + return uniffiCaller.rustCall( + /*caller:*/ (status) => + nativeModule().ubrn_uniffi_internal_fn_method_psetbalance_ffi__bless_pointer( + p, + status + ), + /*liftString:*/ FfiConverterString.lift + ); + }, + + unbless(ptr: UniffiRustArcPtr) { + ptr.markDestroyed(); + }, + + pointer(obj: PsetBalanceInterface): UnsafeMutableRawPointer { + if ((obj as any)[destructorGuardSymbol] === undefined) { + throw new UniffiInternalError.UnexpectedNullPointer(); + } + return (obj as any)[pointerLiteralSymbol]; + }, + + clonePointer(obj: PsetBalanceInterface): UnsafeMutableRawPointer { + const pointer = this.pointer(obj); + return uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_clone_psetbalance( + pointer, + callStatus + ), + /*liftString:*/ FfiConverterString.lift + ); + }, + + freePointer(pointer: UnsafeMutableRawPointer): void { + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_free_psetbalance( + pointer, + callStatus + ), + /*liftString:*/ FfiConverterString.lift + ); + }, + + isConcreteType(obj: any): obj is PsetBalanceInterface { + return ( + obj[destructorGuardSymbol] && + obj[uniffiTypeNameSymbol] === 'PsetBalance' + ); + }, + }; +// FfiConverter for PsetBalanceInterface +const FfiConverterTypePsetBalance = new FfiConverterObject( + uniffiTypePsetBalanceObjectFactory +); + +export interface PsetDetailsInterface { + balance(): PsetBalanceInterface; + inputsIssuances(): Array; + signatures(): Array; +} + +export class PsetDetails + extends UniffiAbstractObject + implements PsetDetailsInterface +{ + readonly [uniffiTypeNameSymbol] = 'PsetDetails'; + readonly [destructorGuardSymbol]: UniffiRustArcPtr; + readonly [pointerLiteralSymbol]: UnsafeMutableRawPointer; + // No primary constructor declared for this class. + private constructor(pointer: UnsafeMutableRawPointer) { + super(); + this[pointerLiteralSymbol] = pointer; + this[destructorGuardSymbol] = + uniffiTypePsetDetailsObjectFactory.bless(pointer); + } + + public balance(): PsetBalanceInterface { + return FfiConverterTypePsetBalance.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_psetdetails_balance( + uniffiTypePsetDetailsObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public inputsIssuances(): Array { + return FfiConverterArrayTypeIssuance.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_psetdetails_inputs_issuances( + uniffiTypePsetDetailsObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public signatures(): Array { + return FfiConverterArrayTypePsetSignatures.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_psetdetails_signatures( + uniffiTypePsetDetailsObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy} + */ + uniffiDestroy(): void { + const ptr = (this as any)[destructorGuardSymbol]; + if (ptr !== undefined) { + const pointer = uniffiTypePsetDetailsObjectFactory.pointer(this); + uniffiTypePsetDetailsObjectFactory.freePointer(pointer); + uniffiTypePsetDetailsObjectFactory.unbless(ptr); + delete (this as any)[destructorGuardSymbol]; + } + } + + static instanceOf(obj: any): obj is PsetDetails { + return uniffiTypePsetDetailsObjectFactory.isConcreteType(obj); + } +} + +const uniffiTypePsetDetailsObjectFactory: UniffiObjectFactory = + { + create(pointer: UnsafeMutableRawPointer): PsetDetailsInterface { + const instance = Object.create(PsetDetails.prototype); + instance[pointerLiteralSymbol] = pointer; + instance[destructorGuardSymbol] = this.bless(pointer); + instance[uniffiTypeNameSymbol] = 'PsetDetails'; + return instance; + }, + + bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr { + return uniffiCaller.rustCall( + /*caller:*/ (status) => + nativeModule().ubrn_uniffi_internal_fn_method_psetdetails_ffi__bless_pointer( + p, + status + ), + /*liftString:*/ FfiConverterString.lift + ); + }, + + unbless(ptr: UniffiRustArcPtr) { + ptr.markDestroyed(); + }, + + pointer(obj: PsetDetailsInterface): UnsafeMutableRawPointer { + if ((obj as any)[destructorGuardSymbol] === undefined) { + throw new UniffiInternalError.UnexpectedNullPointer(); + } + return (obj as any)[pointerLiteralSymbol]; + }, + + clonePointer(obj: PsetDetailsInterface): UnsafeMutableRawPointer { + const pointer = this.pointer(obj); + return uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_clone_psetdetails( + pointer, + callStatus + ), + /*liftString:*/ FfiConverterString.lift + ); + }, + + freePointer(pointer: UnsafeMutableRawPointer): void { + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_free_psetdetails( + pointer, + callStatus + ), + /*liftString:*/ FfiConverterString.lift + ); + }, + + isConcreteType(obj: any): obj is PsetDetailsInterface { + return ( + obj[destructorGuardSymbol] && + obj[uniffiTypeNameSymbol] === 'PsetDetails' + ); + }, + }; +// FfiConverter for PsetDetailsInterface +const FfiConverterTypePsetDetails = new FfiConverterObject( + uniffiTypePsetDetailsObjectFactory +); + +/** + * PSET input + */ +export interface PsetInputInterface { + /** + * If the input has an issuance, the asset id + */ + issuanceAsset(): AssetId | undefined; + /** + * If the input has an issuance, the token id + */ + issuanceToken(): AssetId | undefined; + /** + * Prevout scriptpubkey of the input + */ + previousScriptPubkey(): ScriptInterface | undefined; + /** + * Prevout TXID of the input + */ + previousTxid(): TxidInterface; + /** + * Prevout vout of the input + */ + previousVout(): /*u32*/ number; + /** + * Redeem script of the input + */ + redeemScript(): ScriptInterface | undefined; +} + +/** + * PSET input + */ +export class PsetInput + extends UniffiAbstractObject + implements PsetInputInterface +{ + readonly [uniffiTypeNameSymbol] = 'PsetInput'; + readonly [destructorGuardSymbol]: UniffiRustArcPtr; + readonly [pointerLiteralSymbol]: UnsafeMutableRawPointer; + // No primary constructor declared for this class. + private constructor(pointer: UnsafeMutableRawPointer) { + super(); + this[pointerLiteralSymbol] = pointer; + this[destructorGuardSymbol] = + uniffiTypePsetInputObjectFactory.bless(pointer); + } + + /** + * If the input has an issuance, the asset id + */ + public issuanceAsset(): AssetId | undefined { + return FfiConverterOptionalTypeAssetId.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_psetinput_issuance_asset( + uniffiTypePsetInputObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * If the input has an issuance, the token id + */ + public issuanceToken(): AssetId | undefined { + return FfiConverterOptionalTypeAssetId.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_psetinput_issuance_token( + uniffiTypePsetInputObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * Prevout scriptpubkey of the input + */ + public previousScriptPubkey(): ScriptInterface | undefined { + return FfiConverterOptionalTypeScript.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_psetinput_previous_script_pubkey( + uniffiTypePsetInputObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * Prevout TXID of the input + */ + public previousTxid(): TxidInterface { + return FfiConverterTypeTxid.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_psetinput_previous_txid( + uniffiTypePsetInputObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * Prevout vout of the input + */ + public previousVout(): /*u32*/ number { + return FfiConverterUInt32.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_psetinput_previous_vout( + uniffiTypePsetInputObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * Redeem script of the input + */ + public redeemScript(): ScriptInterface | undefined { + return FfiConverterOptionalTypeScript.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_psetinput_redeem_script( + uniffiTypePsetInputObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy} + */ + uniffiDestroy(): void { + const ptr = (this as any)[destructorGuardSymbol]; + if (ptr !== undefined) { + const pointer = uniffiTypePsetInputObjectFactory.pointer(this); + uniffiTypePsetInputObjectFactory.freePointer(pointer); + uniffiTypePsetInputObjectFactory.unbless(ptr); + delete (this as any)[destructorGuardSymbol]; + } + } + + static instanceOf(obj: any): obj is PsetInput { + return uniffiTypePsetInputObjectFactory.isConcreteType(obj); + } +} + +const uniffiTypePsetInputObjectFactory: UniffiObjectFactory = + { + create(pointer: UnsafeMutableRawPointer): PsetInputInterface { + const instance = Object.create(PsetInput.prototype); + instance[pointerLiteralSymbol] = pointer; + instance[destructorGuardSymbol] = this.bless(pointer); + instance[uniffiTypeNameSymbol] = 'PsetInput'; + return instance; + }, + + bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr { + return uniffiCaller.rustCall( + /*caller:*/ (status) => + nativeModule().ubrn_uniffi_internal_fn_method_psetinput_ffi__bless_pointer( + p, + status + ), + /*liftString:*/ FfiConverterString.lift + ); + }, + + unbless(ptr: UniffiRustArcPtr) { + ptr.markDestroyed(); + }, + + pointer(obj: PsetInputInterface): UnsafeMutableRawPointer { + if ((obj as any)[destructorGuardSymbol] === undefined) { + throw new UniffiInternalError.UnexpectedNullPointer(); + } + return (obj as any)[pointerLiteralSymbol]; + }, + + clonePointer(obj: PsetInputInterface): UnsafeMutableRawPointer { + const pointer = this.pointer(obj); + return uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_clone_psetinput( + pointer, + callStatus + ), + /*liftString:*/ FfiConverterString.lift + ); + }, + + freePointer(pointer: UnsafeMutableRawPointer): void { + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_free_psetinput(pointer, callStatus), + /*liftString:*/ FfiConverterString.lift + ); + }, + + isConcreteType(obj: any): obj is PsetInputInterface { + return ( + obj[destructorGuardSymbol] && obj[uniffiTypeNameSymbol] === 'PsetInput' + ); + }, + }; +// FfiConverter for PsetInputInterface +const FfiConverterTypePsetInput = new FfiConverterObject( + uniffiTypePsetInputObjectFactory +); + +export interface PsetSignaturesInterface { + hasSignature(): Map; + missingSignature(): Map; +} + +export class PsetSignatures + extends UniffiAbstractObject + implements PsetSignaturesInterface +{ + readonly [uniffiTypeNameSymbol] = 'PsetSignatures'; + readonly [destructorGuardSymbol]: UniffiRustArcPtr; + readonly [pointerLiteralSymbol]: UnsafeMutableRawPointer; + // No primary constructor declared for this class. + private constructor(pointer: UnsafeMutableRawPointer) { + super(); + this[pointerLiteralSymbol] = pointer; + this[destructorGuardSymbol] = + uniffiTypePsetSignaturesObjectFactory.bless(pointer); + } + + public hasSignature(): Map { + return FfiConverterMapStringString.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_psetsignatures_has_signature( + uniffiTypePsetSignaturesObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public missingSignature(): Map { + return FfiConverterMapStringString.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_psetsignatures_missing_signature( + uniffiTypePsetSignaturesObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy} + */ + uniffiDestroy(): void { + const ptr = (this as any)[destructorGuardSymbol]; + if (ptr !== undefined) { + const pointer = uniffiTypePsetSignaturesObjectFactory.pointer(this); + uniffiTypePsetSignaturesObjectFactory.freePointer(pointer); + uniffiTypePsetSignaturesObjectFactory.unbless(ptr); + delete (this as any)[destructorGuardSymbol]; + } + } + + static instanceOf(obj: any): obj is PsetSignatures { + return uniffiTypePsetSignaturesObjectFactory.isConcreteType(obj); + } +} + +const uniffiTypePsetSignaturesObjectFactory: UniffiObjectFactory = + { + create(pointer: UnsafeMutableRawPointer): PsetSignaturesInterface { + const instance = Object.create(PsetSignatures.prototype); + instance[pointerLiteralSymbol] = pointer; + instance[destructorGuardSymbol] = this.bless(pointer); + instance[uniffiTypeNameSymbol] = 'PsetSignatures'; + return instance; + }, + + bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr { + return uniffiCaller.rustCall( + /*caller:*/ (status) => + nativeModule().ubrn_uniffi_internal_fn_method_psetsignatures_ffi__bless_pointer( + p, + status + ), + /*liftString:*/ FfiConverterString.lift + ); + }, + + unbless(ptr: UniffiRustArcPtr) { + ptr.markDestroyed(); + }, + + pointer(obj: PsetSignaturesInterface): UnsafeMutableRawPointer { + if ((obj as any)[destructorGuardSymbol] === undefined) { + throw new UniffiInternalError.UnexpectedNullPointer(); + } + return (obj as any)[pointerLiteralSymbol]; + }, + + clonePointer(obj: PsetSignaturesInterface): UnsafeMutableRawPointer { + const pointer = this.pointer(obj); + return uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_clone_psetsignatures( + pointer, + callStatus + ), + /*liftString:*/ FfiConverterString.lift + ); + }, + + freePointer(pointer: UnsafeMutableRawPointer): void { + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_free_psetsignatures( + pointer, + callStatus + ), + /*liftString:*/ FfiConverterString.lift + ); + }, + + isConcreteType(obj: any): obj is PsetSignaturesInterface { + return ( + obj[destructorGuardSymbol] && + obj[uniffiTypeNameSymbol] === 'PsetSignatures' + ); + }, + }; +// FfiConverter for PsetSignaturesInterface +const FfiConverterTypePsetSignatures = new FfiConverterObject( + uniffiTypePsetSignaturesObjectFactory +); + +export interface RecipientInterface { + address(): AddressInterface | undefined; + asset(): AssetId | undefined; + value(): /*u64*/ bigint | undefined; + vout(): /*u32*/ number; +} + +export class Recipient + extends UniffiAbstractObject + implements RecipientInterface +{ + readonly [uniffiTypeNameSymbol] = 'Recipient'; + readonly [destructorGuardSymbol]: UniffiRustArcPtr; + readonly [pointerLiteralSymbol]: UnsafeMutableRawPointer; + // No primary constructor declared for this class. + private constructor(pointer: UnsafeMutableRawPointer) { + super(); + this[pointerLiteralSymbol] = pointer; + this[destructorGuardSymbol] = + uniffiTypeRecipientObjectFactory.bless(pointer); + } + + public address(): AddressInterface | undefined { + return FfiConverterOptionalTypeAddress.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_recipient_address( + uniffiTypeRecipientObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public asset(): AssetId | undefined { + return FfiConverterOptionalTypeAssetId.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_recipient_asset( + uniffiTypeRecipientObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public value(): /*u64*/ bigint | undefined { + return FfiConverterOptionalUInt64.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_recipient_value( + uniffiTypeRecipientObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public vout(): /*u32*/ number { + return FfiConverterUInt32.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_recipient_vout( + uniffiTypeRecipientObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy} + */ + uniffiDestroy(): void { + const ptr = (this as any)[destructorGuardSymbol]; + if (ptr !== undefined) { + const pointer = uniffiTypeRecipientObjectFactory.pointer(this); + uniffiTypeRecipientObjectFactory.freePointer(pointer); + uniffiTypeRecipientObjectFactory.unbless(ptr); + delete (this as any)[destructorGuardSymbol]; + } + } + + static instanceOf(obj: any): obj is Recipient { + return uniffiTypeRecipientObjectFactory.isConcreteType(obj); + } +} + +const uniffiTypeRecipientObjectFactory: UniffiObjectFactory = + { + create(pointer: UnsafeMutableRawPointer): RecipientInterface { + const instance = Object.create(Recipient.prototype); + instance[pointerLiteralSymbol] = pointer; + instance[destructorGuardSymbol] = this.bless(pointer); + instance[uniffiTypeNameSymbol] = 'Recipient'; + return instance; + }, + + bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr { + return uniffiCaller.rustCall( + /*caller:*/ (status) => + nativeModule().ubrn_uniffi_internal_fn_method_recipient_ffi__bless_pointer( + p, + status + ), + /*liftString:*/ FfiConverterString.lift + ); + }, + + unbless(ptr: UniffiRustArcPtr) { + ptr.markDestroyed(); + }, + + pointer(obj: RecipientInterface): UnsafeMutableRawPointer { + if ((obj as any)[destructorGuardSymbol] === undefined) { + throw new UniffiInternalError.UnexpectedNullPointer(); + } + return (obj as any)[pointerLiteralSymbol]; + }, + + clonePointer(obj: RecipientInterface): UnsafeMutableRawPointer { + const pointer = this.pointer(obj); + return uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_clone_recipient( + pointer, + callStatus + ), + /*liftString:*/ FfiConverterString.lift + ); + }, + + freePointer(pointer: UnsafeMutableRawPointer): void { + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_free_recipient(pointer, callStatus), + /*liftString:*/ FfiConverterString.lift + ); + }, + + isConcreteType(obj: any): obj is RecipientInterface { + return ( + obj[destructorGuardSymbol] && obj[uniffiTypeNameSymbol] === 'Recipient' + ); + }, + }; +// FfiConverter for RecipientInterface +const FfiConverterTypeRecipient = new FfiConverterObject( + uniffiTypeRecipientObjectFactory +); + +export interface ScriptInterface { + asm(): string; + bytes(): ArrayBuffer; +} + +export class Script extends UniffiAbstractObject implements ScriptInterface { + readonly [uniffiTypeNameSymbol] = 'Script'; + readonly [destructorGuardSymbol]: UniffiRustArcPtr; + readonly [pointerLiteralSymbol]: UnsafeMutableRawPointer; + /** + * Construct a Script object + */ + constructor(hex: Hex) /*throws*/ { + super(); + const pointer = uniffiCaller.rustCallWithError( + /*liftError:*/ FfiConverterTypeLwkError.lift.bind( + FfiConverterTypeLwkError + ), + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_constructor_script_new( + FfiConverterTypeHex.lower(hex), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ); + this[pointerLiteralSymbol] = pointer; + this[destructorGuardSymbol] = uniffiTypeScriptObjectFactory.bless(pointer); + } + + public asm(): string { + return FfiConverterString.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_script_asm( + uniffiTypeScriptObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public bytes(): ArrayBuffer { + return FfiConverterArrayBuffer.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_script_bytes( + uniffiTypeScriptObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * Calls into the `ScriptInterface::to_string()` method of the native Rust peer. + * + * Generated by deriving the `Display` trait in Rust. + */ + toString(): string { + return FfiConverterString.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_script_uniffi_trait_display( + uniffiTypeScriptObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy} + */ + uniffiDestroy(): void { + const ptr = (this as any)[destructorGuardSymbol]; + if (ptr !== undefined) { + const pointer = uniffiTypeScriptObjectFactory.pointer(this); + uniffiTypeScriptObjectFactory.freePointer(pointer); + uniffiTypeScriptObjectFactory.unbless(ptr); + delete (this as any)[destructorGuardSymbol]; + } + } + + static instanceOf(obj: any): obj is Script { + return uniffiTypeScriptObjectFactory.isConcreteType(obj); + } +} + +const uniffiTypeScriptObjectFactory: UniffiObjectFactory = { + create(pointer: UnsafeMutableRawPointer): ScriptInterface { + const instance = Object.create(Script.prototype); + instance[pointerLiteralSymbol] = pointer; + instance[destructorGuardSymbol] = this.bless(pointer); + instance[uniffiTypeNameSymbol] = 'Script'; + return instance; + }, + + bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr { + return uniffiCaller.rustCall( + /*caller:*/ (status) => + nativeModule().ubrn_uniffi_internal_fn_method_script_ffi__bless_pointer( + p, + status + ), + /*liftString:*/ FfiConverterString.lift + ); + }, + + unbless(ptr: UniffiRustArcPtr) { + ptr.markDestroyed(); + }, + + pointer(obj: ScriptInterface): UnsafeMutableRawPointer { + if ((obj as any)[destructorGuardSymbol] === undefined) { + throw new UniffiInternalError.UnexpectedNullPointer(); + } + return (obj as any)[pointerLiteralSymbol]; + }, + + clonePointer(obj: ScriptInterface): UnsafeMutableRawPointer { + const pointer = this.pointer(obj); + return uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_clone_script(pointer, callStatus), + /*liftString:*/ FfiConverterString.lift + ); + }, + + freePointer(pointer: UnsafeMutableRawPointer): void { + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_free_script(pointer, callStatus), + /*liftString:*/ FfiConverterString.lift + ); + }, + + isConcreteType(obj: any): obj is ScriptInterface { + return obj[destructorGuardSymbol] && obj[uniffiTypeNameSymbol] === 'Script'; + }, +}; +// FfiConverter for ScriptInterface +const FfiConverterTypeScript = new FfiConverterObject( + uniffiTypeScriptObjectFactory +); + +/** + * A secret key + */ +export interface SecretKeyInterface { + bytes(): ArrayBuffer; +} + +/** + * A secret key + */ +export class SecretKey + extends UniffiAbstractObject + implements SecretKeyInterface +{ + readonly [uniffiTypeNameSymbol] = 'SecretKey'; + readonly [destructorGuardSymbol]: UniffiRustArcPtr; + readonly [pointerLiteralSymbol]: UnsafeMutableRawPointer; + // No primary constructor declared for this class. + private constructor(pointer: UnsafeMutableRawPointer) { + super(); + this[pointerLiteralSymbol] = pointer; + this[destructorGuardSymbol] = + uniffiTypeSecretKeyObjectFactory.bless(pointer); + } + + public static fromBytes(bytes: ArrayBuffer): SecretKeyInterface /*throws*/ { + return FfiConverterTypeSecretKey.lift( + uniffiCaller.rustCallWithError( + /*liftError:*/ FfiConverterTypeLwkError.lift.bind( + FfiConverterTypeLwkError + ), + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_constructor_secretkey_from_bytes( + FfiConverterArrayBuffer.lower(bytes), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public bytes(): ArrayBuffer { + return FfiConverterArrayBuffer.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_secretkey_bytes( + uniffiTypeSecretKeyObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy} + */ + uniffiDestroy(): void { + const ptr = (this as any)[destructorGuardSymbol]; + if (ptr !== undefined) { + const pointer = uniffiTypeSecretKeyObjectFactory.pointer(this); + uniffiTypeSecretKeyObjectFactory.freePointer(pointer); + uniffiTypeSecretKeyObjectFactory.unbless(ptr); + delete (this as any)[destructorGuardSymbol]; + } + } + + static instanceOf(obj: any): obj is SecretKey { + return uniffiTypeSecretKeyObjectFactory.isConcreteType(obj); + } +} + +const uniffiTypeSecretKeyObjectFactory: UniffiObjectFactory = + { + create(pointer: UnsafeMutableRawPointer): SecretKeyInterface { + const instance = Object.create(SecretKey.prototype); + instance[pointerLiteralSymbol] = pointer; + instance[destructorGuardSymbol] = this.bless(pointer); + instance[uniffiTypeNameSymbol] = 'SecretKey'; + return instance; + }, + + bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr { + return uniffiCaller.rustCall( + /*caller:*/ (status) => + nativeModule().ubrn_uniffi_internal_fn_method_secretkey_ffi__bless_pointer( + p, + status + ), + /*liftString:*/ FfiConverterString.lift + ); + }, + + unbless(ptr: UniffiRustArcPtr) { + ptr.markDestroyed(); + }, + + pointer(obj: SecretKeyInterface): UnsafeMutableRawPointer { + if ((obj as any)[destructorGuardSymbol] === undefined) { + throw new UniffiInternalError.UnexpectedNullPointer(); + } + return (obj as any)[pointerLiteralSymbol]; + }, + + clonePointer(obj: SecretKeyInterface): UnsafeMutableRawPointer { + const pointer = this.pointer(obj); + return uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_clone_secretkey( + pointer, + callStatus + ), + /*liftString:*/ FfiConverterString.lift + ); + }, + + freePointer(pointer: UnsafeMutableRawPointer): void { + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_free_secretkey(pointer, callStatus), + /*liftString:*/ FfiConverterString.lift + ); + }, + + isConcreteType(obj: any): obj is SecretKeyInterface { + return ( + obj[destructorGuardSymbol] && obj[uniffiTypeNameSymbol] === 'SecretKey' + ); + }, + }; +// FfiConverter for SecretKeyInterface +const FfiConverterTypeSecretKey = new FfiConverterObject( + uniffiTypeSecretKeyObjectFactory +); + +/** + * A Software signer, wrapper over [`lwk_signer::SwSigner`] + */ +export interface SignerInterface { + keyoriginXpub(bip: BipInterface) /*throws*/ : string; + mnemonic() /*throws*/ : MnemonicInterface; + /** + * Sign the given `pset` + * + * Note from an API perspective it would be better to consume the `pset` parameter so it would + * be clear the signed PSET is the returned one, but it's not possible with uniffi bindings + */ + sign(pset: PsetInterface) /*throws*/ : PsetInterface; + wpkhSlip77Descriptor() /*throws*/ : WolletDescriptorInterface; +} + +/** + * A Software signer, wrapper over [`lwk_signer::SwSigner`] + */ +export class Signer extends UniffiAbstractObject implements SignerInterface { + readonly [uniffiTypeNameSymbol] = 'Signer'; + readonly [destructorGuardSymbol]: UniffiRustArcPtr; + readonly [pointerLiteralSymbol]: UnsafeMutableRawPointer; + /** + * Construct a software signer + */ + constructor( + mnemonic: MnemonicInterface, + network: NetworkInterface + ) /*throws*/ { + super(); + const pointer = uniffiCaller.rustCallWithError( + /*liftError:*/ FfiConverterTypeLwkError.lift.bind( + FfiConverterTypeLwkError + ), + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_constructor_signer_new( + FfiConverterTypeMnemonic.lower(mnemonic), + FfiConverterTypeNetwork.lower(network), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ); + this[pointerLiteralSymbol] = pointer; + this[destructorGuardSymbol] = uniffiTypeSignerObjectFactory.bless(pointer); + } + + /** + * Generate a new random software signer + */ + public static random(network: NetworkInterface): SignerInterface /*throws*/ { + return FfiConverterTypeSigner.lift( + uniffiCaller.rustCallWithError( + /*liftError:*/ FfiConverterTypeLwkError.lift.bind( + FfiConverterTypeLwkError + ), + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_constructor_signer_random( + FfiConverterTypeNetwork.lower(network), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public keyoriginXpub(bip: BipInterface): string /*throws*/ { + return FfiConverterString.lift( + uniffiCaller.rustCallWithError( + /*liftError:*/ FfiConverterTypeLwkError.lift.bind( + FfiConverterTypeLwkError + ), + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_signer_keyorigin_xpub( + uniffiTypeSignerObjectFactory.clonePointer(this), + FfiConverterTypeBip.lower(bip), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public mnemonic(): MnemonicInterface /*throws*/ { + return FfiConverterTypeMnemonic.lift( + uniffiCaller.rustCallWithError( + /*liftError:*/ FfiConverterTypeLwkError.lift.bind( + FfiConverterTypeLwkError + ), + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_signer_mnemonic( + uniffiTypeSignerObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * Sign the given `pset` + * + * Note from an API perspective it would be better to consume the `pset` parameter so it would + * be clear the signed PSET is the returned one, but it's not possible with uniffi bindings + */ + public sign(pset: PsetInterface): PsetInterface /*throws*/ { + return FfiConverterTypePset.lift( + uniffiCaller.rustCallWithError( + /*liftError:*/ FfiConverterTypeLwkError.lift.bind( + FfiConverterTypeLwkError + ), + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_signer_sign( + uniffiTypeSignerObjectFactory.clonePointer(this), + FfiConverterTypePset.lower(pset), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public wpkhSlip77Descriptor(): WolletDescriptorInterface /*throws*/ { + return FfiConverterTypeWolletDescriptor.lift( + uniffiCaller.rustCallWithError( + /*liftError:*/ FfiConverterTypeLwkError.lift.bind( + FfiConverterTypeLwkError + ), + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_signer_wpkh_slip77_descriptor( + uniffiTypeSignerObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy} + */ + uniffiDestroy(): void { + const ptr = (this as any)[destructorGuardSymbol]; + if (ptr !== undefined) { + const pointer = uniffiTypeSignerObjectFactory.pointer(this); + uniffiTypeSignerObjectFactory.freePointer(pointer); + uniffiTypeSignerObjectFactory.unbless(ptr); + delete (this as any)[destructorGuardSymbol]; + } + } + + static instanceOf(obj: any): obj is Signer { + return uniffiTypeSignerObjectFactory.isConcreteType(obj); + } +} + +const uniffiTypeSignerObjectFactory: UniffiObjectFactory = { + create(pointer: UnsafeMutableRawPointer): SignerInterface { + const instance = Object.create(Signer.prototype); + instance[pointerLiteralSymbol] = pointer; + instance[destructorGuardSymbol] = this.bless(pointer); + instance[uniffiTypeNameSymbol] = 'Signer'; + return instance; + }, + + bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr { + return uniffiCaller.rustCall( + /*caller:*/ (status) => + nativeModule().ubrn_uniffi_internal_fn_method_signer_ffi__bless_pointer( + p, + status + ), + /*liftString:*/ FfiConverterString.lift + ); + }, + + unbless(ptr: UniffiRustArcPtr) { + ptr.markDestroyed(); + }, + + pointer(obj: SignerInterface): UnsafeMutableRawPointer { + if ((obj as any)[destructorGuardSymbol] === undefined) { + throw new UniffiInternalError.UnexpectedNullPointer(); + } + return (obj as any)[pointerLiteralSymbol]; + }, + + clonePointer(obj: SignerInterface): UnsafeMutableRawPointer { + const pointer = this.pointer(obj); + return uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_clone_signer(pointer, callStatus), + /*liftString:*/ FfiConverterString.lift + ); + }, + + freePointer(pointer: UnsafeMutableRawPointer): void { + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_free_signer(pointer, callStatus), + /*liftString:*/ FfiConverterString.lift + ); + }, + + isConcreteType(obj: any): obj is SignerInterface { + return obj[destructorGuardSymbol] && obj[uniffiTypeNameSymbol] === 'Signer'; + }, +}; +// FfiConverter for SignerInterface +const FfiConverterTypeSigner = new FfiConverterObject( + uniffiTypeSignerObjectFactory +); + +/** + * Represent a test environment with an elements node and an electrum server. + * useful for testing only, wrapper over [`lwk_test_util::TestElectrumServer`] + */ +export interface TestEnvInterface { + electrumUrl(): string; + generate(blocks: /*u32*/ number): void; + getNewAddress(): AddressInterface; + height(): /*u64*/ bigint; + issueAsset(satoshi: /*u64*/ bigint): AssetId; + sendToAddress( + address: AddressInterface, + satoshi: /*u64*/ bigint, + asset: AssetId | undefined + ): TxidInterface; +} + +/** + * Represent a test environment with an elements node and an electrum server. + * useful for testing only, wrapper over [`lwk_test_util::TestElectrumServer`] + */ +export class TestEnv extends UniffiAbstractObject implements TestEnvInterface { + readonly [uniffiTypeNameSymbol] = 'TestEnv'; + readonly [destructorGuardSymbol]: UniffiRustArcPtr; + readonly [pointerLiteralSymbol]: UnsafeMutableRawPointer; + constructor() { + super(); + const pointer = uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_constructor_testenv_new( + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ); + this[pointerLiteralSymbol] = pointer; + this[destructorGuardSymbol] = uniffiTypeTestEnvObjectFactory.bless(pointer); + } + + public electrumUrl(): string { + return FfiConverterString.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_testenv_electrum_url( + uniffiTypeTestEnvObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public generate(blocks: /*u32*/ number): void { + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + nativeModule().ubrn_uniffi_lwk_fn_method_testenv_generate( + uniffiTypeTestEnvObjectFactory.clonePointer(this), + FfiConverterUInt32.lower(blocks), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ); + } + + public getNewAddress(): AddressInterface { + return FfiConverterTypeAddress.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_testenv_get_new_address( + uniffiTypeTestEnvObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public height(): /*u64*/ bigint { + return FfiConverterUInt64.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_testenv_height( + uniffiTypeTestEnvObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public issueAsset(satoshi: /*u64*/ bigint): AssetId { + return FfiConverterTypeAssetId.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_testenv_issue_asset( + uniffiTypeTestEnvObjectFactory.clonePointer(this), + FfiConverterUInt64.lower(satoshi), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public sendToAddress( + address: AddressInterface, + satoshi: /*u64*/ bigint, + asset: AssetId | undefined + ): TxidInterface { + return FfiConverterTypeTxid.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_testenv_send_to_address( + uniffiTypeTestEnvObjectFactory.clonePointer(this), + FfiConverterTypeAddress.lower(address), + FfiConverterUInt64.lower(satoshi), + FfiConverterOptionalTypeAssetId.lower(asset), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy} + */ + uniffiDestroy(): void { + const ptr = (this as any)[destructorGuardSymbol]; + if (ptr !== undefined) { + const pointer = uniffiTypeTestEnvObjectFactory.pointer(this); + uniffiTypeTestEnvObjectFactory.freePointer(pointer); + uniffiTypeTestEnvObjectFactory.unbless(ptr); + delete (this as any)[destructorGuardSymbol]; + } + } + + static instanceOf(obj: any): obj is TestEnv { + return uniffiTypeTestEnvObjectFactory.isConcreteType(obj); + } +} + +const uniffiTypeTestEnvObjectFactory: UniffiObjectFactory = { + create(pointer: UnsafeMutableRawPointer): TestEnvInterface { + const instance = Object.create(TestEnv.prototype); + instance[pointerLiteralSymbol] = pointer; + instance[destructorGuardSymbol] = this.bless(pointer); + instance[uniffiTypeNameSymbol] = 'TestEnv'; + return instance; + }, + + bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr { + return uniffiCaller.rustCall( + /*caller:*/ (status) => + nativeModule().ubrn_uniffi_internal_fn_method_testenv_ffi__bless_pointer( + p, + status + ), + /*liftString:*/ FfiConverterString.lift + ); + }, + + unbless(ptr: UniffiRustArcPtr) { + ptr.markDestroyed(); + }, + + pointer(obj: TestEnvInterface): UnsafeMutableRawPointer { + if ((obj as any)[destructorGuardSymbol] === undefined) { + throw new UniffiInternalError.UnexpectedNullPointer(); + } + return (obj as any)[pointerLiteralSymbol]; + }, + + clonePointer(obj: TestEnvInterface): UnsafeMutableRawPointer { + const pointer = this.pointer(obj); + return uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_clone_testenv(pointer, callStatus), + /*liftString:*/ FfiConverterString.lift + ); + }, + + freePointer(pointer: UnsafeMutableRawPointer): void { + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_free_testenv(pointer, callStatus), + /*liftString:*/ FfiConverterString.lift + ); + }, + + isConcreteType(obj: any): obj is TestEnvInterface { + return ( + obj[destructorGuardSymbol] && obj[uniffiTypeNameSymbol] === 'TestEnv' + ); + }, +}; +// FfiConverter for TestEnvInterface +const FfiConverterTypeTestEnv = new FfiConverterObject( + uniffiTypeTestEnvObjectFactory +); + +export interface TransactionInterface { + bytes(): ArrayBuffer; + fee(policyAsset: AssetId): /*u64*/ bigint; + inputs(): Array; + outputs(): Array; + txid(): TxidInterface; +} + +export class Transaction + extends UniffiAbstractObject + implements TransactionInterface +{ + readonly [uniffiTypeNameSymbol] = 'Transaction'; + readonly [destructorGuardSymbol]: UniffiRustArcPtr; + readonly [pointerLiteralSymbol]: UnsafeMutableRawPointer; + /** + * Construct a Transaction object + */ + constructor(hex: Hex) /*throws*/ { + super(); + const pointer = uniffiCaller.rustCallWithError( + /*liftError:*/ FfiConverterTypeLwkError.lift.bind( + FfiConverterTypeLwkError + ), + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_constructor_transaction_new( + FfiConverterTypeHex.lower(hex), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ); + this[pointerLiteralSymbol] = pointer; + this[destructorGuardSymbol] = + uniffiTypeTransactionObjectFactory.bless(pointer); + } + + public bytes(): ArrayBuffer { + return FfiConverterArrayBuffer.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_transaction_bytes( + uniffiTypeTransactionObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public fee(policyAsset: AssetId): /*u64*/ bigint { + return FfiConverterUInt64.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_transaction_fee( + uniffiTypeTransactionObjectFactory.clonePointer(this), + FfiConverterTypeAssetId.lower(policyAsset), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public inputs(): Array { + return FfiConverterArrayTypeTxIn.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_transaction_inputs( + uniffiTypeTransactionObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public outputs(): Array { + return FfiConverterArrayTypeTxOut.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_transaction_outputs( + uniffiTypeTransactionObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public txid(): TxidInterface { + return FfiConverterTypeTxid.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_transaction_txid( + uniffiTypeTransactionObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * Calls into the `TransactionInterface::to_string()` method of the native Rust peer. + * + * Generated by deriving the `Display` trait in Rust. + */ + toString(): string { + return FfiConverterString.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_transaction_uniffi_trait_display( + uniffiTypeTransactionObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy} + */ + uniffiDestroy(): void { + const ptr = (this as any)[destructorGuardSymbol]; + if (ptr !== undefined) { + const pointer = uniffiTypeTransactionObjectFactory.pointer(this); + uniffiTypeTransactionObjectFactory.freePointer(pointer); + uniffiTypeTransactionObjectFactory.unbless(ptr); + delete (this as any)[destructorGuardSymbol]; + } + } + + static instanceOf(obj: any): obj is Transaction { + return uniffiTypeTransactionObjectFactory.isConcreteType(obj); + } +} + +const uniffiTypeTransactionObjectFactory: UniffiObjectFactory = + { + create(pointer: UnsafeMutableRawPointer): TransactionInterface { + const instance = Object.create(Transaction.prototype); + instance[pointerLiteralSymbol] = pointer; + instance[destructorGuardSymbol] = this.bless(pointer); + instance[uniffiTypeNameSymbol] = 'Transaction'; + return instance; + }, + + bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr { + return uniffiCaller.rustCall( + /*caller:*/ (status) => + nativeModule().ubrn_uniffi_internal_fn_method_transaction_ffi__bless_pointer( + p, + status + ), + /*liftString:*/ FfiConverterString.lift + ); + }, + + unbless(ptr: UniffiRustArcPtr) { + ptr.markDestroyed(); + }, + + pointer(obj: TransactionInterface): UnsafeMutableRawPointer { + if ((obj as any)[destructorGuardSymbol] === undefined) { + throw new UniffiInternalError.UnexpectedNullPointer(); + } + return (obj as any)[pointerLiteralSymbol]; + }, + + clonePointer(obj: TransactionInterface): UnsafeMutableRawPointer { + const pointer = this.pointer(obj); + return uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_clone_transaction( + pointer, + callStatus + ), + /*liftString:*/ FfiConverterString.lift + ); + }, + + freePointer(pointer: UnsafeMutableRawPointer): void { + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_free_transaction( + pointer, + callStatus + ), + /*liftString:*/ FfiConverterString.lift + ); + }, + + isConcreteType(obj: any): obj is TransactionInterface { + return ( + obj[destructorGuardSymbol] && + obj[uniffiTypeNameSymbol] === 'Transaction' + ); + }, + }; +// FfiConverter for TransactionInterface +const FfiConverterTypeTransaction = new FfiConverterObject( + uniffiTypeTransactionObjectFactory +); + +/** + * Wrapper over [`lwk_wollet::TxBuilder`] + */ +export interface TxBuilderInterface { + /** + * Burn satoshi units of the given asset + */ + addBurn(satoshi: /*u64*/ bigint, asset: AssetId) /*throws*/ : void; + /** + * Add a recipient receiving L-BTC + */ + addLbtcRecipient( + address: AddressInterface, + satoshi: /*u64*/ bigint + ) /*throws*/ : void; + /** + * Add a recipient receiving the given asset + */ + addRecipient( + address: AddressInterface, + satoshi: /*u64*/ bigint, + asset: AssetId + ) /*throws*/ : void; + /** + * Sets the address to drain excess L-BTC to + */ + drainLbtcTo(address: AddressInterface) /*throws*/ : void; + /** + * Select all available L-BTC inputs + */ + drainLbtcWallet() /*throws*/ : void; + /** + * Set the fee rate + */ + feeRate(rate: /*f32*/ number | undefined) /*throws*/ : void; + /** + * Build the transaction + */ + finish(wollet: WolletInterface) /*throws*/ : PsetInterface; + /** + * Issue an asset, wrapper of [`lwk_wollet::TxBuilder::issue_asset()`] + */ + issueAsset( + assetSats: /*u64*/ bigint, + assetReceiver: AddressInterface | undefined, + tokenSats: /*u64*/ bigint, + tokenReceiver: AddressInterface | undefined, + contract: ContractInterface | undefined + ) /*throws*/ : void; + /** + * Reissue an asset, wrapper of [`lwk_wollet::TxBuilder::reissue_asset()`] + */ + reissueAsset( + assetToReissue: AssetId, + satoshiToReissue: /*u64*/ bigint, + assetReceiver: AddressInterface | undefined, + issuanceTx: TransactionInterface | undefined + ) /*throws*/ : void; + /** + * Manual coin selection, wrapper of [`lwk_wollet::TxBuilder::set_wallet_utxos()`] + */ + setWalletUtxos(utxos: Array) /*throws*/ : void; +} + +/** + * Wrapper over [`lwk_wollet::TxBuilder`] + */ +export class TxBuilder + extends UniffiAbstractObject + implements TxBuilderInterface +{ + readonly [uniffiTypeNameSymbol] = 'TxBuilder'; + readonly [destructorGuardSymbol]: UniffiRustArcPtr; + readonly [pointerLiteralSymbol]: UnsafeMutableRawPointer; + /** + * Construct a transaction builder + */ + constructor(network: NetworkInterface) { + super(); + const pointer = uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_constructor_txbuilder_new( + FfiConverterTypeNetwork.lower(network), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ); + this[pointerLiteralSymbol] = pointer; + this[destructorGuardSymbol] = + uniffiTypeTxBuilderObjectFactory.bless(pointer); + } + + /** + * Burn satoshi units of the given asset + */ + public addBurn(satoshi: /*u64*/ bigint, asset: AssetId): void /*throws*/ { + uniffiCaller.rustCallWithError( + /*liftError:*/ FfiConverterTypeLwkError.lift.bind( + FfiConverterTypeLwkError + ), + /*caller:*/ (callStatus) => { + nativeModule().ubrn_uniffi_lwk_fn_method_txbuilder_add_burn( + uniffiTypeTxBuilderObjectFactory.clonePointer(this), + FfiConverterUInt64.lower(satoshi), + FfiConverterTypeAssetId.lower(asset), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ); + } + + /** + * Add a recipient receiving L-BTC + */ + public addLbtcRecipient( + address: AddressInterface, + satoshi: /*u64*/ bigint + ): void /*throws*/ { + uniffiCaller.rustCallWithError( + /*liftError:*/ FfiConverterTypeLwkError.lift.bind( + FfiConverterTypeLwkError + ), + /*caller:*/ (callStatus) => { + nativeModule().ubrn_uniffi_lwk_fn_method_txbuilder_add_lbtc_recipient( + uniffiTypeTxBuilderObjectFactory.clonePointer(this), + FfiConverterTypeAddress.lower(address), + FfiConverterUInt64.lower(satoshi), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ); + } + + /** + * Add a recipient receiving the given asset + */ + public addRecipient( + address: AddressInterface, + satoshi: /*u64*/ bigint, + asset: AssetId + ): void /*throws*/ { + uniffiCaller.rustCallWithError( + /*liftError:*/ FfiConverterTypeLwkError.lift.bind( + FfiConverterTypeLwkError + ), + /*caller:*/ (callStatus) => { + nativeModule().ubrn_uniffi_lwk_fn_method_txbuilder_add_recipient( + uniffiTypeTxBuilderObjectFactory.clonePointer(this), + FfiConverterTypeAddress.lower(address), + FfiConverterUInt64.lower(satoshi), + FfiConverterTypeAssetId.lower(asset), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ); + } + + /** + * Sets the address to drain excess L-BTC to + */ + public drainLbtcTo(address: AddressInterface): void /*throws*/ { + uniffiCaller.rustCallWithError( + /*liftError:*/ FfiConverterTypeLwkError.lift.bind( + FfiConverterTypeLwkError + ), + /*caller:*/ (callStatus) => { + nativeModule().ubrn_uniffi_lwk_fn_method_txbuilder_drain_lbtc_to( + uniffiTypeTxBuilderObjectFactory.clonePointer(this), + FfiConverterTypeAddress.lower(address), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ); + } + + /** + * Select all available L-BTC inputs + */ + public drainLbtcWallet(): void /*throws*/ { + uniffiCaller.rustCallWithError( + /*liftError:*/ FfiConverterTypeLwkError.lift.bind( + FfiConverterTypeLwkError + ), + /*caller:*/ (callStatus) => { + nativeModule().ubrn_uniffi_lwk_fn_method_txbuilder_drain_lbtc_wallet( + uniffiTypeTxBuilderObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ); + } + + /** + * Set the fee rate + */ + public feeRate(rate: /*f32*/ number | undefined): void /*throws*/ { + uniffiCaller.rustCallWithError( + /*liftError:*/ FfiConverterTypeLwkError.lift.bind( + FfiConverterTypeLwkError + ), + /*caller:*/ (callStatus) => { + nativeModule().ubrn_uniffi_lwk_fn_method_txbuilder_fee_rate( + uniffiTypeTxBuilderObjectFactory.clonePointer(this), + FfiConverterOptionalFloat32.lower(rate), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ); + } + + /** + * Build the transaction + */ + public finish(wollet: WolletInterface): PsetInterface /*throws*/ { + return FfiConverterTypePset.lift( + uniffiCaller.rustCallWithError( + /*liftError:*/ FfiConverterTypeLwkError.lift.bind( + FfiConverterTypeLwkError + ), + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_txbuilder_finish( + uniffiTypeTxBuilderObjectFactory.clonePointer(this), + FfiConverterTypeWollet.lower(wollet), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * Issue an asset, wrapper of [`lwk_wollet::TxBuilder::issue_asset()`] + */ + public issueAsset( + assetSats: /*u64*/ bigint, + assetReceiver: AddressInterface | undefined, + tokenSats: /*u64*/ bigint, + tokenReceiver: AddressInterface | undefined, + contract: ContractInterface | undefined + ): void /*throws*/ { + uniffiCaller.rustCallWithError( + /*liftError:*/ FfiConverterTypeLwkError.lift.bind( + FfiConverterTypeLwkError + ), + /*caller:*/ (callStatus) => { + nativeModule().ubrn_uniffi_lwk_fn_method_txbuilder_issue_asset( + uniffiTypeTxBuilderObjectFactory.clonePointer(this), + FfiConverterUInt64.lower(assetSats), + FfiConverterOptionalTypeAddress.lower(assetReceiver), + FfiConverterUInt64.lower(tokenSats), + FfiConverterOptionalTypeAddress.lower(tokenReceiver), + FfiConverterOptionalTypeContract.lower(contract), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ); + } + + /** + * Reissue an asset, wrapper of [`lwk_wollet::TxBuilder::reissue_asset()`] + */ + public reissueAsset( + assetToReissue: AssetId, + satoshiToReissue: /*u64*/ bigint, + assetReceiver: AddressInterface | undefined, + issuanceTx: TransactionInterface | undefined + ): void /*throws*/ { + uniffiCaller.rustCallWithError( + /*liftError:*/ FfiConverterTypeLwkError.lift.bind( + FfiConverterTypeLwkError + ), + /*caller:*/ (callStatus) => { + nativeModule().ubrn_uniffi_lwk_fn_method_txbuilder_reissue_asset( + uniffiTypeTxBuilderObjectFactory.clonePointer(this), + FfiConverterTypeAssetId.lower(assetToReissue), + FfiConverterUInt64.lower(satoshiToReissue), + FfiConverterOptionalTypeAddress.lower(assetReceiver), + FfiConverterOptionalTypeTransaction.lower(issuanceTx), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ); + } + + /** + * Manual coin selection, wrapper of [`lwk_wollet::TxBuilder::set_wallet_utxos()`] + */ + public setWalletUtxos(utxos: Array): void /*throws*/ { + uniffiCaller.rustCallWithError( + /*liftError:*/ FfiConverterTypeLwkError.lift.bind( + FfiConverterTypeLwkError + ), + /*caller:*/ (callStatus) => { + nativeModule().ubrn_uniffi_lwk_fn_method_txbuilder_set_wallet_utxos( + uniffiTypeTxBuilderObjectFactory.clonePointer(this), + FfiConverterArrayTypeOutPoint.lower(utxos), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ); + } + + /** + * Calls into the `TxBuilderInterface::to_string()` method of the native Rust peer. + * + * Generated by deriving the `Display` trait in Rust. + */ + toString(): string { + return FfiConverterString.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_txbuilder_uniffi_trait_display( + uniffiTypeTxBuilderObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy} + */ + uniffiDestroy(): void { + const ptr = (this as any)[destructorGuardSymbol]; + if (ptr !== undefined) { + const pointer = uniffiTypeTxBuilderObjectFactory.pointer(this); + uniffiTypeTxBuilderObjectFactory.freePointer(pointer); + uniffiTypeTxBuilderObjectFactory.unbless(ptr); + delete (this as any)[destructorGuardSymbol]; + } + } + + static instanceOf(obj: any): obj is TxBuilder { + return uniffiTypeTxBuilderObjectFactory.isConcreteType(obj); + } +} + +const uniffiTypeTxBuilderObjectFactory: UniffiObjectFactory = + { + create(pointer: UnsafeMutableRawPointer): TxBuilderInterface { + const instance = Object.create(TxBuilder.prototype); + instance[pointerLiteralSymbol] = pointer; + instance[destructorGuardSymbol] = this.bless(pointer); + instance[uniffiTypeNameSymbol] = 'TxBuilder'; + return instance; + }, + + bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr { + return uniffiCaller.rustCall( + /*caller:*/ (status) => + nativeModule().ubrn_uniffi_internal_fn_method_txbuilder_ffi__bless_pointer( + p, + status + ), + /*liftString:*/ FfiConverterString.lift + ); + }, + + unbless(ptr: UniffiRustArcPtr) { + ptr.markDestroyed(); + }, + + pointer(obj: TxBuilderInterface): UnsafeMutableRawPointer { + if ((obj as any)[destructorGuardSymbol] === undefined) { + throw new UniffiInternalError.UnexpectedNullPointer(); + } + return (obj as any)[pointerLiteralSymbol]; + }, + + clonePointer(obj: TxBuilderInterface): UnsafeMutableRawPointer { + const pointer = this.pointer(obj); + return uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_clone_txbuilder( + pointer, + callStatus + ), + /*liftString:*/ FfiConverterString.lift + ); + }, + + freePointer(pointer: UnsafeMutableRawPointer): void { + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_free_txbuilder(pointer, callStatus), + /*liftString:*/ FfiConverterString.lift + ); + }, + + isConcreteType(obj: any): obj is TxBuilderInterface { + return ( + obj[destructorGuardSymbol] && obj[uniffiTypeNameSymbol] === 'TxBuilder' + ); + }, + }; +// FfiConverter for TxBuilderInterface +const FfiConverterTypeTxBuilder = new FfiConverterObject( + uniffiTypeTxBuilderObjectFactory +); + +export interface TxInInterface { + /** + * Outpoint + */ + outpoint(): OutPointInterface; +} + +export class TxIn extends UniffiAbstractObject implements TxInInterface { + readonly [uniffiTypeNameSymbol] = 'TxIn'; + readonly [destructorGuardSymbol]: UniffiRustArcPtr; + readonly [pointerLiteralSymbol]: UnsafeMutableRawPointer; + // No primary constructor declared for this class. + private constructor(pointer: UnsafeMutableRawPointer) { + super(); + this[pointerLiteralSymbol] = pointer; + this[destructorGuardSymbol] = uniffiTypeTxInObjectFactory.bless(pointer); + } + + /** + * Outpoint + */ + public outpoint(): OutPointInterface { + return FfiConverterTypeOutPoint.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_txin_outpoint( + uniffiTypeTxInObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy} + */ + uniffiDestroy(): void { + const ptr = (this as any)[destructorGuardSymbol]; + if (ptr !== undefined) { + const pointer = uniffiTypeTxInObjectFactory.pointer(this); + uniffiTypeTxInObjectFactory.freePointer(pointer); + uniffiTypeTxInObjectFactory.unbless(ptr); + delete (this as any)[destructorGuardSymbol]; + } + } + + static instanceOf(obj: any): obj is TxIn { + return uniffiTypeTxInObjectFactory.isConcreteType(obj); + } +} + +const uniffiTypeTxInObjectFactory: UniffiObjectFactory = { + create(pointer: UnsafeMutableRawPointer): TxInInterface { + const instance = Object.create(TxIn.prototype); + instance[pointerLiteralSymbol] = pointer; + instance[destructorGuardSymbol] = this.bless(pointer); + instance[uniffiTypeNameSymbol] = 'TxIn'; + return instance; + }, + + bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr { + return uniffiCaller.rustCall( + /*caller:*/ (status) => + nativeModule().ubrn_uniffi_internal_fn_method_txin_ffi__bless_pointer( + p, + status + ), + /*liftString:*/ FfiConverterString.lift + ); + }, + + unbless(ptr: UniffiRustArcPtr) { + ptr.markDestroyed(); + }, + + pointer(obj: TxInInterface): UnsafeMutableRawPointer { + if ((obj as any)[destructorGuardSymbol] === undefined) { + throw new UniffiInternalError.UnexpectedNullPointer(); + } + return (obj as any)[pointerLiteralSymbol]; + }, + + clonePointer(obj: TxInInterface): UnsafeMutableRawPointer { + const pointer = this.pointer(obj); + return uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_clone_txin(pointer, callStatus), + /*liftString:*/ FfiConverterString.lift + ); + }, + + freePointer(pointer: UnsafeMutableRawPointer): void { + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_free_txin(pointer, callStatus), + /*liftString:*/ FfiConverterString.lift + ); + }, + + isConcreteType(obj: any): obj is TxInInterface { + return obj[destructorGuardSymbol] && obj[uniffiTypeNameSymbol] === 'TxIn'; + }, +}; +// FfiConverter for TxInInterface +const FfiConverterTypeTxIn = new FfiConverterObject( + uniffiTypeTxInObjectFactory +); + +export interface TxOutInterface { + /** + * If explicit returns the asset, if confidential [None] + */ + asset(): AssetId | undefined; + /** + * Whether or not this output is a fee output + */ + isFee(): boolean; + /** + * Returns if at least some part of this output are blinded + */ + isPartiallyBlinded(): boolean; + /** + * Scriptpubkey + */ + scriptPubkey(): ScriptInterface; + /** + * Unblind the output + */ + unblind(secretKey: SecretKeyInterface) /*throws*/ : TxOutSecretsInterface; + /** + * If explicit returns the value, if confidential [None] + */ + value(): /*u64*/ bigint | undefined; +} + +export class TxOut extends UniffiAbstractObject implements TxOutInterface { + readonly [uniffiTypeNameSymbol] = 'TxOut'; + readonly [destructorGuardSymbol]: UniffiRustArcPtr; + readonly [pointerLiteralSymbol]: UnsafeMutableRawPointer; + // No primary constructor declared for this class. + private constructor(pointer: UnsafeMutableRawPointer) { + super(); + this[pointerLiteralSymbol] = pointer; + this[destructorGuardSymbol] = uniffiTypeTxOutObjectFactory.bless(pointer); + } + + /** + * If explicit returns the asset, if confidential [None] + */ + public asset(): AssetId | undefined { + return FfiConverterOptionalTypeAssetId.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_txout_asset( + uniffiTypeTxOutObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * Whether or not this output is a fee output + */ + public isFee(): boolean { + return FfiConverterBool.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_txout_is_fee( + uniffiTypeTxOutObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * Returns if at least some part of this output are blinded + */ + public isPartiallyBlinded(): boolean { + return FfiConverterBool.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_txout_is_partially_blinded( + uniffiTypeTxOutObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * Scriptpubkey + */ + public scriptPubkey(): ScriptInterface { + return FfiConverterTypeScript.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_txout_script_pubkey( + uniffiTypeTxOutObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * Unblind the output + */ + public unblind( + secretKey: SecretKeyInterface + ): TxOutSecretsInterface /*throws*/ { + return FfiConverterTypeTxOutSecrets.lift( + uniffiCaller.rustCallWithError( + /*liftError:*/ FfiConverterTypeLwkError.lift.bind( + FfiConverterTypeLwkError + ), + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_txout_unblind( + uniffiTypeTxOutObjectFactory.clonePointer(this), + FfiConverterTypeSecretKey.lower(secretKey), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * If explicit returns the value, if confidential [None] + */ + public value(): /*u64*/ bigint | undefined { + return FfiConverterOptionalUInt64.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_txout_value( + uniffiTypeTxOutObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy} + */ + uniffiDestroy(): void { + const ptr = (this as any)[destructorGuardSymbol]; + if (ptr !== undefined) { + const pointer = uniffiTypeTxOutObjectFactory.pointer(this); + uniffiTypeTxOutObjectFactory.freePointer(pointer); + uniffiTypeTxOutObjectFactory.unbless(ptr); + delete (this as any)[destructorGuardSymbol]; + } + } + + static instanceOf(obj: any): obj is TxOut { + return uniffiTypeTxOutObjectFactory.isConcreteType(obj); + } +} + +const uniffiTypeTxOutObjectFactory: UniffiObjectFactory = { + create(pointer: UnsafeMutableRawPointer): TxOutInterface { + const instance = Object.create(TxOut.prototype); + instance[pointerLiteralSymbol] = pointer; + instance[destructorGuardSymbol] = this.bless(pointer); + instance[uniffiTypeNameSymbol] = 'TxOut'; + return instance; + }, + + bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr { + return uniffiCaller.rustCall( + /*caller:*/ (status) => + nativeModule().ubrn_uniffi_internal_fn_method_txout_ffi__bless_pointer( + p, + status + ), + /*liftString:*/ FfiConverterString.lift + ); + }, + + unbless(ptr: UniffiRustArcPtr) { + ptr.markDestroyed(); + }, + + pointer(obj: TxOutInterface): UnsafeMutableRawPointer { + if ((obj as any)[destructorGuardSymbol] === undefined) { + throw new UniffiInternalError.UnexpectedNullPointer(); + } + return (obj as any)[pointerLiteralSymbol]; + }, + + clonePointer(obj: TxOutInterface): UnsafeMutableRawPointer { + const pointer = this.pointer(obj); + return uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_clone_txout(pointer, callStatus), + /*liftString:*/ FfiConverterString.lift + ); + }, + + freePointer(pointer: UnsafeMutableRawPointer): void { + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_free_txout(pointer, callStatus), + /*liftString:*/ FfiConverterString.lift + ); + }, + + isConcreteType(obj: any): obj is TxOutInterface { + return obj[destructorGuardSymbol] && obj[uniffiTypeNameSymbol] === 'TxOut'; + }, +}; +// FfiConverter for TxOutInterface +const FfiConverterTypeTxOut = new FfiConverterObject( + uniffiTypeTxOutObjectFactory +); + +export interface TxOutSecretsInterface { + asset(): AssetId; + assetBf(): Hex; + value(): /*u64*/ bigint; + valueBf(): Hex; +} + +export class TxOutSecrets + extends UniffiAbstractObject + implements TxOutSecretsInterface +{ + readonly [uniffiTypeNameSymbol] = 'TxOutSecrets'; + readonly [destructorGuardSymbol]: UniffiRustArcPtr; + readonly [pointerLiteralSymbol]: UnsafeMutableRawPointer; + // No primary constructor declared for this class. + private constructor(pointer: UnsafeMutableRawPointer) { + super(); + this[pointerLiteralSymbol] = pointer; + this[destructorGuardSymbol] = + uniffiTypeTxOutSecretsObjectFactory.bless(pointer); + } + + public asset(): AssetId { + return FfiConverterTypeAssetId.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_txoutsecrets_asset( + uniffiTypeTxOutSecretsObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public assetBf(): Hex { + return FfiConverterTypeHex.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_txoutsecrets_asset_bf( + uniffiTypeTxOutSecretsObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public value(): /*u64*/ bigint { + return FfiConverterUInt64.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_txoutsecrets_value( + uniffiTypeTxOutSecretsObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public valueBf(): Hex { + return FfiConverterTypeHex.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_txoutsecrets_value_bf( + uniffiTypeTxOutSecretsObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy} + */ + uniffiDestroy(): void { + const ptr = (this as any)[destructorGuardSymbol]; + if (ptr !== undefined) { + const pointer = uniffiTypeTxOutSecretsObjectFactory.pointer(this); + uniffiTypeTxOutSecretsObjectFactory.freePointer(pointer); + uniffiTypeTxOutSecretsObjectFactory.unbless(ptr); + delete (this as any)[destructorGuardSymbol]; + } + } + + static instanceOf(obj: any): obj is TxOutSecrets { + return uniffiTypeTxOutSecretsObjectFactory.isConcreteType(obj); + } +} + +const uniffiTypeTxOutSecretsObjectFactory: UniffiObjectFactory = + { + create(pointer: UnsafeMutableRawPointer): TxOutSecretsInterface { + const instance = Object.create(TxOutSecrets.prototype); + instance[pointerLiteralSymbol] = pointer; + instance[destructorGuardSymbol] = this.bless(pointer); + instance[uniffiTypeNameSymbol] = 'TxOutSecrets'; + return instance; + }, + + bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr { + return uniffiCaller.rustCall( + /*caller:*/ (status) => + nativeModule().ubrn_uniffi_internal_fn_method_txoutsecrets_ffi__bless_pointer( + p, + status + ), + /*liftString:*/ FfiConverterString.lift + ); + }, + + unbless(ptr: UniffiRustArcPtr) { + ptr.markDestroyed(); + }, + + pointer(obj: TxOutSecretsInterface): UnsafeMutableRawPointer { + if ((obj as any)[destructorGuardSymbol] === undefined) { + throw new UniffiInternalError.UnexpectedNullPointer(); + } + return (obj as any)[pointerLiteralSymbol]; + }, + + clonePointer(obj: TxOutSecretsInterface): UnsafeMutableRawPointer { + const pointer = this.pointer(obj); + return uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_clone_txoutsecrets( + pointer, + callStatus + ), + /*liftString:*/ FfiConverterString.lift + ); + }, + + freePointer(pointer: UnsafeMutableRawPointer): void { + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_free_txoutsecrets( + pointer, + callStatus + ), + /*liftString:*/ FfiConverterString.lift + ); + }, + + isConcreteType(obj: any): obj is TxOutSecretsInterface { + return ( + obj[destructorGuardSymbol] && + obj[uniffiTypeNameSymbol] === 'TxOutSecrets' + ); + }, + }; +// FfiConverter for TxOutSecretsInterface +const FfiConverterTypeTxOutSecrets = new FfiConverterObject( + uniffiTypeTxOutSecretsObjectFactory +); + +export interface TxidInterface { + bytes(): ArrayBuffer; +} + +export class Txid extends UniffiAbstractObject implements TxidInterface { + readonly [uniffiTypeNameSymbol] = 'Txid'; + readonly [destructorGuardSymbol]: UniffiRustArcPtr; + readonly [pointerLiteralSymbol]: UnsafeMutableRawPointer; + /** + * Construct a Txid object + */ + constructor(hex: Hex) /*throws*/ { + super(); + const pointer = uniffiCaller.rustCallWithError( + /*liftError:*/ FfiConverterTypeLwkError.lift.bind( + FfiConverterTypeLwkError + ), + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_constructor_txid_new( + FfiConverterTypeHex.lower(hex), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ); + this[pointerLiteralSymbol] = pointer; + this[destructorGuardSymbol] = uniffiTypeTxidObjectFactory.bless(pointer); + } + + public bytes(): ArrayBuffer { + return FfiConverterArrayBuffer.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_txid_bytes( + uniffiTypeTxidObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * Calls into the `TxidInterface::to_string()` method of the native Rust peer. + * + * Generated by deriving the `Display` trait in Rust. + */ + toString(): string { + return FfiConverterString.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_txid_uniffi_trait_display( + uniffiTypeTxidObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy} + */ + uniffiDestroy(): void { + const ptr = (this as any)[destructorGuardSymbol]; + if (ptr !== undefined) { + const pointer = uniffiTypeTxidObjectFactory.pointer(this); + uniffiTypeTxidObjectFactory.freePointer(pointer); + uniffiTypeTxidObjectFactory.unbless(ptr); + delete (this as any)[destructorGuardSymbol]; + } + } + + static instanceOf(obj: any): obj is Txid { + return uniffiTypeTxidObjectFactory.isConcreteType(obj); + } +} + +const uniffiTypeTxidObjectFactory: UniffiObjectFactory = { + create(pointer: UnsafeMutableRawPointer): TxidInterface { + const instance = Object.create(Txid.prototype); + instance[pointerLiteralSymbol] = pointer; + instance[destructorGuardSymbol] = this.bless(pointer); + instance[uniffiTypeNameSymbol] = 'Txid'; + return instance; + }, + + bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr { + return uniffiCaller.rustCall( + /*caller:*/ (status) => + nativeModule().ubrn_uniffi_internal_fn_method_txid_ffi__bless_pointer( + p, + status + ), + /*liftString:*/ FfiConverterString.lift + ); + }, + + unbless(ptr: UniffiRustArcPtr) { + ptr.markDestroyed(); + }, + + pointer(obj: TxidInterface): UnsafeMutableRawPointer { + if ((obj as any)[destructorGuardSymbol] === undefined) { + throw new UniffiInternalError.UnexpectedNullPointer(); + } + return (obj as any)[pointerLiteralSymbol]; + }, + + clonePointer(obj: TxidInterface): UnsafeMutableRawPointer { + const pointer = this.pointer(obj); + return uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_clone_txid(pointer, callStatus), + /*liftString:*/ FfiConverterString.lift + ); + }, + + freePointer(pointer: UnsafeMutableRawPointer): void { + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_free_txid(pointer, callStatus), + /*liftString:*/ FfiConverterString.lift + ); + }, + + isConcreteType(obj: any): obj is TxidInterface { + return obj[destructorGuardSymbol] && obj[uniffiTypeNameSymbol] === 'Txid'; + }, +}; +// FfiConverter for TxidInterface +const FfiConverterTypeTxid = new FfiConverterObject( + uniffiTypeTxidObjectFactory +); + +/** + * Wrapper over [`lwk_wollet::Update`] + */ +export interface UpdateInterface { + /** + * Whether the update only changes the tip (does not affect transactions) + */ + onlyTip(): boolean; + serialize() /*throws*/ : ArrayBuffer; +} + +/** + * Wrapper over [`lwk_wollet::Update`] + */ +export class Update extends UniffiAbstractObject implements UpdateInterface { + readonly [uniffiTypeNameSymbol] = 'Update'; + readonly [destructorGuardSymbol]: UniffiRustArcPtr; + readonly [pointerLiteralSymbol]: UnsafeMutableRawPointer; + constructor(bytes: ArrayBuffer) /*throws*/ { + super(); + const pointer = uniffiCaller.rustCallWithError( + /*liftError:*/ FfiConverterTypeLwkError.lift.bind( + FfiConverterTypeLwkError + ), + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_constructor_update_new( + FfiConverterArrayBuffer.lower(bytes), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ); + this[pointerLiteralSymbol] = pointer; + this[destructorGuardSymbol] = uniffiTypeUpdateObjectFactory.bless(pointer); + } + + /** + * Whether the update only changes the tip (does not affect transactions) + */ + public onlyTip(): boolean { + return FfiConverterBool.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_update_only_tip( + uniffiTypeUpdateObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public serialize(): ArrayBuffer /*throws*/ { + return FfiConverterArrayBuffer.lift( + uniffiCaller.rustCallWithError( + /*liftError:*/ FfiConverterTypeLwkError.lift.bind( + FfiConverterTypeLwkError + ), + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_update_serialize( + uniffiTypeUpdateObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy} + */ + uniffiDestroy(): void { + const ptr = (this as any)[destructorGuardSymbol]; + if (ptr !== undefined) { + const pointer = uniffiTypeUpdateObjectFactory.pointer(this); + uniffiTypeUpdateObjectFactory.freePointer(pointer); + uniffiTypeUpdateObjectFactory.unbless(ptr); + delete (this as any)[destructorGuardSymbol]; + } + } + + static instanceOf(obj: any): obj is Update { + return uniffiTypeUpdateObjectFactory.isConcreteType(obj); + } +} + +const uniffiTypeUpdateObjectFactory: UniffiObjectFactory = { + create(pointer: UnsafeMutableRawPointer): UpdateInterface { + const instance = Object.create(Update.prototype); + instance[pointerLiteralSymbol] = pointer; + instance[destructorGuardSymbol] = this.bless(pointer); + instance[uniffiTypeNameSymbol] = 'Update'; + return instance; + }, + + bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr { + return uniffiCaller.rustCall( + /*caller:*/ (status) => + nativeModule().ubrn_uniffi_internal_fn_method_update_ffi__bless_pointer( + p, + status + ), + /*liftString:*/ FfiConverterString.lift + ); + }, + + unbless(ptr: UniffiRustArcPtr) { + ptr.markDestroyed(); + }, + + pointer(obj: UpdateInterface): UnsafeMutableRawPointer { + if ((obj as any)[destructorGuardSymbol] === undefined) { + throw new UniffiInternalError.UnexpectedNullPointer(); + } + return (obj as any)[pointerLiteralSymbol]; + }, + + clonePointer(obj: UpdateInterface): UnsafeMutableRawPointer { + const pointer = this.pointer(obj); + return uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_clone_update(pointer, callStatus), + /*liftString:*/ FfiConverterString.lift + ); + }, + + freePointer(pointer: UnsafeMutableRawPointer): void { + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_free_update(pointer, callStatus), + /*liftString:*/ FfiConverterString.lift + ); + }, + + isConcreteType(obj: any): obj is UpdateInterface { + return obj[destructorGuardSymbol] && obj[uniffiTypeNameSymbol] === 'Update'; + }, +}; +// FfiConverter for UpdateInterface +const FfiConverterTypeUpdate = new FfiConverterObject( + uniffiTypeUpdateObjectFactory +); + +export interface WalletTxInterface { + balance(): Map; + fee(): /*u64*/ bigint; + height(): /*u32*/ number | undefined; + inputs(): Array; + outputs(): Array; + timestamp(): /*u32*/ number | undefined; + tx(): TransactionInterface; + txid(): TxidInterface; + type(): string; + unblindedUrl(explorerUrl: string): string; +} + +export class WalletTx + extends UniffiAbstractObject + implements WalletTxInterface +{ + readonly [uniffiTypeNameSymbol] = 'WalletTx'; + readonly [destructorGuardSymbol]: UniffiRustArcPtr; + readonly [pointerLiteralSymbol]: UnsafeMutableRawPointer; + // No primary constructor declared for this class. + private constructor(pointer: UnsafeMutableRawPointer) { + super(); + this[pointerLiteralSymbol] = pointer; + this[destructorGuardSymbol] = + uniffiTypeWalletTxObjectFactory.bless(pointer); + } + + public balance(): Map { + return FfiConverterMapTypeAssetIdInt64.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_wallettx_balance( + uniffiTypeWalletTxObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public fee(): /*u64*/ bigint { + return FfiConverterUInt64.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_wallettx_fee( + uniffiTypeWalletTxObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public height(): /*u32*/ number | undefined { + return FfiConverterOptionalUInt32.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_wallettx_height( + uniffiTypeWalletTxObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public inputs(): Array { + return FfiConverterArrayOptionalTypeWalletTxOut.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_wallettx_inputs( + uniffiTypeWalletTxObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public outputs(): Array { + return FfiConverterArrayOptionalTypeWalletTxOut.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_wallettx_outputs( + uniffiTypeWalletTxObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public timestamp(): /*u32*/ number | undefined { + return FfiConverterOptionalUInt32.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_wallettx_timestamp( + uniffiTypeWalletTxObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public tx(): TransactionInterface { + return FfiConverterTypeTransaction.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_wallettx_tx( + uniffiTypeWalletTxObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public txid(): TxidInterface { + return FfiConverterTypeTxid.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_wallettx_txid( + uniffiTypeWalletTxObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public type(): string { + return FfiConverterString.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_wallettx_type_( + uniffiTypeWalletTxObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public unblindedUrl(explorerUrl: string): string { + return FfiConverterString.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_wallettx_unblinded_url( + uniffiTypeWalletTxObjectFactory.clonePointer(this), + FfiConverterString.lower(explorerUrl), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy} + */ + uniffiDestroy(): void { + const ptr = (this as any)[destructorGuardSymbol]; + if (ptr !== undefined) { + const pointer = uniffiTypeWalletTxObjectFactory.pointer(this); + uniffiTypeWalletTxObjectFactory.freePointer(pointer); + uniffiTypeWalletTxObjectFactory.unbless(ptr); + delete (this as any)[destructorGuardSymbol]; + } + } + + static instanceOf(obj: any): obj is WalletTx { + return uniffiTypeWalletTxObjectFactory.isConcreteType(obj); + } +} + +const uniffiTypeWalletTxObjectFactory: UniffiObjectFactory = + { + create(pointer: UnsafeMutableRawPointer): WalletTxInterface { + const instance = Object.create(WalletTx.prototype); + instance[pointerLiteralSymbol] = pointer; + instance[destructorGuardSymbol] = this.bless(pointer); + instance[uniffiTypeNameSymbol] = 'WalletTx'; + return instance; + }, + + bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr { + return uniffiCaller.rustCall( + /*caller:*/ (status) => + nativeModule().ubrn_uniffi_internal_fn_method_wallettx_ffi__bless_pointer( + p, + status + ), + /*liftString:*/ FfiConverterString.lift + ); + }, + + unbless(ptr: UniffiRustArcPtr) { + ptr.markDestroyed(); + }, + + pointer(obj: WalletTxInterface): UnsafeMutableRawPointer { + if ((obj as any)[destructorGuardSymbol] === undefined) { + throw new UniffiInternalError.UnexpectedNullPointer(); + } + return (obj as any)[pointerLiteralSymbol]; + }, + + clonePointer(obj: WalletTxInterface): UnsafeMutableRawPointer { + const pointer = this.pointer(obj); + return uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_clone_wallettx(pointer, callStatus), + /*liftString:*/ FfiConverterString.lift + ); + }, + + freePointer(pointer: UnsafeMutableRawPointer): void { + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_free_wallettx(pointer, callStatus), + /*liftString:*/ FfiConverterString.lift + ); + }, + + isConcreteType(obj: any): obj is WalletTxInterface { + return ( + obj[destructorGuardSymbol] && obj[uniffiTypeNameSymbol] === 'WalletTx' + ); + }, + }; +// FfiConverter for WalletTxInterface +const FfiConverterTypeWalletTx = new FfiConverterObject( + uniffiTypeWalletTxObjectFactory +); + +export interface WalletTxOutInterface { + address(): AddressInterface; + extInt(): Chain; + height(): /*u32*/ number | undefined; + outpoint(): OutPointInterface; + scriptPubkey(): ScriptInterface; + unblinded(): TxOutSecretsInterface; + wildcardIndex(): /*u32*/ number; +} + +export class WalletTxOut + extends UniffiAbstractObject + implements WalletTxOutInterface +{ + readonly [uniffiTypeNameSymbol] = 'WalletTxOut'; + readonly [destructorGuardSymbol]: UniffiRustArcPtr; + readonly [pointerLiteralSymbol]: UnsafeMutableRawPointer; + // No primary constructor declared for this class. + private constructor(pointer: UnsafeMutableRawPointer) { + super(); + this[pointerLiteralSymbol] = pointer; + this[destructorGuardSymbol] = + uniffiTypeWalletTxOutObjectFactory.bless(pointer); + } + + public address(): AddressInterface { + return FfiConverterTypeAddress.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_wallettxout_address( + uniffiTypeWalletTxOutObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public extInt(): Chain { + return FfiConverterTypeChain.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_wallettxout_ext_int( + uniffiTypeWalletTxOutObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public height(): /*u32*/ number | undefined { + return FfiConverterOptionalUInt32.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_wallettxout_height( + uniffiTypeWalletTxOutObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public outpoint(): OutPointInterface { + return FfiConverterTypeOutPoint.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_wallettxout_outpoint( + uniffiTypeWalletTxOutObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public scriptPubkey(): ScriptInterface { + return FfiConverterTypeScript.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_wallettxout_script_pubkey( + uniffiTypeWalletTxOutObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public unblinded(): TxOutSecretsInterface { + return FfiConverterTypeTxOutSecrets.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_wallettxout_unblinded( + uniffiTypeWalletTxOutObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public wildcardIndex(): /*u32*/ number { + return FfiConverterUInt32.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_wallettxout_wildcard_index( + uniffiTypeWalletTxOutObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy} + */ + uniffiDestroy(): void { + const ptr = (this as any)[destructorGuardSymbol]; + if (ptr !== undefined) { + const pointer = uniffiTypeWalletTxOutObjectFactory.pointer(this); + uniffiTypeWalletTxOutObjectFactory.freePointer(pointer); + uniffiTypeWalletTxOutObjectFactory.unbless(ptr); + delete (this as any)[destructorGuardSymbol]; + } + } + + static instanceOf(obj: any): obj is WalletTxOut { + return uniffiTypeWalletTxOutObjectFactory.isConcreteType(obj); + } +} + +const uniffiTypeWalletTxOutObjectFactory: UniffiObjectFactory = + { + create(pointer: UnsafeMutableRawPointer): WalletTxOutInterface { + const instance = Object.create(WalletTxOut.prototype); + instance[pointerLiteralSymbol] = pointer; + instance[destructorGuardSymbol] = this.bless(pointer); + instance[uniffiTypeNameSymbol] = 'WalletTxOut'; + return instance; + }, + + bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr { + return uniffiCaller.rustCall( + /*caller:*/ (status) => + nativeModule().ubrn_uniffi_internal_fn_method_wallettxout_ffi__bless_pointer( + p, + status + ), + /*liftString:*/ FfiConverterString.lift + ); + }, + + unbless(ptr: UniffiRustArcPtr) { + ptr.markDestroyed(); + }, + + pointer(obj: WalletTxOutInterface): UnsafeMutableRawPointer { + if ((obj as any)[destructorGuardSymbol] === undefined) { + throw new UniffiInternalError.UnexpectedNullPointer(); + } + return (obj as any)[pointerLiteralSymbol]; + }, + + clonePointer(obj: WalletTxOutInterface): UnsafeMutableRawPointer { + const pointer = this.pointer(obj); + return uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_clone_wallettxout( + pointer, + callStatus + ), + /*liftString:*/ FfiConverterString.lift + ); + }, + + freePointer(pointer: UnsafeMutableRawPointer): void { + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_free_wallettxout( + pointer, + callStatus + ), + /*liftString:*/ FfiConverterString.lift + ); + }, + + isConcreteType(obj: any): obj is WalletTxOutInterface { + return ( + obj[destructorGuardSymbol] && + obj[uniffiTypeNameSymbol] === 'WalletTxOut' + ); + }, + }; +// FfiConverter for WalletTxOutInterface +const FfiConverterTypeWalletTxOut = new FfiConverterObject( + uniffiTypeWalletTxOutObjectFactory +); + +/** + * A Watch-Only wallet, wrapper over [`lwk_wollet::Wollet`] + */ +export interface WolletInterface { + address( + index: /*u32*/ number | undefined + ) /*throws*/ : AddressResultInterface; + applyUpdate(update: UpdateInterface) /*throws*/ : void; + balance() /*throws*/ : Map; + descriptor() /*throws*/ : WolletDescriptorInterface; + finalize(pset: PsetInterface) /*throws*/ : PsetInterface; + psetDetails(pset: PsetInterface) /*throws*/ : PsetDetailsInterface; + transactions() /*throws*/ : Array; + /** + * Get all the transaction outputs of the wallet, both spent and unspent + */ + txos() /*throws*/ : Array; + /** + * Get the unspent transaction outputs of the wallet + */ + utxos() /*throws*/ : Array; + /** + * Note this a test method but we are not feature gating in test because we need it in + * destination language examples + */ + waitForTx( + txid: TxidInterface, + client: ElectrumClientInterface + ) /*throws*/ : WalletTxInterface; +} + +/** + * A Watch-Only wallet, wrapper over [`lwk_wollet::Wollet`] + */ +export class Wollet extends UniffiAbstractObject implements WolletInterface { + readonly [uniffiTypeNameSymbol] = 'Wollet'; + readonly [destructorGuardSymbol]: UniffiRustArcPtr; + readonly [pointerLiteralSymbol]: UnsafeMutableRawPointer; + /** + * Construct a Watch-Only wallet object + */ + constructor( + network: NetworkInterface, + descriptor: WolletDescriptorInterface, + datadir: string | undefined + ) /*throws*/ { + super(); + const pointer = uniffiCaller.rustCallWithError( + /*liftError:*/ FfiConverterTypeLwkError.lift.bind( + FfiConverterTypeLwkError + ), + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_constructor_wollet_new( + FfiConverterTypeNetwork.lower(network), + FfiConverterTypeWolletDescriptor.lower(descriptor), + FfiConverterOptionalString.lower(datadir), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ); + this[pointerLiteralSymbol] = pointer; + this[destructorGuardSymbol] = uniffiTypeWolletObjectFactory.bless(pointer); + } + + /** + * Construct a Watch-Only wallet object with a caller provided persister + */ + public static withCustomPersister( + network: NetworkInterface, + descriptor: WolletDescriptorInterface, + persister: ForeignPersisterLinkInterface + ): WolletInterface /*throws*/ { + return FfiConverterTypeWollet.lift( + uniffiCaller.rustCallWithError( + /*liftError:*/ FfiConverterTypeLwkError.lift.bind( + FfiConverterTypeLwkError + ), + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_constructor_wollet_with_custom_persister( + FfiConverterTypeNetwork.lower(network), + FfiConverterTypeWolletDescriptor.lower(descriptor), + FfiConverterTypeForeignPersisterLink.lower(persister), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public address( + index: /*u32*/ number | undefined + ): AddressResultInterface /*throws*/ { + return FfiConverterTypeAddressResult.lift( + uniffiCaller.rustCallWithError( + /*liftError:*/ FfiConverterTypeLwkError.lift.bind( + FfiConverterTypeLwkError + ), + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_wollet_address( + uniffiTypeWolletObjectFactory.clonePointer(this), + FfiConverterOptionalUInt32.lower(index), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public applyUpdate(update: UpdateInterface): void /*throws*/ { + uniffiCaller.rustCallWithError( + /*liftError:*/ FfiConverterTypeLwkError.lift.bind( + FfiConverterTypeLwkError + ), + /*caller:*/ (callStatus) => { + nativeModule().ubrn_uniffi_lwk_fn_method_wollet_apply_update( + uniffiTypeWolletObjectFactory.clonePointer(this), + FfiConverterTypeUpdate.lower(update), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ); + } + + public balance(): Map /*throws*/ { + return FfiConverterMapTypeAssetIdUInt64.lift( + uniffiCaller.rustCallWithError( + /*liftError:*/ FfiConverterTypeLwkError.lift.bind( + FfiConverterTypeLwkError + ), + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_wollet_balance( + uniffiTypeWolletObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public descriptor(): WolletDescriptorInterface /*throws*/ { + return FfiConverterTypeWolletDescriptor.lift( + uniffiCaller.rustCallWithError( + /*liftError:*/ FfiConverterTypeLwkError.lift.bind( + FfiConverterTypeLwkError + ), + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_wollet_descriptor( + uniffiTypeWolletObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public finalize(pset: PsetInterface): PsetInterface /*throws*/ { + return FfiConverterTypePset.lift( + uniffiCaller.rustCallWithError( + /*liftError:*/ FfiConverterTypeLwkError.lift.bind( + FfiConverterTypeLwkError + ), + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_wollet_finalize( + uniffiTypeWolletObjectFactory.clonePointer(this), + FfiConverterTypePset.lower(pset), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public psetDetails(pset: PsetInterface): PsetDetailsInterface /*throws*/ { + return FfiConverterTypePsetDetails.lift( + uniffiCaller.rustCallWithError( + /*liftError:*/ FfiConverterTypeLwkError.lift.bind( + FfiConverterTypeLwkError + ), + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_wollet_pset_details( + uniffiTypeWolletObjectFactory.clonePointer(this), + FfiConverterTypePset.lower(pset), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public transactions(): Array /*throws*/ { + return FfiConverterArrayTypeWalletTx.lift( + uniffiCaller.rustCallWithError( + /*liftError:*/ FfiConverterTypeLwkError.lift.bind( + FfiConverterTypeLwkError + ), + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_wollet_transactions( + uniffiTypeWolletObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * Get all the transaction outputs of the wallet, both spent and unspent + */ + public txos(): Array /*throws*/ { + return FfiConverterArrayTypeWalletTxOut.lift( + uniffiCaller.rustCallWithError( + /*liftError:*/ FfiConverterTypeLwkError.lift.bind( + FfiConverterTypeLwkError + ), + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_wollet_txos( + uniffiTypeWolletObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * Get the unspent transaction outputs of the wallet + */ + public utxos(): Array /*throws*/ { + return FfiConverterArrayTypeWalletTxOut.lift( + uniffiCaller.rustCallWithError( + /*liftError:*/ FfiConverterTypeLwkError.lift.bind( + FfiConverterTypeLwkError + ), + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_wollet_utxos( + uniffiTypeWolletObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * Note this a test method but we are not feature gating in test because we need it in + * destination language examples + */ + public waitForTx( + txid: TxidInterface, + client: ElectrumClientInterface + ): WalletTxInterface /*throws*/ { + return FfiConverterTypeWalletTx.lift( + uniffiCaller.rustCallWithError( + /*liftError:*/ FfiConverterTypeLwkError.lift.bind( + FfiConverterTypeLwkError + ), + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_wollet_wait_for_tx( + uniffiTypeWolletObjectFactory.clonePointer(this), + FfiConverterTypeTxid.lower(txid), + FfiConverterTypeElectrumClient.lower(client), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy} + */ + uniffiDestroy(): void { + const ptr = (this as any)[destructorGuardSymbol]; + if (ptr !== undefined) { + const pointer = uniffiTypeWolletObjectFactory.pointer(this); + uniffiTypeWolletObjectFactory.freePointer(pointer); + uniffiTypeWolletObjectFactory.unbless(ptr); + delete (this as any)[destructorGuardSymbol]; + } + } + + static instanceOf(obj: any): obj is Wollet { + return uniffiTypeWolletObjectFactory.isConcreteType(obj); + } +} + +const uniffiTypeWolletObjectFactory: UniffiObjectFactory = { + create(pointer: UnsafeMutableRawPointer): WolletInterface { + const instance = Object.create(Wollet.prototype); + instance[pointerLiteralSymbol] = pointer; + instance[destructorGuardSymbol] = this.bless(pointer); + instance[uniffiTypeNameSymbol] = 'Wollet'; + return instance; + }, + + bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr { + return uniffiCaller.rustCall( + /*caller:*/ (status) => + nativeModule().ubrn_uniffi_internal_fn_method_wollet_ffi__bless_pointer( + p, + status + ), + /*liftString:*/ FfiConverterString.lift + ); + }, + + unbless(ptr: UniffiRustArcPtr) { + ptr.markDestroyed(); + }, + + pointer(obj: WolletInterface): UnsafeMutableRawPointer { + if ((obj as any)[destructorGuardSymbol] === undefined) { + throw new UniffiInternalError.UnexpectedNullPointer(); + } + return (obj as any)[pointerLiteralSymbol]; + }, + + clonePointer(obj: WolletInterface): UnsafeMutableRawPointer { + const pointer = this.pointer(obj); + return uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_clone_wollet(pointer, callStatus), + /*liftString:*/ FfiConverterString.lift + ); + }, + + freePointer(pointer: UnsafeMutableRawPointer): void { + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_free_wollet(pointer, callStatus), + /*liftString:*/ FfiConverterString.lift + ); + }, + + isConcreteType(obj: any): obj is WolletInterface { + return obj[destructorGuardSymbol] && obj[uniffiTypeNameSymbol] === 'Wollet'; + }, +}; +// FfiConverter for WolletInterface +const FfiConverterTypeWollet = new FfiConverterObject( + uniffiTypeWolletObjectFactory +); + +/** + * The output descriptors, wrapper over [`lwk_wollet::WolletDescriptor`] + */ +export interface WolletDescriptorInterface { + /** + * Derive the private blinding key + */ + deriveBlindingKey( + scriptPubkey: ScriptInterface + ): SecretKeyInterface | undefined; + isMainnet(): boolean; + /** + * Derive a scriptpubkey + */ + scriptPubkey( + extInt: Chain, + index: /*u32*/ number + ) /*throws*/ : ScriptInterface; +} + +/** + * The output descriptors, wrapper over [`lwk_wollet::WolletDescriptor`] + */ +export class WolletDescriptor + extends UniffiAbstractObject + implements WolletDescriptorInterface +{ + readonly [uniffiTypeNameSymbol] = 'WolletDescriptor'; + readonly [destructorGuardSymbol]: UniffiRustArcPtr; + readonly [pointerLiteralSymbol]: UnsafeMutableRawPointer; + constructor(descriptor: string) /*throws*/ { + super(); + const pointer = uniffiCaller.rustCallWithError( + /*liftError:*/ FfiConverterTypeLwkError.lift.bind( + FfiConverterTypeLwkError + ), + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_constructor_wolletdescriptor_new( + FfiConverterString.lower(descriptor), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ); + this[pointerLiteralSymbol] = pointer; + this[destructorGuardSymbol] = + uniffiTypeWolletDescriptorObjectFactory.bless(pointer); + } + + /** + * Derive the private blinding key + */ + public deriveBlindingKey( + scriptPubkey: ScriptInterface + ): SecretKeyInterface | undefined { + return FfiConverterOptionalTypeSecretKey.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_wolletdescriptor_derive_blinding_key( + uniffiTypeWolletDescriptorObjectFactory.clonePointer(this), + FfiConverterTypeScript.lower(scriptPubkey), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + public isMainnet(): boolean { + return FfiConverterBool.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_wolletdescriptor_is_mainnet( + uniffiTypeWolletDescriptorObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * Derive a scriptpubkey + */ + public scriptPubkey( + extInt: Chain, + index: /*u32*/ number + ): ScriptInterface /*throws*/ { + return FfiConverterTypeScript.lift( + uniffiCaller.rustCallWithError( + /*liftError:*/ FfiConverterTypeLwkError.lift.bind( + FfiConverterTypeLwkError + ), + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_wolletdescriptor_script_pubkey( + uniffiTypeWolletDescriptorObjectFactory.clonePointer(this), + FfiConverterTypeChain.lower(extInt), + FfiConverterUInt32.lower(index), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * Calls into the `WolletDescriptorInterface::to_string()` method of the native Rust peer. + * + * Generated by deriving the `Display` trait in Rust. + */ + toString(): string { + return FfiConverterString.lift( + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => { + return nativeModule().ubrn_uniffi_lwk_fn_method_wolletdescriptor_uniffi_trait_display( + uniffiTypeWolletDescriptorObjectFactory.clonePointer(this), + callStatus + ); + }, + /*liftString:*/ FfiConverterString.lift + ) + ); + } + + /** + * {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy} + */ + uniffiDestroy(): void { + const ptr = (this as any)[destructorGuardSymbol]; + if (ptr !== undefined) { + const pointer = uniffiTypeWolletDescriptorObjectFactory.pointer(this); + uniffiTypeWolletDescriptorObjectFactory.freePointer(pointer); + uniffiTypeWolletDescriptorObjectFactory.unbless(ptr); + delete (this as any)[destructorGuardSymbol]; + } + } + + static instanceOf(obj: any): obj is WolletDescriptor { + return uniffiTypeWolletDescriptorObjectFactory.isConcreteType(obj); + } +} + +const uniffiTypeWolletDescriptorObjectFactory: UniffiObjectFactory = + { + create(pointer: UnsafeMutableRawPointer): WolletDescriptorInterface { + const instance = Object.create(WolletDescriptor.prototype); + instance[pointerLiteralSymbol] = pointer; + instance[destructorGuardSymbol] = this.bless(pointer); + instance[uniffiTypeNameSymbol] = 'WolletDescriptor'; + return instance; + }, + + bless(p: UnsafeMutableRawPointer): UniffiRustArcPtr { + return uniffiCaller.rustCall( + /*caller:*/ (status) => + nativeModule().ubrn_uniffi_internal_fn_method_wolletdescriptor_ffi__bless_pointer( + p, + status + ), + /*liftString:*/ FfiConverterString.lift + ); + }, + + unbless(ptr: UniffiRustArcPtr) { + ptr.markDestroyed(); + }, + + pointer(obj: WolletDescriptorInterface): UnsafeMutableRawPointer { + if ((obj as any)[destructorGuardSymbol] === undefined) { + throw new UniffiInternalError.UnexpectedNullPointer(); + } + return (obj as any)[pointerLiteralSymbol]; + }, + + clonePointer(obj: WolletDescriptorInterface): UnsafeMutableRawPointer { + const pointer = this.pointer(obj); + return uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_clone_wolletdescriptor( + pointer, + callStatus + ), + /*liftString:*/ FfiConverterString.lift + ); + }, + + freePointer(pointer: UnsafeMutableRawPointer): void { + uniffiCaller.rustCall( + /*caller:*/ (callStatus) => + nativeModule().ubrn_uniffi_lwk_fn_free_wolletdescriptor( + pointer, + callStatus + ), + /*liftString:*/ FfiConverterString.lift + ); + }, + + isConcreteType(obj: any): obj is WolletDescriptorInterface { + return ( + obj[destructorGuardSymbol] && + obj[uniffiTypeNameSymbol] === 'WolletDescriptor' + ); + }, + }; +// FfiConverter for WolletDescriptorInterface +const FfiConverterTypeWolletDescriptor = new FfiConverterObject( + uniffiTypeWolletDescriptorObjectFactory +); + +// FfiConverter for /*f32*/number | undefined +const FfiConverterOptionalFloat32 = new FfiConverterOptional( + FfiConverterFloat32 +); + +// FfiConverter for string | undefined +const FfiConverterOptionalString = new FfiConverterOptional(FfiConverterString); + +// FfiConverter for /*u32*/number | undefined +const FfiConverterOptionalUInt32 = new FfiConverterOptional(FfiConverterUInt32); + +// FfiConverter for /*u64*/bigint | undefined +const FfiConverterOptionalUInt64 = new FfiConverterOptional(FfiConverterUInt64); + +// FfiConverter for /*u8*/number | undefined +const FfiConverterOptionalUInt8 = new FfiConverterOptional(FfiConverterUInt8); + +// FfiConverter for Map +const FfiConverterMapTypeAssetIdInt64 = new FfiConverterMap( + FfiConverterTypeAssetId, + FfiConverterInt64 +); + +// FfiConverter for Map +const FfiConverterMapTypeAssetIdUInt64 = new FfiConverterMap( + FfiConverterTypeAssetId, + FfiConverterUInt64 +); + +// FfiConverter for AssetId | undefined +const FfiConverterOptionalTypeAssetId = new FfiConverterOptional( + FfiConverterTypeAssetId +); + +// FfiConverter for AddressInterface | undefined +const FfiConverterOptionalTypeAddress = new FfiConverterOptional( + FfiConverterTypeAddress +); + +// FfiConverter for ContractInterface | undefined +const FfiConverterOptionalTypeContract = new FfiConverterOptional( + FfiConverterTypeContract +); + +// FfiConverter for ScriptInterface | undefined +const FfiConverterOptionalTypeScript = new FfiConverterOptional( + FfiConverterTypeScript +); + +// FfiConverter for SecretKeyInterface | undefined +const FfiConverterOptionalTypeSecretKey = new FfiConverterOptional( + FfiConverterTypeSecretKey +); + +// FfiConverter for TransactionInterface | undefined +const FfiConverterOptionalTypeTransaction = new FfiConverterOptional( + FfiConverterTypeTransaction +); + +// FfiConverter for TxidInterface | undefined +const FfiConverterOptionalTypeTxid = new FfiConverterOptional( + FfiConverterTypeTxid +); + +// FfiConverter for UpdateInterface | undefined +const FfiConverterOptionalTypeUpdate = new FfiConverterOptional( + FfiConverterTypeUpdate +); + +// FfiConverter for WalletTxOutInterface | undefined +const FfiConverterOptionalTypeWalletTxOut = new FfiConverterOptional( + FfiConverterTypeWalletTxOut +); + +// FfiConverter for Array +const FfiConverterArrayTypeIssuance = new FfiConverterArray( + FfiConverterTypeIssuance +); + +// FfiConverter for Array +const FfiConverterArrayTypeOutPoint = new FfiConverterArray( + FfiConverterTypeOutPoint +); + +// FfiConverter for Array +const FfiConverterArrayTypePsetInput = new FfiConverterArray( + FfiConverterTypePsetInput +); + +// FfiConverter for Array +const FfiConverterArrayTypePsetSignatures = new FfiConverterArray( + FfiConverterTypePsetSignatures +); + +// FfiConverter for Array +const FfiConverterArrayTypeRecipient = new FfiConverterArray( + FfiConverterTypeRecipient +); + +// FfiConverter for Array +const FfiConverterArrayTypeTxIn = new FfiConverterArray(FfiConverterTypeTxIn); + +// FfiConverter for Array +const FfiConverterArrayTypeTxOut = new FfiConverterArray(FfiConverterTypeTxOut); + +// FfiConverter for Array +const FfiConverterArrayTypeWalletTx = new FfiConverterArray( + FfiConverterTypeWalletTx +); + +// FfiConverter for Array +const FfiConverterArrayTypeWalletTxOut = new FfiConverterArray( + FfiConverterTypeWalletTxOut +); + +// FfiConverter for Array +const FfiConverterArrayOptionalTypeWalletTxOut = new FfiConverterArray( + FfiConverterOptionalTypeWalletTxOut +); + +/** + * This should be called before anything else. + * + * It is likely that this is being done for you by the library's `index.ts`. + * + * It checks versions of uniffi between when the Rust scaffolding was generated + * and when the bindings were generated. + * + * It also initializes the machinery to enable Rust to talk back to Javascript. + */ +function uniffiEnsureInitialized() { + // Get the bindings contract version from our ComponentInterface + const bindingsContractVersion = 26; + // Get the scaffolding contract version by calling the into the dylib + const scaffoldingContractVersion = + nativeModule().ubrn_ffi_lwk_uniffi_contract_version(); + if (bindingsContractVersion !== scaffoldingContractVersion) { + throw new UniffiInternalError.ContractVersionMismatch( + scaffoldingContractVersion, + bindingsContractVersion + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_func_is_provably_segwit() !== 25275 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_func_is_provably_segwit' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_address_is_blinded() !== + 34440 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_address_is_blinded' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_address_qr_code_text() !== + 34918 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_address_qr_code_text' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_address_qr_code_uri() !== + 36127 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_address_qr_code_uri' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_address_script_pubkey() !== + 23569 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_address_script_pubkey' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_address_to_unconfidential() !== + 28990 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_address_to_unconfidential' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_addressresult_address() !== + 57079 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_addressresult_address' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_addressresult_index() !== + 6170 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_addressresult_index' + ); + } + if (nativeModule().ubrn_uniffi_lwk_checksum_method_amp2_cosign() !== 5581) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_amp2_cosign' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_amp2_descriptor_from_str() !== + 752 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_amp2_descriptor_from_str' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_amp2_register() !== 53300 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_amp2_register' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_amp2descriptor_descriptor() !== + 61502 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_amp2descriptor_descriptor' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_electrumclient_broadcast() !== + 41537 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_electrumclient_broadcast' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_electrumclient_full_scan() !== + 5919 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_electrumclient_full_scan' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_electrumclient_full_scan_to_index() !== + 64210 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_electrumclient_full_scan_to_index' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_electrumclient_ping() !== + 49466 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_electrumclient_ping' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_esploraclient_broadcast() !== + 54439 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_esploraclient_broadcast' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_esploraclient_full_scan() !== + 27446 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_esploraclient_full_scan' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_esploraclient_full_scan_to_index() !== + 37814 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_esploraclient_full_scan_to_index' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_foreignpersister_get() !== + 54855 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_foreignpersister_get' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_foreignpersister_push() !== + 22972 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_foreignpersister_push' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_issuance_asset() !== 59545 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_issuance_asset' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_issuance_is_issuance() !== + 36847 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_issuance_is_issuance' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_issuance_is_reissuance() !== + 19752 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_issuance_is_reissuance' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_issuance_prev_txid() !== + 29158 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_issuance_prev_txid' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_issuance_prev_vout() !== + 47940 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_issuance_prev_vout' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_issuance_token() !== 31197 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_issuance_token' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_network_default_electrum_client() !== + 57493 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_network_default_electrum_client' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_network_default_esplora_client() !== + 7540 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_network_default_esplora_client' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_network_is_mainnet() !== + 38901 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_network_is_mainnet' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_network_policy_asset() !== + 61043 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_network_policy_asset' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_network_tx_builder() !== + 62021 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_network_tx_builder' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_outpoint_txid() !== 59660 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_outpoint_txid' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_outpoint_vout() !== 56493 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_outpoint_vout' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_precision_sats_to_string() !== + 20274 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_precision_sats_to_string' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_precision_string_to_sats() !== + 26556 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_precision_string_to_sats' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_pset_extract_tx() !== 24108 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_pset_extract_tx' + ); + } + if (nativeModule().ubrn_uniffi_lwk_checksum_method_pset_finalize() !== 8805) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_pset_finalize' + ); + } + if (nativeModule().ubrn_uniffi_lwk_checksum_method_pset_inputs() !== 59953) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_pset_inputs' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_psetbalance_balances() !== + 30248 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_psetbalance_balances' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_psetbalance_fee() !== 45919 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_psetbalance_fee' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_psetbalance_recipients() !== + 28110 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_psetbalance_recipients' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_psetdetails_balance() !== + 56410 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_psetdetails_balance' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_psetdetails_inputs_issuances() !== + 57319 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_psetdetails_inputs_issuances' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_psetdetails_signatures() !== + 49463 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_psetdetails_signatures' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_psetinput_issuance_asset() !== + 63028 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_psetinput_issuance_asset' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_psetinput_issuance_token() !== + 28592 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_psetinput_issuance_token' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_psetinput_previous_script_pubkey() !== + 29126 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_psetinput_previous_script_pubkey' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_psetinput_previous_txid() !== + 21436 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_psetinput_previous_txid' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_psetinput_previous_vout() !== + 7375 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_psetinput_previous_vout' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_psetinput_redeem_script() !== + 44187 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_psetinput_redeem_script' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_psetsignatures_has_signature() !== + 62742 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_psetsignatures_has_signature' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_psetsignatures_missing_signature() !== + 6208 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_psetsignatures_missing_signature' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_recipient_address() !== 44409 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_recipient_address' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_recipient_asset() !== 23419 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_recipient_asset' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_recipient_value() !== 39598 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_recipient_value' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_recipient_vout() !== 24321 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_recipient_vout' + ); + } + if (nativeModule().ubrn_uniffi_lwk_checksum_method_script_asm() !== 38627) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_script_asm' + ); + } + if (nativeModule().ubrn_uniffi_lwk_checksum_method_script_bytes() !== 31898) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_script_bytes' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_secretkey_bytes() !== 44270 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_secretkey_bytes' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_signer_keyorigin_xpub() !== + 15198 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_signer_keyorigin_xpub' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_signer_mnemonic() !== 29480 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_signer_mnemonic' + ); + } + if (nativeModule().ubrn_uniffi_lwk_checksum_method_signer_sign() !== 38559) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_signer_sign' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_signer_wpkh_slip77_descriptor() !== + 55215 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_signer_wpkh_slip77_descriptor' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_testenv_electrum_url() !== + 37727 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_testenv_electrum_url' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_testenv_generate() !== 4725 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_testenv_generate' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_testenv_get_new_address() !== + 11090 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_testenv_get_new_address' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_testenv_height() !== 18988 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_testenv_height' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_testenv_issue_asset() !== + 13400 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_testenv_issue_asset' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_testenv_send_to_address() !== + 8497 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_testenv_send_to_address' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_transaction_bytes() !== 35387 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_transaction_bytes' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_transaction_fee() !== 42284 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_transaction_fee' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_transaction_inputs() !== + 51474 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_transaction_inputs' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_transaction_outputs() !== + 59927 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_transaction_outputs' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_transaction_txid() !== 8927 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_transaction_txid' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_txbuilder_add_burn() !== 9804 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_txbuilder_add_burn' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_txbuilder_add_lbtc_recipient() !== + 895 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_txbuilder_add_lbtc_recipient' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_txbuilder_add_recipient() !== + 56700 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_txbuilder_add_recipient' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_txbuilder_drain_lbtc_to() !== + 34381 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_txbuilder_drain_lbtc_to' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_txbuilder_drain_lbtc_wallet() !== + 46356 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_txbuilder_drain_lbtc_wallet' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_txbuilder_fee_rate() !== + 52577 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_txbuilder_fee_rate' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_txbuilder_finish() !== 3994 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_txbuilder_finish' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_txbuilder_issue_asset() !== + 32494 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_txbuilder_issue_asset' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_txbuilder_reissue_asset() !== + 54385 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_txbuilder_reissue_asset' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_txbuilder_set_wallet_utxos() !== + 12661 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_txbuilder_set_wallet_utxos' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_txin_outpoint() !== 60750 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_txin_outpoint' + ); + } + if (nativeModule().ubrn_uniffi_lwk_checksum_method_txout_asset() !== 43008) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_txout_asset' + ); + } + if (nativeModule().ubrn_uniffi_lwk_checksum_method_txout_is_fee() !== 30808) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_txout_is_fee' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_txout_is_partially_blinded() !== + 10893 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_txout_is_partially_blinded' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_txout_script_pubkey() !== + 7466 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_txout_script_pubkey' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_txout_unblind() !== 11168 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_txout_unblind' + ); + } + if (nativeModule().ubrn_uniffi_lwk_checksum_method_txout_value() !== 6745) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_txout_value' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_txoutsecrets_asset() !== + 21742 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_txoutsecrets_asset' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_txoutsecrets_asset_bf() !== + 27606 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_txoutsecrets_asset_bf' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_txoutsecrets_value() !== + 64117 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_txoutsecrets_value' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_txoutsecrets_value_bf() !== + 4095 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_txoutsecrets_value_bf' + ); + } + if (nativeModule().ubrn_uniffi_lwk_checksum_method_txid_bytes() !== 15950) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_txid_bytes' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_update_only_tip() !== 55966 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_update_only_tip' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_update_serialize() !== 9990 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_update_serialize' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_wallettx_balance() !== 44398 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_wallettx_balance' + ); + } + if (nativeModule().ubrn_uniffi_lwk_checksum_method_wallettx_fee() !== 39011) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_wallettx_fee' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_wallettx_height() !== 12656 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_wallettx_height' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_wallettx_inputs() !== 3951 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_wallettx_inputs' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_wallettx_outputs() !== 55588 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_wallettx_outputs' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_wallettx_timestamp() !== + 12633 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_wallettx_timestamp' + ); + } + if (nativeModule().ubrn_uniffi_lwk_checksum_method_wallettx_tx() !== 23689) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_wallettx_tx' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_wallettx_txid() !== 36652 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_wallettx_txid' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_wallettx_type_() !== 59416 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_wallettx_type_' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_wallettx_unblinded_url() !== + 45766 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_wallettx_unblinded_url' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_wallettxout_address() !== + 55633 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_wallettxout_address' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_wallettxout_ext_int() !== + 60402 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_wallettxout_ext_int' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_wallettxout_height() !== + 50237 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_wallettxout_height' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_wallettxout_outpoint() !== + 58785 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_wallettxout_outpoint' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_wallettxout_script_pubkey() !== + 50610 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_wallettxout_script_pubkey' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_wallettxout_unblinded() !== + 57421 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_wallettxout_unblinded' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_wallettxout_wildcard_index() !== + 49286 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_wallettxout_wildcard_index' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_wollet_address() !== 14903 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_wollet_address' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_wollet_apply_update() !== + 55233 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_wollet_apply_update' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_wollet_balance() !== 6265 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_wollet_balance' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_wollet_descriptor() !== 25068 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_wollet_descriptor' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_wollet_finalize() !== 63816 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_wollet_finalize' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_wollet_pset_details() !== + 45882 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_wollet_pset_details' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_wollet_transactions() !== + 35692 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_wollet_transactions' + ); + } + if (nativeModule().ubrn_uniffi_lwk_checksum_method_wollet_txos() !== 19061) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_wollet_txos' + ); + } + if (nativeModule().ubrn_uniffi_lwk_checksum_method_wollet_utxos() !== 3120) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_wollet_utxos' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_wollet_wait_for_tx() !== + 47828 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_wollet_wait_for_tx' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_wolletdescriptor_derive_blinding_key() !== + 27121 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_wolletdescriptor_derive_blinding_key' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_wolletdescriptor_is_mainnet() !== + 62487 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_wolletdescriptor_is_mainnet' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_method_wolletdescriptor_script_pubkey() !== + 21566 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_method_wolletdescriptor_script_pubkey' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_constructor_address_new() !== 52129 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_constructor_address_new' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_constructor_amp2_new_testnet() !== + 61837 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_constructor_amp2_new_testnet' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_constructor_bip_new_bip49() !== + 34169 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_constructor_bip_new_bip49' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_constructor_bip_new_bip84() !== + 26707 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_constructor_bip_new_bip84' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_constructor_bip_new_bip87() !== + 60988 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_constructor_bip_new_bip87' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_constructor_contract_new() !== 55905 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_constructor_contract_new' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_constructor_electrumclient_new() !== + 26281 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_constructor_electrumclient_new' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_constructor_esploraclient_new() !== + 42490 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_constructor_esploraclient_new' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_constructor_esploraclient_new_waterfalls() !== + 40758 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_constructor_esploraclient_new_waterfalls' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_constructor_foreignpersisterlink_new() !== + 13549 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_constructor_foreignpersisterlink_new' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_constructor_mnemonic_from_entropy() !== + 36360 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_constructor_mnemonic_from_entropy' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_constructor_mnemonic_from_random() !== + 35644 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_constructor_mnemonic_from_random' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_constructor_mnemonic_new() !== 33187 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_constructor_mnemonic_new' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_constructor_network_mainnet() !== + 55931 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_constructor_network_mainnet' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_constructor_network_regtest() !== + 26689 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_constructor_network_regtest' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_constructor_network_regtest_default() !== + 53192 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_constructor_network_regtest_default' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_constructor_network_testnet() !== + 37103 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_constructor_network_testnet' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_constructor_outpoint_new() !== 61639 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_constructor_outpoint_new' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_constructor_precision_new() !== 7694 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_constructor_precision_new' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_constructor_pset_new() !== 61694 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_constructor_pset_new' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_constructor_script_new() !== 43814 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_constructor_script_new' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_constructor_secretkey_from_bytes() !== + 14021 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_constructor_secretkey_from_bytes' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_constructor_signer_new() !== 16701 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_constructor_signer_new' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_constructor_signer_random() !== + 54097 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_constructor_signer_random' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_constructor_testenv_new() !== 46965 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_constructor_testenv_new' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_constructor_transaction_new() !== + 3065 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_constructor_transaction_new' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_constructor_txbuilder_new() !== + 56158 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_constructor_txbuilder_new' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_constructor_txid_new() !== 63870 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_constructor_txid_new' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_constructor_update_new() !== 35370 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_constructor_update_new' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_constructor_wollet_new() !== 15308 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_constructor_wollet_new' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_constructor_wollet_with_custom_persister() !== + 63220 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_constructor_wollet_with_custom_persister' + ); + } + if ( + nativeModule().ubrn_uniffi_lwk_checksum_constructor_wolletdescriptor_new() !== + 57700 + ) { + throw new UniffiInternalError.ApiChecksumMismatch( + 'uniffi_lwk_checksum_constructor_wolletdescriptor_new' + ); + } + + uniffiCallbackInterfaceForeignPersister.register(); +} + +export default Object.freeze({ + initialize: uniffiEnsureInitialized, + converters: { + FfiConverterTypeAddress, + FfiConverterTypeAddressResult, + FfiConverterTypeAmp2, + FfiConverterTypeAmp2Descriptor, + FfiConverterTypeAssetId, + FfiConverterTypeBip, + FfiConverterTypeChain, + FfiConverterTypeContract, + FfiConverterTypeElectrumClient, + FfiConverterTypeEsploraClient, + FfiConverterTypeForeignPersister, + FfiConverterTypeForeignPersisterLink, + FfiConverterTypeHex, + FfiConverterTypeIssuance, + FfiConverterTypeMnemonic, + FfiConverterTypeNetwork, + FfiConverterTypeOutPoint, + FfiConverterTypePrecision, + FfiConverterTypePset, + FfiConverterTypePsetBalance, + FfiConverterTypePsetDetails, + FfiConverterTypePsetInput, + FfiConverterTypePsetSignatures, + FfiConverterTypeRecipient, + FfiConverterTypeScript, + FfiConverterTypeSecretKey, + FfiConverterTypeSigner, + FfiConverterTypeTestEnv, + FfiConverterTypeTransaction, + FfiConverterTypeTxBuilder, + FfiConverterTypeTxIn, + FfiConverterTypeTxOut, + FfiConverterTypeTxOutSecrets, + FfiConverterTypeTxid, + FfiConverterTypeUpdate, + FfiConverterTypeWalletTx, + FfiConverterTypeWalletTxOut, + FfiConverterTypeWollet, + FfiConverterTypeWolletDescriptor, + }, +}); diff --git a/src/index.tsx b/src/index.tsx index 9516f3f..0ddd746 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1,34 +1,34 @@ -import { Bip } from './classes/Bip'; -import { Client } from './classes/Client'; -import { Descriptor } from './classes/Descriptor'; -import { Wollet } from './classes/Wollet'; -import { Signer } from './classes/Signer'; -import { Pset } from './classes/Pset'; -import { Transaction } from './classes/Transaction'; -import { TxBuilder } from './classes/TxBuilder'; -import { Network, ClientNames } from './lib/enums'; -import { - type Address, - type WolletTx, - type Balance, - type Contract, -} from './lib/types'; -import { type ElectrumClientConfig } from './lib/interfaces'; +// Generated by uniffi-bindgen-react-native +import installer from './NativeLwkRn'; -export { - Bip, - Client, - Descriptor, - Network, - Wollet, - Signer, - Pset, - Transaction, - TxBuilder, - ClientNames, - type Address, - type Contract, - type WolletTx, - type Balance, - type ElectrumClientConfig, +// Register the rust crate with Hermes +// - the boolean flag ensures this loads exactly once, even if the JS +// code is reloaded (e.g. during development with metro). +let rustInstalled = false; +if (!rustInstalled) { + installer.installRustCrate(); + rustInstalled = true; +} + +// Export the generated bindings to the app. +export * from './generated/lwk'; + +// Now import the bindings so we can: +// - intialize them +// - export them as namespaced objects as the default export. +import * as lwk from './generated/lwk'; + +// Initialize the generated bindings: mostly checksums, but also callbacks. +// - the boolean flag ensures this loads exactly once, even if the JS code +// is reloaded (e.g. during development with metro). +let initialized = false; +if (!initialized) { + lwk.default.initialize(); + initialized = true; +} + +// Export the crates as individually namespaced objects. +export default { + lwk, }; + diff --git a/src/lib/enums.ts b/src/lib/enums.ts deleted file mode 100644 index 9e76618..0000000 --- a/src/lib/enums.ts +++ /dev/null @@ -1,18 +0,0 @@ - -export enum Network { - Testnet = 'testnet', - Regtest = 'regtest', - Mainnet = 'mainnet', - Signet = 'signet', -} - -export enum Chain { - external = 'external', - internal = 'internal', -} - -export enum ClientNames { - Electrum = 'Electrum', - Esplora = 'Esplora', - Rpc = 'Rpc', -} \ No newline at end of file diff --git a/src/lib/interfaces.ts b/src/lib/interfaces.ts deleted file mode 100644 index 784a5b6..0000000 --- a/src/lib/interfaces.ts +++ /dev/null @@ -1,9 +0,0 @@ -export interface ElectrumClientConfig { - url: string; - tls: boolean; - validateDomain: boolean; -} - -export interface EsploraClientConfig { - url: string; -} \ No newline at end of file diff --git a/src/lib/types.ts b/src/lib/types.ts deleted file mode 100644 index fe21782..0000000 --- a/src/lib/types.ts +++ /dev/null @@ -1,54 +0,0 @@ -import { Chain } from "./enums"; - -export type Balance = { - [index: string]: number; -} - -export type Outpoint = { - txid: string; - vout: number; -} -export type Unblinded = { - asset: string; - assetBf: string; - value: number; - valueBf: string; -} - -export type WolletTxOut = { - ext_int: Chain, - height: number | undefined; - outpoint: Outpoint; - script_pubkey: string; - wildcard_index: number | undefined; - unblinded: Unblinded; -} - -export type WolletTx = { - txid: string; - balance: Balance; - type: string; - fee?: number | undefined; - height?: number | undefined; - timestamp?: number | undefined; - inputs?: Array; - output?: Array; -} - -export type Update = string; - -export type Address = { - description: string; - is_blinded: string; - qr_code_text: string; - script_pubkey: string; -} - -export type Contract = { - domain: string; - issuerPubkey: string; - name: string; - precision: number; - ticker: string; - version: number; -} \ No newline at end of file diff --git a/src/lib/utils.tsx b/src/lib/utils.tsx deleted file mode 100644 index e304267..0000000 --- a/src/lib/utils.tsx +++ /dev/null @@ -1,18 +0,0 @@ -import { Network } from './enums'; - -/** Get Network Enum */ -export const getNetwork = (networkName: string): Network => { - let networkEnum = Network.Testnet; - switch (networkName) { - case 'testnet': - networkEnum = Network.Testnet; - break; - case 'regtest': - networkEnum = Network.Regtest; - break; - case 'bitcoin': - networkEnum = Network.Mainnet; - break; - } - return networkEnum; - }; diff --git a/tsconfig.build.json b/tsconfig.build.json index 3c0636a..3aeb6b3 100644 --- a/tsconfig.build.json +++ b/tsconfig.build.json @@ -1,4 +1,4 @@ { "extends": "./tsconfig", - "exclude": ["example", "lib"] + "exclude": ["example", "lib", "src/generated/"] } diff --git a/tsconfig.json b/tsconfig.json index 221db27..34aa3a6 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -21,9 +21,12 @@ "noUnusedLocals": true, "noUnusedParameters": true, "resolveJsonModule": true, + "resolvePackageJsonImports": false, "skipLibCheck": true, "strict": true, "target": "ESNext", "verbatimModuleSyntax": true - } + }, + "include": ["**/*.ts"], + "exclude": ["android/", "cpp/generated/", "ios/", "lib/", "node_modules", "src/generated/"] } diff --git a/turbo.json b/turbo.json index 2ba27a3..405897e 100644 --- a/turbo.json +++ b/turbo.json @@ -2,7 +2,7 @@ "$schema": "https://turbo.build/schema.json", "pipeline": { "build:android": { - "env": ["ORG_GRADLE_PROJECT_newArchEnabled", "PAT_USER", "PAT_TOKEN"], + "env": ["ORG_GRADLE_PROJECT_newArchEnabled"], "inputs": [ "package.json", "android", diff --git a/ubrn.config.yaml b/ubrn.config.yaml new file mode 100644 index 0000000..4a59fbd --- /dev/null +++ b/ubrn.config.yaml @@ -0,0 +1,9 @@ +--- +rust: + directory: ./rust_modules/lwk_bindings + manifestPath: Cargo.toml + + bindings: + cpp: cpp/bindings + ts: ts/bindings + uniffiToml: ./uniffi.toml diff --git a/yarn.lock b/yarn.lock index d4b7e70..112e5c1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -15,49 +15,50 @@ __metadata: languageName: node linkType: hard -"@babel/code-frame@npm:^7.0.0, @babel/code-frame@npm:^7.12.13, @babel/code-frame@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/code-frame@npm:7.24.7" +"@babel/code-frame@npm:^7.0.0, @babel/code-frame@npm:^7.12.13, @babel/code-frame@npm:^7.22.13, @babel/code-frame@npm:^7.24.7, @babel/code-frame@npm:^7.26.2": + version: 7.26.2 + resolution: "@babel/code-frame@npm:7.26.2" dependencies: - "@babel/highlight": ^7.24.7 + "@babel/helper-validator-identifier": ^7.25.9 + js-tokens: ^4.0.0 picocolors: ^1.0.0 - checksum: 830e62cd38775fdf84d612544251ce773d544a8e63df667728cc9e0126eeef14c6ebda79be0f0bc307e8318316b7f58c27ce86702e0a1f5c321d842eb38ffda4 + checksum: db13f5c42d54b76c1480916485e6900748bbcb0014a8aca87f50a091f70ff4e0d0a6db63cade75eb41fcc3d2b6ba0a7f89e343def4f96f00269b41b8ab8dd7b8 languageName: node linkType: hard -"@babel/compat-data@npm:^7.22.6, @babel/compat-data@npm:^7.25.2, @babel/compat-data@npm:^7.25.4": - version: 7.25.4 - resolution: "@babel/compat-data@npm:7.25.4" - checksum: b12a91d27c3731a4b0bdc9312a50b1911f41f7f728aaf0d4b32486e2257fd2cb2d3ea1a295e98449600c48f2c7883a3196ca77cda1cef7d97a10c2e83d037974 +"@babel/compat-data@npm:^7.22.6, @babel/compat-data@npm:^7.26.5, @babel/compat-data@npm:^7.26.8": + version: 7.26.8 + resolution: "@babel/compat-data@npm:7.26.8" + checksum: 1bb04c6860c8c9555b933cb9c3caf5ef1dac331a37a351efb67956fc679f695d487aea76e792dd43823702c1300f7906f2a298e50b4a8d7ec199ada9c340c365 languageName: node linkType: hard -"@babel/core@npm:^7.11.6, @babel/core@npm:^7.12.3, @babel/core@npm:^7.13.16, @babel/core@npm:^7.20.0, @babel/core@npm:^7.23.9, @babel/core@npm:^7.25.2": - version: 7.25.2 - resolution: "@babel/core@npm:7.25.2" +"@babel/core@npm:^7.11.6, @babel/core@npm:^7.12.3, @babel/core@npm:^7.20.0, @babel/core@npm:^7.23.9, @babel/core@npm:^7.24.7, @babel/core@npm:^7.25.2": + version: 7.26.9 + resolution: "@babel/core@npm:7.26.9" dependencies: "@ampproject/remapping": ^2.2.0 - "@babel/code-frame": ^7.24.7 - "@babel/generator": ^7.25.0 - "@babel/helper-compilation-targets": ^7.25.2 - "@babel/helper-module-transforms": ^7.25.2 - "@babel/helpers": ^7.25.0 - "@babel/parser": ^7.25.0 - "@babel/template": ^7.25.0 - "@babel/traverse": ^7.25.2 - "@babel/types": ^7.25.2 + "@babel/code-frame": ^7.26.2 + "@babel/generator": ^7.26.9 + "@babel/helper-compilation-targets": ^7.26.5 + "@babel/helper-module-transforms": ^7.26.0 + "@babel/helpers": ^7.26.9 + "@babel/parser": ^7.26.9 + "@babel/template": ^7.26.9 + "@babel/traverse": ^7.26.9 + "@babel/types": ^7.26.9 convert-source-map: ^2.0.0 debug: ^4.1.0 gensync: ^1.0.0-beta.2 json5: ^2.2.3 semver: ^6.3.1 - checksum: 9a1ef604a7eb62195f70f9370cec45472a08114e3934e3eaaedee8fd754edf0730e62347c7b4b5e67d743ce57b5bb8cf3b92459482ca94d06e06246ef021390a + checksum: b6e33bdcbb8a5c929760548be400d18cbde1f07922a784586752fd544fbf13c71331406ffdb4fcfe53f79c69ceae602efdca654ad4e9ac0c2af47efe87e7fccd languageName: node linkType: hard "@babel/eslint-parser@npm:^7.20.0": - version: 7.25.1 - resolution: "@babel/eslint-parser@npm:7.25.1" + version: 7.26.8 + resolution: "@babel/eslint-parser@npm:7.26.8" dependencies: "@nicolo-ribaudo/eslint-scope-5-internals": 5.1.1-v1 eslint-visitor-keys: ^2.1.0 @@ -65,87 +66,78 @@ __metadata: peerDependencies: "@babel/core": ^7.11.0 eslint: ^7.5.0 || ^8.0.0 || ^9.0.0 - checksum: 73207b7e84a58bd6560d29f11cf5c6f9d64a01b9299d4d0a145423a028ea4c402be2fd09228647fdbec14b65a07d4138e751468fd33d9a9363c9698582fa80b5 + checksum: a434da9e3099e5f77911baa4eaa21f2ec64768703be1fde2858e8ffdb8be6cb78ff67c611c8c17fe1ece54d925b65487a7455cca93103b017443a51b76320751 languageName: node linkType: hard -"@babel/generator@npm:^7.20.0, @babel/generator@npm:^7.25.0, @babel/generator@npm:^7.25.6, @babel/generator@npm:^7.7.2": - version: 7.25.6 - resolution: "@babel/generator@npm:7.25.6" +"@babel/generator@npm:^7.20.0, @babel/generator@npm:^7.25.0, @babel/generator@npm:^7.26.9, @babel/generator@npm:^7.7.2": + version: 7.26.9 + resolution: "@babel/generator@npm:7.26.9" dependencies: - "@babel/types": ^7.25.6 + "@babel/parser": ^7.26.9 + "@babel/types": ^7.26.9 "@jridgewell/gen-mapping": ^0.3.5 "@jridgewell/trace-mapping": ^0.3.25 - jsesc: ^2.5.1 - checksum: b55975cd664f5602304d868bb34f4ee3bed6f5c7ce8132cd92ff27a46a53a119def28a182d91992e86f75db904f63094a81247703c4dc96e4db0c03fd04bcd68 - languageName: node - linkType: hard - -"@babel/helper-annotate-as-pure@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/helper-annotate-as-pure@npm:7.24.7" - dependencies: - "@babel/types": ^7.24.7 - checksum: 6178566099a6a0657db7a7fa601a54fb4731ca0b8614fbdccfd8e523c210c13963649bc8fdfd53ce7dd14d05e3dda2fb22dea5b30113c488b9eb1a906d60212e + jsesc: ^3.0.2 + checksum: 57d034fb6c77dfd5e0c8ef368ff544e19cb6a27cb70d6ed5ff0552c618153dc6692d31e7d0f3a408e0fec3a519514b846c909316c3078290f3a3c1e463372eae languageName: node linkType: hard -"@babel/helper-builder-binary-assignment-operator-visitor@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/helper-builder-binary-assignment-operator-visitor@npm:7.24.7" +"@babel/helper-annotate-as-pure@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/helper-annotate-as-pure@npm:7.25.9" dependencies: - "@babel/traverse": ^7.24.7 - "@babel/types": ^7.24.7 - checksum: 71a6158a9fdebffb82fdc400d5555ba8f2e370cea81a0d578155877bdc4db7d5252b75c43b2fdf3f72b3f68348891f99bd35ae315542daad1b7ace8322b1abcb + "@babel/types": ^7.25.9 + checksum: 41edda10df1ae106a9b4fe617bf7c6df77db992992afd46192534f5cff29f9e49a303231733782dd65c5f9409714a529f215325569f14282046e9d3b7a1ffb6c languageName: node linkType: hard -"@babel/helper-compilation-targets@npm:^7.22.6, @babel/helper-compilation-targets@npm:^7.24.7, @babel/helper-compilation-targets@npm:^7.24.8, @babel/helper-compilation-targets@npm:^7.25.2": - version: 7.25.2 - resolution: "@babel/helper-compilation-targets@npm:7.25.2" +"@babel/helper-compilation-targets@npm:^7.22.6, @babel/helper-compilation-targets@npm:^7.25.9, @babel/helper-compilation-targets@npm:^7.26.5": + version: 7.26.5 + resolution: "@babel/helper-compilation-targets@npm:7.26.5" dependencies: - "@babel/compat-data": ^7.25.2 - "@babel/helper-validator-option": ^7.24.8 - browserslist: ^4.23.1 + "@babel/compat-data": ^7.26.5 + "@babel/helper-validator-option": ^7.25.9 + browserslist: ^4.24.0 lru-cache: ^5.1.1 semver: ^6.3.1 - checksum: aed33c5496cb9db4b5e2d44e26bf8bc474074cc7f7bb5ebe1d4a20fdeb362cb3ba9e1596ca18c7484bcd6e5c3a155ab975e420d520c0ae60df81f9de04d0fd16 + checksum: 6bc0107613bf1d4d21913606e8e517194e5099a24db2a8374568e56ef4626e8140f9b8f8a4aabc35479f5904459a0aead2a91ee0dc63aae110ccbc2bc4b4fda1 languageName: node linkType: hard -"@babel/helper-create-class-features-plugin@npm:^7.18.6, @babel/helper-create-class-features-plugin@npm:^7.24.7, @babel/helper-create-class-features-plugin@npm:^7.25.0, @babel/helper-create-class-features-plugin@npm:^7.25.4": - version: 7.25.4 - resolution: "@babel/helper-create-class-features-plugin@npm:7.25.4" +"@babel/helper-create-class-features-plugin@npm:^7.25.9": + version: 7.26.9 + resolution: "@babel/helper-create-class-features-plugin@npm:7.26.9" dependencies: - "@babel/helper-annotate-as-pure": ^7.24.7 - "@babel/helper-member-expression-to-functions": ^7.24.8 - "@babel/helper-optimise-call-expression": ^7.24.7 - "@babel/helper-replace-supers": ^7.25.0 - "@babel/helper-skip-transparent-expression-wrappers": ^7.24.7 - "@babel/traverse": ^7.25.4 + "@babel/helper-annotate-as-pure": ^7.25.9 + "@babel/helper-member-expression-to-functions": ^7.25.9 + "@babel/helper-optimise-call-expression": ^7.25.9 + "@babel/helper-replace-supers": ^7.26.5 + "@babel/helper-skip-transparent-expression-wrappers": ^7.25.9 + "@babel/traverse": ^7.26.9 semver: ^6.3.1 peerDependencies: "@babel/core": ^7.0.0 - checksum: 4544ebda4516eb25efdebd47ca024bd7bdb1eb6e7cc3ad89688c8ef8e889734c2f4411ed78981899c641394f013f246f2af63d92a0e9270f6c453309b4cb89ba + checksum: d445a660d2cdd92e83c04a60f52a304e54e5cc338796b6add9dec00048f1ad12125f78145ab688d029569a9559ef64f8e0de86f456b9e2630ea46f664ffb8e45 languageName: node linkType: hard -"@babel/helper-create-regexp-features-plugin@npm:^7.18.6, @babel/helper-create-regexp-features-plugin@npm:^7.24.7, @babel/helper-create-regexp-features-plugin@npm:^7.25.0, @babel/helper-create-regexp-features-plugin@npm:^7.25.2": - version: 7.25.2 - resolution: "@babel/helper-create-regexp-features-plugin@npm:7.25.2" +"@babel/helper-create-regexp-features-plugin@npm:^7.18.6, @babel/helper-create-regexp-features-plugin@npm:^7.25.9": + version: 7.26.3 + resolution: "@babel/helper-create-regexp-features-plugin@npm:7.26.3" dependencies: - "@babel/helper-annotate-as-pure": ^7.24.7 - regexpu-core: ^5.3.1 + "@babel/helper-annotate-as-pure": ^7.25.9 + regexpu-core: ^6.2.0 semver: ^6.3.1 peerDependencies: "@babel/core": ^7.0.0 - checksum: df55fdc6a1f3090dd37d91347df52d9322d52affa239543808dc142f8fe35e6787e67d8612337668198fac85826fafa9e6772e6c28b7d249ec94e6fafae5da6e + checksum: 50a27d8ce6da5c2fa0c62c132c4d27cfeb36e3233ff1e5220d643de3dafe49423b507382f0b72a696fce7486014b134c1e742f55438590f9405d26765b009af0 languageName: node linkType: hard -"@babel/helper-define-polyfill-provider@npm:^0.6.2": - version: 0.6.2 - resolution: "@babel/helper-define-polyfill-provider@npm:0.6.2" +"@babel/helper-define-polyfill-provider@npm:^0.6.2, @babel/helper-define-polyfill-provider@npm:^0.6.3": + version: 0.6.3 + resolution: "@babel/helper-define-polyfill-provider@npm:0.6.3" dependencies: "@babel/helper-compilation-targets": ^7.22.6 "@babel/helper-plugin-utils": ^7.22.5 @@ -154,276 +146,215 @@ __metadata: resolve: ^1.14.2 peerDependencies: "@babel/core": ^7.4.0 || ^8.0.0-0 <8.0.0 - checksum: 2bba965ea9a4887ddf9c11d51d740ab473bd7597b787d042c325f6a45912dfe908c2d6bb1d837bf82f7e9fa51e6ad5150563c58131d2bb85515e63d971414a9c + checksum: 710e6d8a5391736b9f53f09d0494575c2e03de199ad8d1349bc8e514cb85251ea1f1842c2ff44830849d482052ddb42ae931101002a87a263b12f649c2e57c01 languageName: node linkType: hard -"@babel/helper-member-expression-to-functions@npm:^7.24.8": - version: 7.24.8 - resolution: "@babel/helper-member-expression-to-functions@npm:7.24.8" +"@babel/helper-member-expression-to-functions@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/helper-member-expression-to-functions@npm:7.25.9" dependencies: - "@babel/traverse": ^7.24.8 - "@babel/types": ^7.24.8 - checksum: bf923d05d81b06857f4ca4fe9c528c9c447a58db5ea39595bb559eae2fce01a8266173db0fd6a2ec129d7bbbb9bb22f4e90008252f7c66b422c76630a878a4bc + "@babel/traverse": ^7.25.9 + "@babel/types": ^7.25.9 + checksum: 8e2f1979b6d596ac2a8cbf17f2cf709180fefc274ac3331408b48203fe19134ed87800774ef18838d0275c3965130bae22980d90caed756b7493631d4b2cf961 languageName: node linkType: hard -"@babel/helper-module-imports@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/helper-module-imports@npm:7.24.7" +"@babel/helper-module-imports@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/helper-module-imports@npm:7.25.9" dependencies: - "@babel/traverse": ^7.24.7 - "@babel/types": ^7.24.7 - checksum: 8ac15d96d262b8940bc469052a048e06430bba1296369be695fabdf6799f201dd0b00151762b56012a218464e706bc033f27c07f6cec20c6f8f5fd6543c67054 + "@babel/traverse": ^7.25.9 + "@babel/types": ^7.25.9 + checksum: 1b411ce4ca825422ef7065dffae7d8acef52023e51ad096351e3e2c05837e9bf9fca2af9ca7f28dc26d596a588863d0fedd40711a88e350b736c619a80e704e6 languageName: node linkType: hard -"@babel/helper-module-transforms@npm:^7.24.7, @babel/helper-module-transforms@npm:^7.24.8, @babel/helper-module-transforms@npm:^7.25.0, @babel/helper-module-transforms@npm:^7.25.2": - version: 7.25.2 - resolution: "@babel/helper-module-transforms@npm:7.25.2" +"@babel/helper-module-transforms@npm:^7.25.9, @babel/helper-module-transforms@npm:^7.26.0": + version: 7.26.0 + resolution: "@babel/helper-module-transforms@npm:7.26.0" dependencies: - "@babel/helper-module-imports": ^7.24.7 - "@babel/helper-simple-access": ^7.24.7 - "@babel/helper-validator-identifier": ^7.24.7 - "@babel/traverse": ^7.25.2 + "@babel/helper-module-imports": ^7.25.9 + "@babel/helper-validator-identifier": ^7.25.9 + "@babel/traverse": ^7.25.9 peerDependencies: "@babel/core": ^7.0.0 - checksum: 282d4e3308df6746289e46e9c39a0870819630af5f84d632559171e4fae6045684d771a65f62df3d569e88ccf81dc2def78b8338a449ae3a94bb421aa14fc367 + checksum: 942eee3adf2b387443c247a2c190c17c4fd45ba92a23087abab4c804f40541790d51ad5277e4b5b1ed8d5ba5b62de73857446b7742f835c18ebd350384e63917 languageName: node linkType: hard -"@babel/helper-optimise-call-expression@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/helper-optimise-call-expression@npm:7.24.7" +"@babel/helper-optimise-call-expression@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/helper-optimise-call-expression@npm:7.25.9" dependencies: - "@babel/types": ^7.24.7 - checksum: 280654eaf90e92bf383d7eed49019573fb35a98c9e992668f701ad099957246721044be2068cf6840cb2299e0ad393705a1981c88c23a1048096a8d59e5f79a3 + "@babel/types": ^7.25.9 + checksum: f09d0ad60c0715b9a60c31841b3246b47d67650c512ce85bbe24a3124f1a4d66377df793af393273bc6e1015b0a9c799626c48e53747581c1582b99167cc65dc languageName: node linkType: hard -"@babel/helper-plugin-utils@npm:^7.0.0, @babel/helper-plugin-utils@npm:^7.10.4, @babel/helper-plugin-utils@npm:^7.12.13, @babel/helper-plugin-utils@npm:^7.14.5, @babel/helper-plugin-utils@npm:^7.18.6, @babel/helper-plugin-utils@npm:^7.20.2, @babel/helper-plugin-utils@npm:^7.22.5, @babel/helper-plugin-utils@npm:^7.24.7, @babel/helper-plugin-utils@npm:^7.24.8, @babel/helper-plugin-utils@npm:^7.8.0, @babel/helper-plugin-utils@npm:^7.8.3": - version: 7.24.8 - resolution: "@babel/helper-plugin-utils@npm:7.24.8" - checksum: 73b1a83ba8bcee21dc94de2eb7323207391715e4369fd55844bb15cf13e3df6f3d13a40786d990e6370bf0f571d94fc31f70dec96c1d1002058258c35ca3767a +"@babel/helper-plugin-utils@npm:^7.0.0, @babel/helper-plugin-utils@npm:^7.10.4, @babel/helper-plugin-utils@npm:^7.12.13, @babel/helper-plugin-utils@npm:^7.14.5, @babel/helper-plugin-utils@npm:^7.18.6, @babel/helper-plugin-utils@npm:^7.22.5, @babel/helper-plugin-utils@npm:^7.25.9, @babel/helper-plugin-utils@npm:^7.26.5, @babel/helper-plugin-utils@npm:^7.8.0": + version: 7.26.5 + resolution: "@babel/helper-plugin-utils@npm:7.26.5" + checksum: 4771fbb1711c624c62d12deabc2ed7435a6e6994b6ce09d5ede1bc1bf19be59c3775461a1e693bdd596af865685e87bb2abc778f62ceadc1b2095a8e2aa74180 languageName: node linkType: hard -"@babel/helper-remap-async-to-generator@npm:^7.24.7, @babel/helper-remap-async-to-generator@npm:^7.25.0": - version: 7.25.0 - resolution: "@babel/helper-remap-async-to-generator@npm:7.25.0" +"@babel/helper-remap-async-to-generator@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/helper-remap-async-to-generator@npm:7.25.9" dependencies: - "@babel/helper-annotate-as-pure": ^7.24.7 - "@babel/helper-wrap-function": ^7.25.0 - "@babel/traverse": ^7.25.0 + "@babel/helper-annotate-as-pure": ^7.25.9 + "@babel/helper-wrap-function": ^7.25.9 + "@babel/traverse": ^7.25.9 peerDependencies: "@babel/core": ^7.0.0 - checksum: 47f3065e43fe9d6128ddb4291ffb9cf031935379265fd13de972b5f241943121f7583efb69cd2e1ecf39e3d0f76f047547d56c3fcc2c853b326fad5465da0bd7 + checksum: ea37ad9f8f7bcc27c109963b8ebb9d22bac7a5db2a51de199cb560e251d5593fe721e46aab2ca7d3e7a24b0aa4aff0eaf9c7307af9c2fd3a1d84268579073052 languageName: node linkType: hard -"@babel/helper-replace-supers@npm:^7.24.7, @babel/helper-replace-supers@npm:^7.25.0": - version: 7.25.0 - resolution: "@babel/helper-replace-supers@npm:7.25.0" +"@babel/helper-replace-supers@npm:^7.25.9, @babel/helper-replace-supers@npm:^7.26.5": + version: 7.26.5 + resolution: "@babel/helper-replace-supers@npm:7.26.5" dependencies: - "@babel/helper-member-expression-to-functions": ^7.24.8 - "@babel/helper-optimise-call-expression": ^7.24.7 - "@babel/traverse": ^7.25.0 + "@babel/helper-member-expression-to-functions": ^7.25.9 + "@babel/helper-optimise-call-expression": ^7.25.9 + "@babel/traverse": ^7.26.5 peerDependencies: "@babel/core": ^7.0.0 - checksum: f669fc2487c22d40b808f94b9c3ee41129484d5ef0ba689bdd70f216ff91e10b6b021d2f8cd37e7bdd700235a2a6ae6622526344f064528190383bf661ac65f8 - languageName: node - linkType: hard - -"@babel/helper-simple-access@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/helper-simple-access@npm:7.24.7" - dependencies: - "@babel/traverse": ^7.24.7 - "@babel/types": ^7.24.7 - checksum: ddbf55f9dea1900213f2a1a8500fabfd21c5a20f44dcfa957e4b0d8638c730f88751c77f678644f754f1a1dc73f4eb8b766c300deb45a9daad000e4247957819 + checksum: c5ab31b29c7cc09e30278f8860ecdb873ce6c84b5c08bc5239c369c7c4fe9f0a63cda61b55b7bbd20edb4e5dc32e73087cc3c57d85264834bd191551d1499185 languageName: node linkType: hard -"@babel/helper-skip-transparent-expression-wrappers@npm:^7.20.0, @babel/helper-skip-transparent-expression-wrappers@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/helper-skip-transparent-expression-wrappers@npm:7.24.7" +"@babel/helper-skip-transparent-expression-wrappers@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/helper-skip-transparent-expression-wrappers@npm:7.25.9" dependencies: - "@babel/traverse": ^7.24.7 - "@babel/types": ^7.24.7 - checksum: 11b28fe534ce2b1a67c4d8e51a7b5711a2a0a0cae802f74614eee54cca58c744d9a62f6f60103c41759e81c537d270bfd665bf368a6bea214c6052f2094f8407 - languageName: node - linkType: hard - -"@babel/helper-string-parser@npm:^7.24.8": - version: 7.24.8 - resolution: "@babel/helper-string-parser@npm:7.24.8" - checksum: 39b03c5119216883878655b149148dc4d2e284791e969b19467a9411fccaa33f7a713add98f4db5ed519535f70ad273cdadfd2eb54d47ebbdeac5083351328ce + "@babel/traverse": ^7.25.9 + "@babel/types": ^7.25.9 + checksum: fdbb5248932198bc26daa6abf0d2ac42cab9c2dbb75b7e9f40d425c8f28f09620b886d40e7f9e4e08ffc7aaa2cefe6fc2c44be7c20e81f7526634702fb615bdc languageName: node linkType: hard -"@babel/helper-validator-identifier@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/helper-validator-identifier@npm:7.24.7" - checksum: 6799ab117cefc0ecd35cd0b40ead320c621a298ecac88686a14cffceaac89d80cdb3c178f969861bf5fa5e4f766648f9161ea0752ecfe080d8e89e3147270257 +"@babel/helper-string-parser@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/helper-string-parser@npm:7.25.9" + checksum: 6435ee0849e101681c1849868278b5aee82686ba2c1e27280e5e8aca6233af6810d39f8e4e693d2f2a44a3728a6ccfd66f72d71826a94105b86b731697cdfa99 languageName: node linkType: hard -"@babel/helper-validator-option@npm:^7.24.7, @babel/helper-validator-option@npm:^7.24.8": - version: 7.24.8 - resolution: "@babel/helper-validator-option@npm:7.24.8" - checksum: a52442dfa74be6719c0608fee3225bd0493c4057459f3014681ea1a4643cd38b68ff477fe867c4b356da7330d085f247f0724d300582fa4ab9a02efaf34d107c +"@babel/helper-validator-identifier@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/helper-validator-identifier@npm:7.25.9" + checksum: 5b85918cb1a92a7f3f508ea02699e8d2422fe17ea8e82acd445006c0ef7520fbf48e3dbcdaf7b0a1d571fc3a2715a29719e5226636cb6042e15fe6ed2a590944 languageName: node linkType: hard -"@babel/helper-wrap-function@npm:^7.25.0": - version: 7.25.0 - resolution: "@babel/helper-wrap-function@npm:7.25.0" - dependencies: - "@babel/template": ^7.25.0 - "@babel/traverse": ^7.25.0 - "@babel/types": ^7.25.0 - checksum: 0095b4741704066d1687f9bbd5370bb88c733919e4275e49615f70c180208148ff5f24ab58d186ce92f8f5d28eab034ec6617e9264590cc4744c75302857629c +"@babel/helper-validator-option@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/helper-validator-option@npm:7.25.9" + checksum: 9491b2755948ebbdd68f87da907283698e663b5af2d2b1b02a2765761974b1120d5d8d49e9175b167f16f72748ffceec8c9cf62acfbee73f4904507b246e2b3d languageName: node linkType: hard -"@babel/helpers@npm:^7.25.0": - version: 7.25.6 - resolution: "@babel/helpers@npm:7.25.6" +"@babel/helper-wrap-function@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/helper-wrap-function@npm:7.25.9" dependencies: - "@babel/template": ^7.25.0 - "@babel/types": ^7.25.6 - checksum: 5a548999db82049a5f7ac6de57576b4ed0d386ce07d058151698836ed411eae6230db12535487caeebb68a2ffc964491e8aead62364a5132ab0ae20e8b68e19f + "@babel/template": ^7.25.9 + "@babel/traverse": ^7.25.9 + "@babel/types": ^7.25.9 + checksum: 8ec1701e60ae004415800c4a7a188f5564c73b4e4f3fdf58dd3f34a3feaa9753173f39bbd6d02e7ecc974f48155efc7940e62584435b3092c07728ee46a604ea languageName: node linkType: hard -"@babel/highlight@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/highlight@npm:7.24.7" +"@babel/helpers@npm:^7.26.9": + version: 7.26.9 + resolution: "@babel/helpers@npm:7.26.9" dependencies: - "@babel/helper-validator-identifier": ^7.24.7 - chalk: ^2.4.2 - js-tokens: ^4.0.0 - picocolors: ^1.0.0 - checksum: 5cd3a89f143671c4ac129960024ba678b669e6fc673ce078030f5175002d1d3d52bc10b22c5b916a6faf644b5028e9a4bd2bb264d053d9b05b6a98690f1d46f1 + "@babel/template": ^7.26.9 + "@babel/types": ^7.26.9 + checksum: 06363f8288a24c1cfda03eccd775ac22f79cba319b533cb0e5d0f2a04a33512881cc3f227a4c46324935504fb92999cc4758b69b5e7b3846107eadcb5ee0abca languageName: node linkType: hard -"@babel/parser@npm:^7.1.0, @babel/parser@npm:^7.13.16, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.20.0, @babel/parser@npm:^7.20.7, @babel/parser@npm:^7.23.9, @babel/parser@npm:^7.25.0, @babel/parser@npm:^7.25.6": - version: 7.25.6 - resolution: "@babel/parser@npm:7.25.6" +"@babel/parser@npm:^7.1.0, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.20.0, @babel/parser@npm:^7.20.7, @babel/parser@npm:^7.23.9, @babel/parser@npm:^7.24.7, @babel/parser@npm:^7.25.3, @babel/parser@npm:^7.26.9": + version: 7.26.9 + resolution: "@babel/parser@npm:7.26.9" dependencies: - "@babel/types": ^7.25.6 + "@babel/types": ^7.26.9 bin: parser: ./bin/babel-parser.js - checksum: 85b237ded09ee43cc984493c35f3b1ff8a83e8dbbb8026b8132e692db6567acc5a1659ec928e4baa25499ddd840d7dae9dee3062be7108fe23ec5f94a8066b1e + checksum: 2df965dbf3c67d19dc437412ceef23033b4d39b0dbd7cb498d8ab9ad9e1738338656ee72676199773b37d658edf9f4161cf255515234fed30695d74e73be5514 languageName: node linkType: hard -"@babel/plugin-bugfix-firefox-class-in-computed-class-key@npm:^7.25.3": - version: 7.25.3 - resolution: "@babel/plugin-bugfix-firefox-class-in-computed-class-key@npm:7.25.3" +"@babel/plugin-bugfix-firefox-class-in-computed-class-key@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-bugfix-firefox-class-in-computed-class-key@npm:7.25.9" dependencies: - "@babel/helper-plugin-utils": ^7.24.8 - "@babel/traverse": ^7.25.3 + "@babel/helper-plugin-utils": ^7.25.9 + "@babel/traverse": ^7.25.9 peerDependencies: "@babel/core": ^7.0.0 - checksum: d3dba60f360defe70eb43e35a1b17ea9dd4a99e734249e15be3d5c288019644f96f88d7ff51990118fda0845b4ad50f6d869e0382232b1d8b054d113d4eea7e2 + checksum: b33d37dacf98a9c74f53959999adc37a258057668b62dba557e6865689433c53764673109eaba9102bf73b2ac4db162f0d9b89a6cca6f1b71d12f5908ec11da9 languageName: node linkType: hard -"@babel/plugin-bugfix-safari-class-field-initializer-scope@npm:^7.25.0": - version: 7.25.0 - resolution: "@babel/plugin-bugfix-safari-class-field-initializer-scope@npm:7.25.0" +"@babel/plugin-bugfix-safari-class-field-initializer-scope@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-bugfix-safari-class-field-initializer-scope@npm:7.25.9" dependencies: - "@babel/helper-plugin-utils": ^7.24.8 + "@babel/helper-plugin-utils": ^7.25.9 peerDependencies: "@babel/core": ^7.0.0 - checksum: fd56d1e6435f2c008ca9050ea906ff7eedcbec43f532f2bf2e7e905d8bf75bf5e4295ea9593f060394e2c8e45737266ccbf718050bad2dd7be4e7613c60d1b5b + checksum: d3e14ab1cb9cb50246d20cab9539f2fbd1e7ef1ded73980c8ad7c0561b4d5e0b144d362225f0976d47898e04cbd40f2000e208b0913bd788346cf7791b96af91 languageName: node linkType: hard -"@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@npm:^7.25.0": - version: 7.25.0 - resolution: "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@npm:7.25.0" +"@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@npm:7.25.9" dependencies: - "@babel/helper-plugin-utils": ^7.24.8 + "@babel/helper-plugin-utils": ^7.25.9 peerDependencies: "@babel/core": ^7.0.0 - checksum: 13ed301b108d85867d64226bbc4032b07dd1a23aab68e9e32452c4fe3930f2198bb65bdae9c262c4104bd5e45647bc1830d25d43d356ee9a137edd8d5fab8350 + checksum: a9d1ee3fd100d3eb6799a2f2bbd785296f356c531d75c9369f71541811fa324270258a374db103ce159156d006da2f33370330558d0133e6f7584152c34997ca languageName: node linkType: hard -"@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@npm:7.24.7" +"@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@npm:7.25.9" dependencies: - "@babel/helper-plugin-utils": ^7.24.7 - "@babel/helper-skip-transparent-expression-wrappers": ^7.24.7 - "@babel/plugin-transform-optional-chaining": ^7.24.7 + "@babel/helper-plugin-utils": ^7.25.9 + "@babel/helper-skip-transparent-expression-wrappers": ^7.25.9 + "@babel/plugin-transform-optional-chaining": ^7.25.9 peerDependencies: "@babel/core": ^7.13.0 - checksum: 07b92878ac58a98ea1fdf6a8b4ec3413ba4fa66924e28b694d63ec5b84463123fbf4d7153b56cf3cedfef4a3482c082fe3243c04f8fb2c041b32b0e29b4a9e21 + checksum: 5b298b28e156f64de51cdb03a2c5b80c7f978815ef1026f3ae8b9fc48d28bf0a83817d8fbecb61ef8fb94a7201f62cca5103cc6e7b9e8f28e38f766d7905b378 languageName: node linkType: hard -"@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly@npm:^7.25.0": - version: 7.25.0 - resolution: "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly@npm:7.25.0" +"@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly@npm:7.25.9" dependencies: - "@babel/helper-plugin-utils": ^7.24.8 - "@babel/traverse": ^7.25.0 + "@babel/helper-plugin-utils": ^7.25.9 + "@babel/traverse": ^7.25.9 peerDependencies: "@babel/core": ^7.0.0 - checksum: c8d08b8d6cc71451ad2a50cf7db72ab5b41c1e5e2e4d56cf6837a25a61270abd682c6b8881ab025f11a552d2024b3780519bb051459ebb71c27aed13d9917663 - languageName: node - linkType: hard - -"@babel/plugin-proposal-class-properties@npm:^7.13.0": - version: 7.18.6 - resolution: "@babel/plugin-proposal-class-properties@npm:7.18.6" - dependencies: - "@babel/helper-create-class-features-plugin": ^7.18.6 - "@babel/helper-plugin-utils": ^7.18.6 - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: 49a78a2773ec0db56e915d9797e44fd079ab8a9b2e1716e0df07c92532f2c65d76aeda9543883916b8e0ff13606afeffa67c5b93d05b607bc87653ad18a91422 - languageName: node - linkType: hard - -"@babel/plugin-proposal-export-default-from@npm:^7.0.0": - version: 7.24.7 - resolution: "@babel/plugin-proposal-export-default-from@npm:7.24.7" - dependencies: - "@babel/helper-plugin-utils": ^7.24.7 - "@babel/plugin-syntax-export-default-from": ^7.24.7 - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: 527cd85a73f80b8612ed8817982e08d616c4a159579116e7ae2a95ac0fbc601785ac2fe94185b56e10983be3defef383d33ba77313fed681bc6127538e95460c - languageName: node - linkType: hard - -"@babel/plugin-proposal-nullish-coalescing-operator@npm:^7.13.8": - version: 7.18.6 - resolution: "@babel/plugin-proposal-nullish-coalescing-operator@npm:7.18.6" - dependencies: - "@babel/helper-plugin-utils": ^7.18.6 - "@babel/plugin-syntax-nullish-coalescing-operator": ^7.8.3 - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: 949c9ddcdecdaec766ee610ef98f965f928ccc0361dd87cf9f88cf4896a6ccd62fce063d4494778e50da99dea63d270a1be574a62d6ab81cbe9d85884bf55a7d + checksum: c684593952ab1b40dfa4e64e98a07e7227c6db175c21bd0e6d71d2ad5d240fef4e4a984d56f05a494876542a022244fe1c1098f4116109fd90d06615e8a269b1 languageName: node linkType: hard -"@babel/plugin-proposal-optional-chaining@npm:^7.13.12": - version: 7.21.0 - resolution: "@babel/plugin-proposal-optional-chaining@npm:7.21.0" +"@babel/plugin-proposal-export-default-from@npm:^7.24.7": + version: 7.25.9 + resolution: "@babel/plugin-proposal-export-default-from@npm:7.25.9" dependencies: - "@babel/helper-plugin-utils": ^7.20.2 - "@babel/helper-skip-transparent-expression-wrappers": ^7.20.0 - "@babel/plugin-syntax-optional-chaining": ^7.8.3 + "@babel/helper-plugin-utils": ^7.25.9 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 11c5449e01b18bb8881e8e005a577fa7be2fe5688e2382c8822d51f8f7005342a301a46af7b273b1f5645f9a7b894c428eee8526342038a275ef6ba4c8d8d746 + checksum: 0fb96b1229ed15ecfb09e6bf40be2da249007155a3deca53d319420a4d3c028c884e888c447898cbcdaa079165e045a8317be6a9205bef0041e7333822a40da9 languageName: node linkType: hard @@ -480,7 +411,7 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-syntax-dynamic-import@npm:^7.8.0, @babel/plugin-syntax-dynamic-import@npm:^7.8.3": +"@babel/plugin-syntax-dynamic-import@npm:^7.8.3": version: 7.8.3 resolution: "@babel/plugin-syntax-dynamic-import@npm:7.8.3" dependencies: @@ -491,58 +422,47 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-syntax-export-default-from@npm:^7.0.0, @babel/plugin-syntax-export-default-from@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/plugin-syntax-export-default-from@npm:7.24.7" - dependencies: - "@babel/helper-plugin-utils": ^7.24.7 - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: 5572825e7c2a9d60285c2ef1d3f7ff77965393ed1f1b44b84af981b96cb5f938d630c7bdadf69fe5ebea04bd05934541d2df3fec06d2127c81d69466d1d54649 - languageName: node - linkType: hard - -"@babel/plugin-syntax-export-namespace-from@npm:^7.8.3": - version: 7.8.3 - resolution: "@babel/plugin-syntax-export-namespace-from@npm:7.8.3" +"@babel/plugin-syntax-export-default-from@npm:^7.24.7": + version: 7.25.9 + resolution: "@babel/plugin-syntax-export-default-from@npm:7.25.9" dependencies: - "@babel/helper-plugin-utils": ^7.8.3 + "@babel/helper-plugin-utils": ^7.25.9 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 85740478be5b0de185228e7814451d74ab8ce0a26fcca7613955262a26e99e8e15e9da58f60c754b84515d4c679b590dbd3f2148f0f58025f4ae706f1c5a5d4a + checksum: 8eb254c8050369f3cfac7755230ad9d39a53d1b489e03170684d6b514a0d09ad6001c38e6dfd271a439a8035a57d60b8be7d3dd80f997c6bc5c7e688ed529517 languageName: node linkType: hard -"@babel/plugin-syntax-flow@npm:^7.12.1, @babel/plugin-syntax-flow@npm:^7.18.0, @babel/plugin-syntax-flow@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/plugin-syntax-flow@npm:7.24.7" +"@babel/plugin-syntax-flow@npm:^7.12.1, @babel/plugin-syntax-flow@npm:^7.26.0": + version: 7.26.0 + resolution: "@babel/plugin-syntax-flow@npm:7.26.0" dependencies: - "@babel/helper-plugin-utils": ^7.24.7 + "@babel/helper-plugin-utils": ^7.25.9 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 43b78b5fcdedb2a6d80c3d02a1a564fbfde86b73b442d616a8f318f673caa6ce0151513af5a00fcae42a512f144e70ef259d368b9537ee35d40336a6c895a7d4 + checksum: fdc0d0a7b512e00d933e12cf93c785ea4645a193f4b539230b7601cfaa8c704410199318ce9ea14e5fca7d13e9027822f7d81a7871d3e854df26b6af04cc3c6c languageName: node linkType: hard -"@babel/plugin-syntax-import-assertions@npm:^7.24.7": - version: 7.25.6 - resolution: "@babel/plugin-syntax-import-assertions@npm:7.25.6" +"@babel/plugin-syntax-import-assertions@npm:^7.26.0": + version: 7.26.0 + resolution: "@babel/plugin-syntax-import-assertions@npm:7.26.0" dependencies: - "@babel/helper-plugin-utils": ^7.24.8 + "@babel/helper-plugin-utils": ^7.25.9 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: b3b251ace9f184c2d6369cde686ff01581050cb0796f2ff00ff4021f31cf86270b347df09579f2c0996e999e37e1dddafacec42ed1ef6aae21a265aff947e792 + checksum: b58f2306df4a690ca90b763d832ec05202c50af787158ff8b50cdf3354359710bce2e1eb2b5135fcabf284756ac8eadf09ca74764aa7e76d12a5cac5f6b21e67 languageName: node linkType: hard -"@babel/plugin-syntax-import-attributes@npm:^7.24.7": - version: 7.25.6 - resolution: "@babel/plugin-syntax-import-attributes@npm:7.25.6" +"@babel/plugin-syntax-import-attributes@npm:^7.24.7, @babel/plugin-syntax-import-attributes@npm:^7.26.0": + version: 7.26.0 + resolution: "@babel/plugin-syntax-import-attributes@npm:7.26.0" dependencies: - "@babel/helper-plugin-utils": ^7.24.8 + "@babel/helper-plugin-utils": ^7.25.9 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 3b0928e73e42346e8a65760a3ff853c87ad693cdf11bb335a23e895e0b5b1f0601118521b3aff2a6946488a580a63afb6a5b5686153a7678b4dff0e4e4604dd7 + checksum: c122aa577166c80ee67f75aebebeef4150a132c4d3109d25d7fc058bf802946f883e330f20b78c1d3e3a5ada631c8780c263d2d01b5dbaecc69efefeedd42916 languageName: node linkType: hard @@ -568,14 +488,14 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-syntax-jsx@npm:^7.24.7, @babel/plugin-syntax-jsx@npm:^7.7.2": - version: 7.24.7 - resolution: "@babel/plugin-syntax-jsx@npm:7.24.7" +"@babel/plugin-syntax-jsx@npm:^7.25.9, @babel/plugin-syntax-jsx@npm:^7.7.2": + version: 7.25.9 + resolution: "@babel/plugin-syntax-jsx@npm:7.25.9" dependencies: - "@babel/helper-plugin-utils": ^7.24.7 + "@babel/helper-plugin-utils": ^7.25.9 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 7a5ca629d8ca1e1ee78705a78e58c12920d07ed8006d7e7232b31296a384ff5e41d7b649bde5561196041037bbb9f9715be1d1c20975df87ca204f34ad15b965 + checksum: bb609d1ffb50b58f0c1bac8810d0e46a4f6c922aa171c458f3a19d66ee545d36e782d3bffbbc1fed0dc65a558bdce1caf5279316583c0fff5a2c1658982a8563 languageName: node linkType: hard @@ -590,7 +510,7 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-syntax-nullish-coalescing-operator@npm:^7.0.0, @babel/plugin-syntax-nullish-coalescing-operator@npm:^7.8.3": +"@babel/plugin-syntax-nullish-coalescing-operator@npm:^7.8.3": version: 7.8.3 resolution: "@babel/plugin-syntax-nullish-coalescing-operator@npm:7.8.3" dependencies: @@ -634,7 +554,7 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-syntax-optional-chaining@npm:^7.0.0, @babel/plugin-syntax-optional-chaining@npm:^7.8.3": +"@babel/plugin-syntax-optional-chaining@npm:^7.8.3": version: 7.8.3 resolution: "@babel/plugin-syntax-optional-chaining@npm:7.8.3" dependencies: @@ -667,14 +587,14 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-syntax-typescript@npm:^7.24.7, @babel/plugin-syntax-typescript@npm:^7.7.2": - version: 7.25.4 - resolution: "@babel/plugin-syntax-typescript@npm:7.25.4" +"@babel/plugin-syntax-typescript@npm:^7.25.9, @babel/plugin-syntax-typescript@npm:^7.7.2": + version: 7.25.9 + resolution: "@babel/plugin-syntax-typescript@npm:7.25.9" dependencies: - "@babel/helper-plugin-utils": ^7.24.8 + "@babel/helper-plugin-utils": ^7.25.9 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 9b89b8930cd5983f64251d75c9fcdc17a8dc73837d6de12220ff972888ecff4054a6467cf0c423cad242aa96c0f0564a39a0823073728cc02239b80d13f02230 + checksum: 0e9821e8ba7d660c36c919654e4144a70546942ae184e85b8102f2322451eae102cbfadbcadd52ce077a2b44b400ee52394c616feab7b5b9f791b910e933fd33 languageName: node linkType: hard @@ -690,823 +610,807 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-arrow-functions@npm:^7.0.0, @babel/plugin-transform-arrow-functions@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/plugin-transform-arrow-functions@npm:7.24.7" +"@babel/plugin-transform-arrow-functions@npm:^7.24.7, @babel/plugin-transform-arrow-functions@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-arrow-functions@npm:7.25.9" dependencies: - "@babel/helper-plugin-utils": ^7.24.7 + "@babel/helper-plugin-utils": ^7.25.9 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 707c209b5331c7dc79bd326128c6a6640dbd62a78da1653c844db20c4f36bf7b68454f1bc4d2d051b3fde9136fa291f276ec03a071bb00ee653069ff82f91010 + checksum: c29f081224859483accf55fb4d091db2aac0dcd0d7954bac5ca889030cc498d3f771aa20eb2e9cd8310084ec394d85fa084b97faf09298b6bc9541182b3eb5bb languageName: node linkType: hard -"@babel/plugin-transform-async-generator-functions@npm:^7.24.3, @babel/plugin-transform-async-generator-functions@npm:^7.25.4": - version: 7.25.4 - resolution: "@babel/plugin-transform-async-generator-functions@npm:7.25.4" +"@babel/plugin-transform-async-generator-functions@npm:^7.25.4, @babel/plugin-transform-async-generator-functions@npm:^7.26.8": + version: 7.26.8 + resolution: "@babel/plugin-transform-async-generator-functions@npm:7.26.8" dependencies: - "@babel/helper-plugin-utils": ^7.24.8 - "@babel/helper-remap-async-to-generator": ^7.25.0 - "@babel/plugin-syntax-async-generators": ^7.8.4 - "@babel/traverse": ^7.25.4 + "@babel/helper-plugin-utils": ^7.26.5 + "@babel/helper-remap-async-to-generator": ^7.25.9 + "@babel/traverse": ^7.26.8 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 4235444735a1946f8766fe56564a8134c2c36c73e6cf83b3f2ed5624ebc84ff5979506a6a5b39acdb23aa09d442a6af471710ed408ccce533a2c4d2990b9df6a + checksum: 10424a1bbfbc7ffdb13cef1e832f76bb2d393a9fbfaa1eaa3091a8f6ec3e2ac0b66cf04fca9cb3fb4dbf3d1bd404d72dfce4a3742b4ef21f6271aca7076a65ef languageName: node linkType: hard -"@babel/plugin-transform-async-to-generator@npm:^7.20.0, @babel/plugin-transform-async-to-generator@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/plugin-transform-async-to-generator@npm:7.24.7" +"@babel/plugin-transform-async-to-generator@npm:^7.24.7, @babel/plugin-transform-async-to-generator@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-async-to-generator@npm:7.25.9" dependencies: - "@babel/helper-module-imports": ^7.24.7 - "@babel/helper-plugin-utils": ^7.24.7 - "@babel/helper-remap-async-to-generator": ^7.24.7 + "@babel/helper-module-imports": ^7.25.9 + "@babel/helper-plugin-utils": ^7.25.9 + "@babel/helper-remap-async-to-generator": ^7.25.9 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 13704fb3b83effc868db2b71bfb2c77b895c56cb891954fc362e95e200afd523313b0e7cf04ce02f45b05e76017c5b5fa8070c92613727a35131bb542c253a36 + checksum: b3ad50fb93c171644d501864620ed23952a46648c4df10dc9c62cc9ad08031b66bd272cfdd708faeee07c23b6251b16f29ce0350473e4c79f0c32178d38ce3a6 languageName: node linkType: hard -"@babel/plugin-transform-block-scoped-functions@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/plugin-transform-block-scoped-functions@npm:7.24.7" +"@babel/plugin-transform-block-scoped-functions@npm:^7.26.5": + version: 7.26.5 + resolution: "@babel/plugin-transform-block-scoped-functions@npm:7.26.5" dependencies: - "@babel/helper-plugin-utils": ^7.24.7 + "@babel/helper-plugin-utils": ^7.26.5 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 249cdcbff4e778b177245f9652b014ea4f3cd245d83297f10a7bf6d97790074089aa62bcde8c08eb299c5e68f2faed346b587d3ebac44d625ba9a83a4ee27028 + checksum: f2046c09bf8e588bfb1a6342d0eee733189102cf663ade27adb0130f3865123af5816b40a55ec8d8fa09271b54dfdaf977cd2f8e0b3dc97f18e690188d5a2174 languageName: node linkType: hard -"@babel/plugin-transform-block-scoping@npm:^7.0.0, @babel/plugin-transform-block-scoping@npm:^7.25.0": - version: 7.25.0 - resolution: "@babel/plugin-transform-block-scoping@npm:7.25.0" +"@babel/plugin-transform-block-scoping@npm:^7.25.0, @babel/plugin-transform-block-scoping@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-block-scoping@npm:7.25.9" dependencies: - "@babel/helper-plugin-utils": ^7.24.8 + "@babel/helper-plugin-utils": ^7.25.9 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: b1a8f932f69ad2a47ae3e02b4cedd2a876bfc2ac9cf72a503fd706cdc87272646fe9eed81e068c0fc639647033de29f7fa0c21cddd1da0026f83dbaac97316a8 + checksum: e869500cfb1995e06e64c9608543b56468639809febfcdd6fcf683bc0bf1be2431cacf2981a168a1a14f4766393e37bc9f7c96d25bc5b5f39a64a8a8ad0bf8e0 languageName: node linkType: hard -"@babel/plugin-transform-class-properties@npm:^7.24.1, @babel/plugin-transform-class-properties@npm:^7.25.4": - version: 7.25.4 - resolution: "@babel/plugin-transform-class-properties@npm:7.25.4" +"@babel/plugin-transform-class-properties@npm:^7.24.7, @babel/plugin-transform-class-properties@npm:^7.25.4, @babel/plugin-transform-class-properties@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-class-properties@npm:7.25.9" dependencies: - "@babel/helper-create-class-features-plugin": ^7.25.4 - "@babel/helper-plugin-utils": ^7.24.8 + "@babel/helper-create-class-features-plugin": ^7.25.9 + "@babel/helper-plugin-utils": ^7.25.9 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: b73f7d968639c6c2dfc13f4c5a8fe45cefd260f0faa7890ae12e65d41211072544ff5e128c8b61a86887b29ffd3df8422dbdfbf61648488e71d4bb599c41f4a5 + checksum: a8d69e2c285486b63f49193cbcf7a15e1d3a5f632c1c07d7a97f65306df7f554b30270b7378dde143f8b557d1f8f6336c643377943dec8ec405e4cd11e90b9ea languageName: node linkType: hard -"@babel/plugin-transform-class-static-block@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/plugin-transform-class-static-block@npm:7.24.7" +"@babel/plugin-transform-class-static-block@npm:^7.26.0": + version: 7.26.0 + resolution: "@babel/plugin-transform-class-static-block@npm:7.26.0" dependencies: - "@babel/helper-create-class-features-plugin": ^7.24.7 - "@babel/helper-plugin-utils": ^7.24.7 - "@babel/plugin-syntax-class-static-block": ^7.14.5 + "@babel/helper-create-class-features-plugin": ^7.25.9 + "@babel/helper-plugin-utils": ^7.25.9 peerDependencies: "@babel/core": ^7.12.0 - checksum: 324049263504f18416f1c3e24033baebfafd05480fdd885c8ebe6f2b415b0fc8e0b98d719360f9e30743cc78ac387fabc0b3c6606d2b54135756ffb92963b382 + checksum: d779d4d3a6f8d363f67fcbd928c15baa72be8d3b86c6d05e0300b50e66e2c4be9e99398b803d13064bc79d90ae36e37a505e3dc8af11904459804dec07660246 languageName: node linkType: hard -"@babel/plugin-transform-classes@npm:^7.0.0, @babel/plugin-transform-classes@npm:^7.25.4": - version: 7.25.4 - resolution: "@babel/plugin-transform-classes@npm:7.25.4" +"@babel/plugin-transform-classes@npm:^7.25.4, @babel/plugin-transform-classes@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-classes@npm:7.25.9" dependencies: - "@babel/helper-annotate-as-pure": ^7.24.7 - "@babel/helper-compilation-targets": ^7.25.2 - "@babel/helper-plugin-utils": ^7.24.8 - "@babel/helper-replace-supers": ^7.25.0 - "@babel/traverse": ^7.25.4 + "@babel/helper-annotate-as-pure": ^7.25.9 + "@babel/helper-compilation-targets": ^7.25.9 + "@babel/helper-plugin-utils": ^7.25.9 + "@babel/helper-replace-supers": ^7.25.9 + "@babel/traverse": ^7.25.9 globals: ^11.1.0 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 0bf20e46eeb691bd60cee5d1b01950fc37accec88018ecace25099f7c8d8509c1ac54d11b8caf9f2157c6945969520642a3bc421159c1a14e80224dc9a7611de + checksum: d12584f72125314cc0fa8c77586ece2888d677788ac75f7393f5da574dfe4e45a556f7e3488fab29c8777ab3e5856d7a2d79f6df02834083aaa9d766440e3c68 languageName: node linkType: hard -"@babel/plugin-transform-computed-properties@npm:^7.0.0, @babel/plugin-transform-computed-properties@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/plugin-transform-computed-properties@npm:7.24.7" +"@babel/plugin-transform-computed-properties@npm:^7.24.7, @babel/plugin-transform-computed-properties@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-computed-properties@npm:7.25.9" dependencies: - "@babel/helper-plugin-utils": ^7.24.7 - "@babel/template": ^7.24.7 + "@babel/helper-plugin-utils": ^7.25.9 + "@babel/template": ^7.25.9 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 0cf8c1b1e4ea57dec8d4612460d84fd4cdbf71a7499bb61ee34632cf89018a59eee818ffca88a8d99ee7057c20a4257044d7d463fda6daef9bf1db9fa81563cb + checksum: f77fa4bc0c1e0031068172df28852388db6b0f91c268d037905f459607cf1e8ebab00015f9f179f4ad96e11c5f381b635cd5dc4e147a48c7ac79d195ae7542de languageName: node linkType: hard -"@babel/plugin-transform-destructuring@npm:^7.20.0, @babel/plugin-transform-destructuring@npm:^7.24.8": - version: 7.24.8 - resolution: "@babel/plugin-transform-destructuring@npm:7.24.8" +"@babel/plugin-transform-destructuring@npm:^7.24.8, @babel/plugin-transform-destructuring@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-destructuring@npm:7.25.9" dependencies: - "@babel/helper-plugin-utils": ^7.24.8 + "@babel/helper-plugin-utils": ^7.25.9 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 0b4bd3d608979a1e5bd97d9d42acd5ad405c7fffa61efac4c7afd8e86ea6c2d91ab2d94b6a98d63919571363fe76e0b03c4ff161f0f60241b895842596e4a999 + checksum: 965f63077a904828f4adee91393f83644098533442b8217d5a135c23a759a4c252c714074c965676a60d2c33f610f579a4eeb59ffd783724393af61c0ca45fef languageName: node linkType: hard -"@babel/plugin-transform-dotall-regex@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/plugin-transform-dotall-regex@npm:7.24.7" +"@babel/plugin-transform-dotall-regex@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-dotall-regex@npm:7.25.9" dependencies: - "@babel/helper-create-regexp-features-plugin": ^7.24.7 - "@babel/helper-plugin-utils": ^7.24.7 + "@babel/helper-create-regexp-features-plugin": ^7.25.9 + "@babel/helper-plugin-utils": ^7.25.9 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 67b10fc6abb1f61f0e765288eb4c6d63d1d0f9fc0660e69f6f2170c56fa16bc74e49857afc644beda112b41771cd90cf52df0940d11e97e52617c77c7dcff171 + checksum: 8bdf1bb9e6e3a2cc8154ae88a3872faa6dc346d6901994505fb43ac85f858728781f1219f40b67f7bb0687c507450236cb7838ac68d457e65637f98500aa161b languageName: node linkType: hard -"@babel/plugin-transform-duplicate-keys@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/plugin-transform-duplicate-keys@npm:7.24.7" +"@babel/plugin-transform-duplicate-keys@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-duplicate-keys@npm:7.25.9" dependencies: - "@babel/helper-plugin-utils": ^7.24.7 + "@babel/helper-plugin-utils": ^7.25.9 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: d1da2ff85ecb56a63f4ccfd9dc9ae69400d85f0dadf44ecddd9e71c6e5c7a9178e74e3a9637555f415a2bb14551e563f09f98534ab54f53d25e8439fdde6ba2d + checksum: b553eebc328797ead6be5ba5bdaf2f1222cea8a5bd33fb4ed625975d4f9b510bfb0d688d97e314cd4b4a48b279bea7b3634ad68c1b41ee143c3082db0ae74037 languageName: node linkType: hard -"@babel/plugin-transform-duplicate-named-capturing-groups-regex@npm:^7.25.0": - version: 7.25.0 - resolution: "@babel/plugin-transform-duplicate-named-capturing-groups-regex@npm:7.25.0" +"@babel/plugin-transform-duplicate-named-capturing-groups-regex@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-duplicate-named-capturing-groups-regex@npm:7.25.9" dependencies: - "@babel/helper-create-regexp-features-plugin": ^7.25.0 - "@babel/helper-plugin-utils": ^7.24.8 + "@babel/helper-create-regexp-features-plugin": ^7.25.9 + "@babel/helper-plugin-utils": ^7.25.9 peerDependencies: "@babel/core": ^7.0.0 - checksum: 608d6b0e77341189508880fd1a9f605a38d0803dd6f678ea3920ab181b17b377f6d5221ae8cf0104c7a044d30d4ddb0366bd064447695671d78457a656bb264f + checksum: f7233cf596be8c6843d31951afaf2464a62a610cb89c72c818c044765827fab78403ab8a7d3a6386f838c8df574668e2a48f6c206b1d7da965aff9c6886cb8e6 languageName: node linkType: hard -"@babel/plugin-transform-dynamic-import@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/plugin-transform-dynamic-import@npm:7.24.7" +"@babel/plugin-transform-dynamic-import@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-dynamic-import@npm:7.25.9" dependencies: - "@babel/helper-plugin-utils": ^7.24.7 - "@babel/plugin-syntax-dynamic-import": ^7.8.3 + "@babel/helper-plugin-utils": ^7.25.9 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 776509ff62ab40c12be814a342fc56a5cc09b91fb63032b2633414b635875fd7da03734657be0f6db2891fe6e3033b75d5ddb6f2baabd1a02e4443754a785002 + checksum: aaca1ccda819be9b2b85af47ba08ddd2210ff2dbea222f26e4cd33f97ab020884bf81a66197e50872721e9daf36ceb5659502c82199884ea74d5d75ecda5c58b languageName: node linkType: hard -"@babel/plugin-transform-exponentiation-operator@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/plugin-transform-exponentiation-operator@npm:7.24.7" +"@babel/plugin-transform-exponentiation-operator@npm:^7.26.3": + version: 7.26.3 + resolution: "@babel/plugin-transform-exponentiation-operator@npm:7.26.3" dependencies: - "@babel/helper-builder-binary-assignment-operator-visitor": ^7.24.7 - "@babel/helper-plugin-utils": ^7.24.7 + "@babel/helper-plugin-utils": ^7.25.9 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 23c84a23eb56589fdd35a3540f9a1190615be069110a2270865223c03aee3ba4e0fc68fe14850800cf36f0712b26e4964d3026235261f58f0405a29fe8dac9b1 + checksum: b369ffad07e02e259c43a09d309a5ca86cb9da6b43b1df6256463a810b172cedc4254742605eec0fc2418371c3f7430430f5abd36f21717281e79142308c13ba languageName: node linkType: hard -"@babel/plugin-transform-export-namespace-from@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/plugin-transform-export-namespace-from@npm:7.24.7" +"@babel/plugin-transform-export-namespace-from@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-export-namespace-from@npm:7.25.9" dependencies: - "@babel/helper-plugin-utils": ^7.24.7 - "@babel/plugin-syntax-export-namespace-from": ^7.8.3 + "@babel/helper-plugin-utils": ^7.25.9 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 3bd3a10038f10ae0dea1ee42137f3edcf7036b5e9e570a0d1cbd0865f03658990c6c2d84fa2475f87a754e7dc5b46766c16f7ce5c9b32c3040150b6a21233a80 + checksum: 4dfe8df86c5b1d085d591290874bb2d78a9063090d71567ed657a418010ad333c3f48af2c974b865f53bbb718987a065f89828d43279a7751db1a56c9229078d languageName: node linkType: hard -"@babel/plugin-transform-flow-strip-types@npm:^7.20.0, @babel/plugin-transform-flow-strip-types@npm:^7.24.7": - version: 7.25.2 - resolution: "@babel/plugin-transform-flow-strip-types@npm:7.25.2" +"@babel/plugin-transform-flow-strip-types@npm:^7.25.2, @babel/plugin-transform-flow-strip-types@npm:^7.25.9": + version: 7.26.5 + resolution: "@babel/plugin-transform-flow-strip-types@npm:7.26.5" dependencies: - "@babel/helper-plugin-utils": ^7.24.8 - "@babel/plugin-syntax-flow": ^7.24.7 + "@babel/helper-plugin-utils": ^7.26.5 + "@babel/plugin-syntax-flow": ^7.26.0 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 9f7b96cbd374077eaf04b59e468976d2e89ec353807d7ac28f129f686945447df92aeb5b60acf906f3ec0f9ebef5d9f88735c7aa39af97033a6ab96c79c9a909 + checksum: a15ae76aea55f1801a5c8ebdfdd0e4616f256ca1eeb504b0781120242aae5a2174439a084bacd2b9e3e83d2a8463cf10c2a8c9f0f0504ded21144297c2b4a380 languageName: node linkType: hard -"@babel/plugin-transform-for-of@npm:^7.0.0, @babel/plugin-transform-for-of@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/plugin-transform-for-of@npm:7.24.7" +"@babel/plugin-transform-for-of@npm:^7.24.7, @babel/plugin-transform-for-of@npm:^7.26.9": + version: 7.26.9 + resolution: "@babel/plugin-transform-for-of@npm:7.26.9" dependencies: - "@babel/helper-plugin-utils": ^7.24.7 - "@babel/helper-skip-transparent-expression-wrappers": ^7.24.7 + "@babel/helper-plugin-utils": ^7.26.5 + "@babel/helper-skip-transparent-expression-wrappers": ^7.25.9 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: a53b42dc93ab4b7d1ebd3c695b52be22b3d592f6a3dbdb3dc2fea2c8e0a7e1508fe919864c455cde552aec44ce7518625fccbb70c7063373ca228d884f4f49ea + checksum: 361323cfc1d9e9dc0bf0d68326b5e7f4da5b8a8be8931f6cacda749d39b88ee1b0f9b4d8b771a5a4d52bb881a90da97950c8a9e6fb47f2c9db11d91f6351768e languageName: node linkType: hard -"@babel/plugin-transform-function-name@npm:^7.0.0, @babel/plugin-transform-function-name@npm:^7.25.1": - version: 7.25.1 - resolution: "@babel/plugin-transform-function-name@npm:7.25.1" +"@babel/plugin-transform-function-name@npm:^7.25.1, @babel/plugin-transform-function-name@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-function-name@npm:7.25.9" dependencies: - "@babel/helper-compilation-targets": ^7.24.8 - "@babel/helper-plugin-utils": ^7.24.8 - "@babel/traverse": ^7.25.1 + "@babel/helper-compilation-targets": ^7.25.9 + "@babel/helper-plugin-utils": ^7.25.9 + "@babel/traverse": ^7.25.9 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 743f3ea03bbc5a90944849d5a880b6bd9243dddbde581a46952da76e53a0b74c1e2424133fe8129d7a152c1f8c872bcd27e0b6728d7caadabd1afa7bb892e1e0 + checksum: a8d7c8d019a6eb57eab5ca1be3e3236f175557d55b1f3b11f8ad7999e3fbb1cf37905fd8cb3a349bffb4163a558e9f33b63f631597fdc97c858757deac1b2fd7 languageName: node linkType: hard -"@babel/plugin-transform-json-strings@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/plugin-transform-json-strings@npm:7.24.7" +"@babel/plugin-transform-json-strings@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-json-strings@npm:7.25.9" dependencies: - "@babel/helper-plugin-utils": ^7.24.7 - "@babel/plugin-syntax-json-strings": ^7.8.3 + "@babel/helper-plugin-utils": ^7.25.9 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 88874d0b7a1ddea66c097fc0abb68801ffae194468aa44b828dde9a0e20ac5d8647943793de86092eabaa2911c96f67a6b373793d4bb9c932ef81b2711c06c2e + checksum: e2498d84761cfd05aaea53799933d55af309c9d6204e66b38778792d171e4d1311ad34f334259a3aa3407dd0446f6bd3e390a1fcb8ce2e42fe5aabed0e41bee1 languageName: node linkType: hard -"@babel/plugin-transform-literals@npm:^7.0.0, @babel/plugin-transform-literals@npm:^7.25.2": - version: 7.25.2 - resolution: "@babel/plugin-transform-literals@npm:7.25.2" +"@babel/plugin-transform-literals@npm:^7.25.2, @babel/plugin-transform-literals@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-literals@npm:7.25.9" dependencies: - "@babel/helper-plugin-utils": ^7.24.8 + "@babel/helper-plugin-utils": ^7.25.9 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 70c9bb40e377a306bd8f500899fb72127e527517914466e95dc6bb53fa7a0f51479db244a54a771b5780fc1eab488fedd706669bf11097b81a23c81ab7423eb1 + checksum: 3cca75823a38aab599bc151b0fa4d816b5e1b62d6e49c156aa90436deb6e13649f5505973151a10418b64f3f9d1c3da53e38a186402e0ed7ad98e482e70c0c14 languageName: node linkType: hard -"@babel/plugin-transform-logical-assignment-operators@npm:^7.24.1, @babel/plugin-transform-logical-assignment-operators@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/plugin-transform-logical-assignment-operators@npm:7.24.7" +"@babel/plugin-transform-logical-assignment-operators@npm:^7.24.7, @babel/plugin-transform-logical-assignment-operators@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-logical-assignment-operators@npm:7.25.9" dependencies: - "@babel/helper-plugin-utils": ^7.24.7 - "@babel/plugin-syntax-logical-assignment-operators": ^7.10.4 + "@babel/helper-plugin-utils": ^7.25.9 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 3367ce0be243704dc6fce23e86a592c4380f01998ee5dd9f94c54b1ef7b971ac6f8a002901eb51599ac6cbdc0d067af8d1a720224fca1c40fde8bb8aab804aac + checksum: 8c6febb4ac53852314d28b5e2c23d5dbbff7bf1e57d61f9672e0d97531ef7778b3f0ad698dcf1179f5486e626c77127508916a65eb846a89e98a92f70ed3537b languageName: node linkType: hard -"@babel/plugin-transform-member-expression-literals@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/plugin-transform-member-expression-literals@npm:7.24.7" +"@babel/plugin-transform-member-expression-literals@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-member-expression-literals@npm:7.25.9" dependencies: - "@babel/helper-plugin-utils": ^7.24.7 + "@babel/helper-plugin-utils": ^7.25.9 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 2720c57aa3bf70576146ba7d6ea03227f4611852122d76d237924f7b008dafc952e6ae61a19e5024f26c665f44384bbd378466f01b6bd1305b3564a3b7fb1a5d + checksum: db92041ae87b8f59f98b50359e0bb172480f6ba22e5e76b13bdfe07122cbf0daa9cd8ad2e78dcb47939938fed88ad57ab5989346f64b3a16953fc73dea3a9b1f languageName: node linkType: hard -"@babel/plugin-transform-modules-amd@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/plugin-transform-modules-amd@npm:7.24.7" +"@babel/plugin-transform-modules-amd@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-modules-amd@npm:7.25.9" dependencies: - "@babel/helper-module-transforms": ^7.24.7 - "@babel/helper-plugin-utils": ^7.24.7 + "@babel/helper-module-transforms": ^7.25.9 + "@babel/helper-plugin-utils": ^7.25.9 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: f1dd0fb2f46c0f8f21076b8c7ccd5b33a85ce6dcb31518ea4c648d9a5bb2474cd4bd87c9b1b752e68591e24b022e334ba0d07631fef2b6b4d8a4b85cf3d581f5 + checksum: baad1f6fd0e0d38e9a9c1086a06abdc014c4c653fd452337cadfe23fb5bd8bf4368d1bc433a5ac8e6421bc0732ebb7c044cf3fb39c1b7ebe967d66e26c4e5cec languageName: node linkType: hard -"@babel/plugin-transform-modules-commonjs@npm:^7.0.0, @babel/plugin-transform-modules-commonjs@npm:^7.13.8, @babel/plugin-transform-modules-commonjs@npm:^7.24.7, @babel/plugin-transform-modules-commonjs@npm:^7.24.8": - version: 7.24.8 - resolution: "@babel/plugin-transform-modules-commonjs@npm:7.24.8" +"@babel/plugin-transform-modules-commonjs@npm:^7.24.7, @babel/plugin-transform-modules-commonjs@npm:^7.24.8, @babel/plugin-transform-modules-commonjs@npm:^7.25.9, @babel/plugin-transform-modules-commonjs@npm:^7.26.3": + version: 7.26.3 + resolution: "@babel/plugin-transform-modules-commonjs@npm:7.26.3" dependencies: - "@babel/helper-module-transforms": ^7.24.8 - "@babel/helper-plugin-utils": ^7.24.8 - "@babel/helper-simple-access": ^7.24.7 + "@babel/helper-module-transforms": ^7.26.0 + "@babel/helper-plugin-utils": ^7.25.9 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: a4cf95b1639c33382064b44558f73ee5fac023f2a94d16e549d2bb55ceebd5cbc10fcddd505d08cd5bc97f5a64af9fd155512358b7dcf7b1a0082e8945cf21c5 + checksum: 0ac9aa4e5fe9fe34b58ee174881631e5e1c89eee5b1ebfd1147934686be92fc5fbfdc11119f0b607b3743d36a1cbcb7c36f18e0dd4424d6d7b749b1b9a18808a languageName: node linkType: hard -"@babel/plugin-transform-modules-systemjs@npm:^7.25.0": - version: 7.25.0 - resolution: "@babel/plugin-transform-modules-systemjs@npm:7.25.0" +"@babel/plugin-transform-modules-systemjs@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-modules-systemjs@npm:7.25.9" dependencies: - "@babel/helper-module-transforms": ^7.25.0 - "@babel/helper-plugin-utils": ^7.24.8 - "@babel/helper-validator-identifier": ^7.24.7 - "@babel/traverse": ^7.25.0 + "@babel/helper-module-transforms": ^7.25.9 + "@babel/helper-plugin-utils": ^7.25.9 + "@babel/helper-validator-identifier": ^7.25.9 + "@babel/traverse": ^7.25.9 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: fe673bec08564e491847324bb80a1e6edfb229f5c37e58a094d51e95306e7b098e1d130fc43e992d22debd93b9beac74441ffc3f6ea5d78f6b2535896efa0728 + checksum: bf446202f372ba92dc0db32b24b56225b6e3ad3b227e31074de8b86fdec01c273ae2536873e38dbe3ceb1cd0894209343adeaa37df208e3fa88c0c7dffec7924 languageName: node linkType: hard -"@babel/plugin-transform-modules-umd@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/plugin-transform-modules-umd@npm:7.24.7" +"@babel/plugin-transform-modules-umd@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-modules-umd@npm:7.25.9" dependencies: - "@babel/helper-module-transforms": ^7.24.7 - "@babel/helper-plugin-utils": ^7.24.7 + "@babel/helper-module-transforms": ^7.25.9 + "@babel/helper-plugin-utils": ^7.25.9 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 9ff1c464892efe042952ba778468bda6131b196a2729615bdcc3f24cdc94014f016a4616ee5643c5845bade6ba698f386833e61056d7201314b13a7fd69fac88 + checksum: 946db66be5f04ab9ee56c424b00257276ec094aa2f148508927e6085239f76b00304fa1e33026d29eccdbe312efea15ca3d92e74a12689d7f0cdd9a7ba1a6c54 languageName: node linkType: hard -"@babel/plugin-transform-named-capturing-groups-regex@npm:^7.0.0, @babel/plugin-transform-named-capturing-groups-regex@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/plugin-transform-named-capturing-groups-regex@npm:7.24.7" +"@babel/plugin-transform-named-capturing-groups-regex@npm:^7.24.7, @babel/plugin-transform-named-capturing-groups-regex@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-named-capturing-groups-regex@npm:7.25.9" dependencies: - "@babel/helper-create-regexp-features-plugin": ^7.24.7 - "@babel/helper-plugin-utils": ^7.24.7 + "@babel/helper-create-regexp-features-plugin": ^7.25.9 + "@babel/helper-plugin-utils": ^7.25.9 peerDependencies: "@babel/core": ^7.0.0 - checksum: f1c6c7b5d60a86b6d7e4dd098798e1d393d55e993a0b57a73b53640c7a94985b601a96bdacee063f809a9a700bcea3a2ff18e98fa561554484ac56b761d774bd + checksum: 434346ba05cf74e3f4704b3bdd439287b95cd2a8676afcdc607810b8c38b6f4798cd69c1419726b2e4c7204e62e4a04d31b0360e91ca57a930521c9211e07789 languageName: node linkType: hard -"@babel/plugin-transform-new-target@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/plugin-transform-new-target@npm:7.24.7" +"@babel/plugin-transform-new-target@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-new-target@npm:7.25.9" dependencies: - "@babel/helper-plugin-utils": ^7.24.7 + "@babel/helper-plugin-utils": ^7.25.9 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 3cb94cd1076b270f768f91fdcf9dd2f6d487f8dbfff3df7ca8d07b915900b86d02769a35ba1407d16fe49499012c8f055e1741299e2c880798b953d942a8fa1b + checksum: f8113539919aafce52f07b2bd182c771a476fe1d5d96d813460b33a16f173f038929369c595572cadc1f7bd8cb816ce89439d056e007770ddd7b7a0878e7895f languageName: node linkType: hard -"@babel/plugin-transform-nullish-coalescing-operator@npm:^7.24.1, @babel/plugin-transform-nullish-coalescing-operator@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/plugin-transform-nullish-coalescing-operator@npm:7.24.7" +"@babel/plugin-transform-nullish-coalescing-operator@npm:^7.24.7, @babel/plugin-transform-nullish-coalescing-operator@npm:^7.26.6": + version: 7.26.6 + resolution: "@babel/plugin-transform-nullish-coalescing-operator@npm:7.26.6" dependencies: - "@babel/helper-plugin-utils": ^7.24.7 - "@babel/plugin-syntax-nullish-coalescing-operator": ^7.8.3 + "@babel/helper-plugin-utils": ^7.26.5 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 4a9221356401d87762afbc37a9e8e764afc2daf09c421117537820f8cfbed6876888372ad3a7bcfae2d45c95f026651f050ab4020b777be31d3ffb00908dbdd3 + checksum: 752837d532b85c41f6bb868e83809605f513bc9a3b8e88ac3d43757c9bf839af4f246874c1c6d6902bb2844d355efccae602c3856098911f8abdd603672f8379 languageName: node linkType: hard -"@babel/plugin-transform-numeric-separator@npm:^7.24.1, @babel/plugin-transform-numeric-separator@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/plugin-transform-numeric-separator@npm:7.24.7" +"@babel/plugin-transform-numeric-separator@npm:^7.24.7, @babel/plugin-transform-numeric-separator@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-numeric-separator@npm:7.25.9" dependencies: - "@babel/helper-plugin-utils": ^7.24.7 - "@babel/plugin-syntax-numeric-separator": ^7.10.4 + "@babel/helper-plugin-utils": ^7.25.9 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 561b5f1d08b2c3f92ce849f092751558b5e6cfeb7eb55c79e7375c34dd9c3066dce5e630bb439affef6adcf202b6cbcaaa23870070276fa5bb429c8f5b8c7514 + checksum: 0528ef041ed88e8c3f51624ee87b8182a7f246fe4013f0572788e0727d20795b558f2b82e3989b5dd416cbd339500f0d88857de41b6d3b6fdacb1d5344bcc5b1 languageName: node linkType: hard -"@babel/plugin-transform-object-rest-spread@npm:^7.24.5, @babel/plugin-transform-object-rest-spread@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/plugin-transform-object-rest-spread@npm:7.24.7" +"@babel/plugin-transform-object-rest-spread@npm:^7.24.7, @babel/plugin-transform-object-rest-spread@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-object-rest-spread@npm:7.25.9" dependencies: - "@babel/helper-compilation-targets": ^7.24.7 - "@babel/helper-plugin-utils": ^7.24.7 - "@babel/plugin-syntax-object-rest-spread": ^7.8.3 - "@babel/plugin-transform-parameters": ^7.24.7 + "@babel/helper-compilation-targets": ^7.25.9 + "@babel/helper-plugin-utils": ^7.25.9 + "@babel/plugin-transform-parameters": ^7.25.9 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 169d257b9800c13e1feb4c37fb05dae84f702e58b342bb76e19e82e6692b7b5337c9923ee89e3916a97c0dd04a3375bdeca14f5e126f110bbacbeb46d1886ca2 + checksum: a8ff73e1c46a03056b3a2236bafd6b3a4b83da93afe7ee24a50d0a8088150bf85bc5e5977daa04e66ff5fb7613d02d63ad49b91ebb64cf3f3022598d722e3a7a languageName: node linkType: hard -"@babel/plugin-transform-object-super@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/plugin-transform-object-super@npm:7.24.7" +"@babel/plugin-transform-object-super@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-object-super@npm:7.25.9" dependencies: - "@babel/helper-plugin-utils": ^7.24.7 - "@babel/helper-replace-supers": ^7.24.7 + "@babel/helper-plugin-utils": ^7.25.9 + "@babel/helper-replace-supers": ^7.25.9 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: f71e607a830ee50a22fa1a2686524d3339440cf9dea63032f6efbd865cfe4e35000e1e3f3492459e5c986f7c0c07dc36938bf3ce61fc9ba5f8ab732d0b64ab37 + checksum: 1817b5d8b80e451ae1ad9080cca884f4f16df75880a158947df76a2ed8ab404d567a7dce71dd8051ef95f90fbe3513154086a32aba55cc76027f6cbabfbd7f98 languageName: node linkType: hard -"@babel/plugin-transform-optional-catch-binding@npm:^7.24.1, @babel/plugin-transform-optional-catch-binding@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/plugin-transform-optional-catch-binding@npm:7.24.7" +"@babel/plugin-transform-optional-catch-binding@npm:^7.24.7, @babel/plugin-transform-optional-catch-binding@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-optional-catch-binding@npm:7.25.9" dependencies: - "@babel/helper-plugin-utils": ^7.24.7 - "@babel/plugin-syntax-optional-catch-binding": ^7.8.3 + "@babel/helper-plugin-utils": ^7.25.9 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 7229f3a5a4facaab40f4fdfc7faabc157dc38a67d66bed7936599f4bc509e0bff636f847ac2aa45294881fce9cf8a0a460b85d2a465b7b977de9739fce9b18f6 + checksum: b46a8d1e91829f3db5c252583eb00d05a779b4660abeea5500fda0f8ffa3584fd18299443c22f7fddf0ed9dfdb73c782c43b445dc468d4f89803f2356963b406 languageName: node linkType: hard -"@babel/plugin-transform-optional-chaining@npm:^7.24.5, @babel/plugin-transform-optional-chaining@npm:^7.24.7, @babel/plugin-transform-optional-chaining@npm:^7.24.8": - version: 7.24.8 - resolution: "@babel/plugin-transform-optional-chaining@npm:7.24.8" +"@babel/plugin-transform-optional-chaining@npm:^7.24.7, @babel/plugin-transform-optional-chaining@npm:^7.24.8, @babel/plugin-transform-optional-chaining@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-optional-chaining@npm:7.25.9" dependencies: - "@babel/helper-plugin-utils": ^7.24.8 - "@babel/helper-skip-transparent-expression-wrappers": ^7.24.7 - "@babel/plugin-syntax-optional-chaining": ^7.8.3 + "@babel/helper-plugin-utils": ^7.25.9 + "@babel/helper-skip-transparent-expression-wrappers": ^7.25.9 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 45e55e3a2fffb89002d3f89aef59c141610f23b60eee41e047380bffc40290b59f64fc649aa7ec5281f73d41b2065410d788acc6afaad2a9f44cad6e8af04442 + checksum: f1642a7094456067e82b176e1e9fd426fda7ed9df54cb6d10109fc512b622bf4b3c83acc5875125732b8622565107fdbe2d60fe3ec8685e1d1c22c38c1b57782 languageName: node linkType: hard -"@babel/plugin-transform-parameters@npm:^7.0.0, @babel/plugin-transform-parameters@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/plugin-transform-parameters@npm:7.24.7" +"@babel/plugin-transform-parameters@npm:^7.24.7, @babel/plugin-transform-parameters@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-parameters@npm:7.25.9" dependencies: - "@babel/helper-plugin-utils": ^7.24.7 + "@babel/helper-plugin-utils": ^7.25.9 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: ab534b03ac2eff94bc79342b8f39a4584666f5305a6c63c1964afda0b1b004e6b861e49d1683548030defe248e3590d3ff6338ee0552cb90c064f7e1479968c3 + checksum: d7ba2a7d05edbc85aed741289b0ff3d6289a1c25d82ac4be32c565f88a66391f46631aad59ceeed40824037f7eeaa7a0de1998db491f50e65a565cd964f78786 languageName: node linkType: hard -"@babel/plugin-transform-private-methods@npm:^7.22.5, @babel/plugin-transform-private-methods@npm:^7.25.4": - version: 7.25.4 - resolution: "@babel/plugin-transform-private-methods@npm:7.25.4" +"@babel/plugin-transform-private-methods@npm:^7.24.7, @babel/plugin-transform-private-methods@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-private-methods@npm:7.25.9" dependencies: - "@babel/helper-create-class-features-plugin": ^7.25.4 - "@babel/helper-plugin-utils": ^7.24.8 + "@babel/helper-create-class-features-plugin": ^7.25.9 + "@babel/helper-plugin-utils": ^7.25.9 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: cb1dabfc03e2977990263d65bc8f43a9037dffbb5d9a5f825c00d05447ff68015099408c1531d9dd88f18a41a90f5062dc48f3a1d52b415d2d2ee4827dedff09 + checksum: 6e3671b352c267847c53a170a1937210fa8151764d70d25005e711ef9b21969aaf422acc14f9f7fb86bc0e4ec43e7aefcc0ad9196ae02d262ec10f509f126a58 languageName: node linkType: hard -"@babel/plugin-transform-private-property-in-object@npm:^7.22.11, @babel/plugin-transform-private-property-in-object@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/plugin-transform-private-property-in-object@npm:7.24.7" +"@babel/plugin-transform-private-property-in-object@npm:^7.24.7, @babel/plugin-transform-private-property-in-object@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-private-property-in-object@npm:7.25.9" dependencies: - "@babel/helper-annotate-as-pure": ^7.24.7 - "@babel/helper-create-class-features-plugin": ^7.24.7 - "@babel/helper-plugin-utils": ^7.24.7 - "@babel/plugin-syntax-private-property-in-object": ^7.14.5 + "@babel/helper-annotate-as-pure": ^7.25.9 + "@babel/helper-create-class-features-plugin": ^7.25.9 + "@babel/helper-plugin-utils": ^7.25.9 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 8cee9473095305cc787bb653fd681719b49363281feabf677db8a552e8e41c94441408055d7e5fd5c7d41b315e634fa70b145ad0c7c54456216049df4ed57350 + checksum: 9ce3e983fea9b9ba677c192aa065c0b42ebdc7774be4c02135df09029ad92a55c35b004650c75952cb64d650872ed18f13ab64422c6fc891d06333762caa8a0a languageName: node linkType: hard -"@babel/plugin-transform-property-literals@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/plugin-transform-property-literals@npm:7.24.7" +"@babel/plugin-transform-property-literals@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-property-literals@npm:7.25.9" dependencies: - "@babel/helper-plugin-utils": ^7.24.7 + "@babel/helper-plugin-utils": ^7.25.9 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 9aeefc3aab6c6bf9d1fae1cf3a2d38c7d886fd3c6c81b7c608c477f5758aee2e7abf52f32724310fe861da61af934ee2508b78a5b5f234b9740c9134e1c14437 + checksum: 436046ab07d54a9b44a384eeffec701d4e959a37a7547dda72e069e751ca7ff753d1782a8339e354b97c78a868b49ea97bf41bf5a44c6d7a3c0a05ad40eeb49c languageName: node linkType: hard -"@babel/plugin-transform-react-display-name@npm:^7.0.0, @babel/plugin-transform-react-display-name@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/plugin-transform-react-display-name@npm:7.24.7" +"@babel/plugin-transform-react-display-name@npm:^7.24.7, @babel/plugin-transform-react-display-name@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-react-display-name@npm:7.25.9" dependencies: - "@babel/helper-plugin-utils": ^7.24.7 + "@babel/helper-plugin-utils": ^7.25.9 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: a05bf83bf5e7b31f7a3b56da1bf8e2eeec76ef52ae44435ceff66363a1717fcda45b7b4b931a2c115982175f481fc3f2d0fab23f0a43c44e6d983afc396858f0 + checksum: cd7020494e6f31c287834e8929e6a718d5b0ace21232fa30feb48622c2312045504c34b347dcff9e88145c349882b296a7d6b6cc3d3447d8c85502f16471747c languageName: node linkType: hard -"@babel/plugin-transform-react-jsx-development@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/plugin-transform-react-jsx-development@npm:7.24.7" +"@babel/plugin-transform-react-jsx-development@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-react-jsx-development@npm:7.25.9" dependencies: - "@babel/plugin-transform-react-jsx": ^7.24.7 + "@babel/plugin-transform-react-jsx": ^7.25.9 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 653d32ea5accb12d016e324ec5a584b60a8f39e60c6a5101194b73553fdefbfa3c3f06ec2410216ec2033fddae181a2f146a1d6ed59f075c488fc4570cad2e7b + checksum: 537d38369537f1eb56041c4b770bc0733fde1801a7f5ffef40a1217ea448f33ee2fa8e6098a58a82fd00e432c1b9426a66849496da419020c9eca3b1b1a23779 languageName: node linkType: hard -"@babel/plugin-transform-react-jsx-self@npm:^7.0.0": - version: 7.24.7 - resolution: "@babel/plugin-transform-react-jsx-self@npm:7.24.7" +"@babel/plugin-transform-react-jsx-self@npm:^7.24.7": + version: 7.25.9 + resolution: "@babel/plugin-transform-react-jsx-self@npm:7.25.9" dependencies: - "@babel/helper-plugin-utils": ^7.24.7 + "@babel/helper-plugin-utils": ^7.25.9 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 2d72c33664e614031b8a03fc2d4cfd185e99efb1d681cbde4b0b4ab379864b31d83ee923509892f6d94b2c5893c309f0217d33bcda3e470ed42297f958138381 + checksum: 41c833cd7f91b1432710f91b1325706e57979b2e8da44e83d86312c78bbe96cd9ef778b4e79e4e17ab25fa32c72b909f2be7f28e876779ede28e27506c41f4ae languageName: node linkType: hard -"@babel/plugin-transform-react-jsx-source@npm:^7.0.0": - version: 7.24.7 - resolution: "@babel/plugin-transform-react-jsx-source@npm:7.24.7" +"@babel/plugin-transform-react-jsx-source@npm:^7.24.7": + version: 7.25.9 + resolution: "@babel/plugin-transform-react-jsx-source@npm:7.25.9" dependencies: - "@babel/helper-plugin-utils": ^7.24.7 + "@babel/helper-plugin-utils": ^7.25.9 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: c9afcb2259dd124a2de76f8a578589c18bd2f24dbcf78fe02b53c5cbc20c493c4618369604720e4e699b52be10ba0751b97140e1ef8bc8f0de0a935280e9d5b7 + checksum: a3e0e5672e344e9d01fb20b504fe29a84918eaa70cec512c4d4b1b035f72803261257343d8e93673365b72c371f35cf34bb0d129720bf178a4c87812c8b9c662 languageName: node linkType: hard -"@babel/plugin-transform-react-jsx@npm:^7.0.0, @babel/plugin-transform-react-jsx@npm:^7.24.7": - version: 7.25.2 - resolution: "@babel/plugin-transform-react-jsx@npm:7.25.2" +"@babel/plugin-transform-react-jsx@npm:^7.25.2, @babel/plugin-transform-react-jsx@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-react-jsx@npm:7.25.9" dependencies: - "@babel/helper-annotate-as-pure": ^7.24.7 - "@babel/helper-module-imports": ^7.24.7 - "@babel/helper-plugin-utils": ^7.24.8 - "@babel/plugin-syntax-jsx": ^7.24.7 - "@babel/types": ^7.25.2 + "@babel/helper-annotate-as-pure": ^7.25.9 + "@babel/helper-module-imports": ^7.25.9 + "@babel/helper-plugin-utils": ^7.25.9 + "@babel/plugin-syntax-jsx": ^7.25.9 + "@babel/types": ^7.25.9 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 44fbde046385916de19a88d77fed9121c6cc6e25b9cdc38a43d8e514a9b18cf391ed3de25e7d6a8996d3fe4c298e395edf856ee20efffaab3b70f8ce225fffa4 + checksum: 5c6523c3963e3c6cf4c3cc2768a3766318af05b8f6c17aff52a4010e2c170e87b2fcdc94e9c9223ae12158664df4852ce81b9c8d042c15ea8fd83d6375f9f30f languageName: node linkType: hard -"@babel/plugin-transform-react-pure-annotations@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/plugin-transform-react-pure-annotations@npm:7.24.7" +"@babel/plugin-transform-react-pure-annotations@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-react-pure-annotations@npm:7.25.9" dependencies: - "@babel/helper-annotate-as-pure": ^7.24.7 - "@babel/helper-plugin-utils": ^7.24.7 + "@babel/helper-annotate-as-pure": ^7.25.9 + "@babel/helper-plugin-utils": ^7.25.9 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: d859ada3cbeb829fa3d9978a29b2d36657fcc9dcc1e4c3c3af84ec5a044a8f8db26ada406baa309e5d4d512aca53d07c520d991b891ff943bec7d8f01aae0419 + checksum: 9995c0fc7c25d3aaaa0ce84233de02eab2564ea111d0813ec5baa538eb21520402879cc787ad1ad4c2061b99cebc3beb09910e64c9592e8ccb42ae62d9e4fd9a languageName: node linkType: hard -"@babel/plugin-transform-regenerator@npm:^7.20.0, @babel/plugin-transform-regenerator@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/plugin-transform-regenerator@npm:7.24.7" +"@babel/plugin-transform-regenerator@npm:^7.24.7, @babel/plugin-transform-regenerator@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-regenerator@npm:7.25.9" dependencies: - "@babel/helper-plugin-utils": ^7.24.7 + "@babel/helper-plugin-utils": ^7.25.9 regenerator-transform: ^0.15.2 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 20c6c3fb6fc9f407829087316653388d311e8c1816b007609bb09aeef254092a7157adace8b3aaa8f34be752503717cb85c88a5fe482180a9b11bcbd676063be + checksum: 1c09e8087b476c5967282c9790fb8710e065eda77c60f6cb5da541edd59ded9d003d96f8ef640928faab4a0b35bf997673499a194973da4f0c97f0935807a482 + languageName: node + linkType: hard + +"@babel/plugin-transform-regexp-modifiers@npm:^7.26.0": + version: 7.26.0 + resolution: "@babel/plugin-transform-regexp-modifiers@npm:7.26.0" + dependencies: + "@babel/helper-create-regexp-features-plugin": ^7.25.9 + "@babel/helper-plugin-utils": ^7.25.9 + peerDependencies: + "@babel/core": ^7.0.0 + checksum: 726deca486bbd4b176f8a966eb0f4aabc19d9def3b8dabb8b3a656778eca0df1fda3f3c92b213aa5a184232fdafd5b7bd73b4e24ca4345c498ef6baff2bda4e1 languageName: node linkType: hard -"@babel/plugin-transform-reserved-words@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/plugin-transform-reserved-words@npm:7.24.7" +"@babel/plugin-transform-reserved-words@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-reserved-words@npm:7.25.9" dependencies: - "@babel/helper-plugin-utils": ^7.24.7 + "@babel/helper-plugin-utils": ^7.25.9 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 3d5876954d5914d7270819479504f30c4bf5452a65c677f44e2dab2db50b3c9d4b47793c45dfad7abf4f377035dd79e4b3f554ae350df9f422201d370ce9f8dd + checksum: 8beda04481b25767acbd1f6b9ef7b3a9c12fbd9dcb24df45a6ad120e1dc4b247c073db60ac742f9093657d6d8c050501fc0606af042f81a3bb6a3ff862cddc47 languageName: node linkType: hard -"@babel/plugin-transform-runtime@npm:^7.0.0": - version: 7.25.4 - resolution: "@babel/plugin-transform-runtime@npm:7.25.4" +"@babel/plugin-transform-runtime@npm:^7.24.7": + version: 7.26.9 + resolution: "@babel/plugin-transform-runtime@npm:7.26.9" dependencies: - "@babel/helper-module-imports": ^7.24.7 - "@babel/helper-plugin-utils": ^7.24.8 + "@babel/helper-module-imports": ^7.25.9 + "@babel/helper-plugin-utils": ^7.26.5 babel-plugin-polyfill-corejs2: ^0.4.10 babel-plugin-polyfill-corejs3: ^0.10.6 babel-plugin-polyfill-regenerator: ^0.6.1 semver: ^6.3.1 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 40ea3519840c1b2062fc53dd0e4ce2b37cd43995bfc8bbb741f1985622138fbfd873307217692d7bf3ab0629faf0ce277e302e8446673fddaf470d3e07dd0fb2 + checksum: 2d32d4c8b2f8b048114bb2b04f65937a35ca5a2dbf3a76a6e53eef78f383262460e8b23bd113b97f30a4ce55e7ef5fafd421f81de602ad7a268fdc058122a184 languageName: node linkType: hard -"@babel/plugin-transform-shorthand-properties@npm:^7.0.0, @babel/plugin-transform-shorthand-properties@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/plugin-transform-shorthand-properties@npm:7.24.7" +"@babel/plugin-transform-shorthand-properties@npm:^7.24.7, @babel/plugin-transform-shorthand-properties@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-shorthand-properties@npm:7.25.9" dependencies: - "@babel/helper-plugin-utils": ^7.24.7 + "@babel/helper-plugin-utils": ^7.25.9 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 7b524245814607188212b8eb86d8c850e5974203328455a30881b4a92c364b93353fae14bc2af5b614ef16300b75b8c1d3b8f3a08355985b4794a7feb240adc3 + checksum: f774995d58d4e3a992b732cf3a9b8823552d471040e280264dd15e0735433d51b468fef04d75853d061309389c66bda10ce1b298297ce83999220eb0ad62741d languageName: node linkType: hard -"@babel/plugin-transform-spread@npm:^7.0.0, @babel/plugin-transform-spread@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/plugin-transform-spread@npm:7.24.7" +"@babel/plugin-transform-spread@npm:^7.24.7, @babel/plugin-transform-spread@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-spread@npm:7.25.9" dependencies: - "@babel/helper-plugin-utils": ^7.24.7 - "@babel/helper-skip-transparent-expression-wrappers": ^7.24.7 + "@babel/helper-plugin-utils": ^7.25.9 + "@babel/helper-skip-transparent-expression-wrappers": ^7.25.9 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 4c4254c8b9cceb1a8f975fa9b92257ddb08380a35c0a3721b8f4b9e13a3d82e403af2e0fba577b9f2452dd8f06bc3dea71cc53b1e2c6af595af5db52a13429d6 + checksum: 2403a5d49171b7714d5e5ecb1f598c61575a4dbe5e33e5a5f08c0ea990b75e693ca1ea983b6a96b2e3e5e7da48c8238333f525e47498c53b577c5d094d964c06 languageName: node linkType: hard -"@babel/plugin-transform-sticky-regex@npm:^7.0.0, @babel/plugin-transform-sticky-regex@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/plugin-transform-sticky-regex@npm:7.24.7" +"@babel/plugin-transform-sticky-regex@npm:^7.24.7, @babel/plugin-transform-sticky-regex@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-sticky-regex@npm:7.25.9" dependencies: - "@babel/helper-plugin-utils": ^7.24.7 + "@babel/helper-plugin-utils": ^7.25.9 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 118fc7a7ebf7c20411b670c8a030535fdfe4a88bc5643bb625a584dbc4c8a468da46430a20e6bf78914246962b0f18f1b9d6a62561a7762c4f34a038a5a77179 + checksum: 7454b00844dbe924030dd15e2b3615b36e196500c4c47e98dabc6b37a054c5b1038ecd437e910aabf0e43bf56b973cb148d3437d50f6e2332d8309568e3e979b languageName: node linkType: hard "@babel/plugin-transform-strict-mode@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/plugin-transform-strict-mode@npm:7.24.7" + version: 7.25.9 + resolution: "@babel/plugin-transform-strict-mode@npm:7.25.9" dependencies: - "@babel/helper-plugin-utils": ^7.24.7 + "@babel/helper-plugin-utils": ^7.25.9 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 514e847f6ba4bac825eb0e9ae697c6ae632041d887f6cc1167f9cb989924b2f8735ec040607a02083c3a03e62f1c8973ba59a2b106ca3b55c2e2c416b51e2372 + checksum: 87b4a937b7c6f9cc4ed557ce1e2037898ec9c2af18f5523a5200f714cfd4101b0e278c732418b59a779e912cdf5574e35db01714d5b4e6fff2e31584501e4364 languageName: node linkType: hard -"@babel/plugin-transform-template-literals@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/plugin-transform-template-literals@npm:7.24.7" +"@babel/plugin-transform-template-literals@npm:^7.26.8": + version: 7.26.8 + resolution: "@babel/plugin-transform-template-literals@npm:7.26.8" dependencies: - "@babel/helper-plugin-utils": ^7.24.7 + "@babel/helper-plugin-utils": ^7.26.5 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: ad44e5826f5a98c1575832dbdbd033adfe683cdff195e178528ead62507564bf02f479b282976cfd3caebad8b06d5fd7349c1cdb880dec3c56daea4f1f179619 + checksum: 65874c8844ce906507cd5b9c78950d6173f8339b6416a2a9e763021db5a7045315a6f0e58976ec4af5e960c003ef322576c105130a644addb8f94d1a0821a972 languageName: node linkType: hard -"@babel/plugin-transform-typeof-symbol@npm:^7.24.8": - version: 7.24.8 - resolution: "@babel/plugin-transform-typeof-symbol@npm:7.24.8" +"@babel/plugin-transform-typeof-symbol@npm:^7.26.7": + version: 7.26.7 + resolution: "@babel/plugin-transform-typeof-symbol@npm:7.26.7" dependencies: - "@babel/helper-plugin-utils": ^7.24.8 + "@babel/helper-plugin-utils": ^7.26.5 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 8663a8e7347cedf181001d99c88cf794b6598c3d82f324098510fe8fb8bd22113995526a77aa35a3cc5d70ffd0617a59dd0d10311a9bf0e1a3a7d3e59b900c00 + checksum: 1fcc48bde1426527d9905d561884e1ecaf3c03eb5abb507d33f71591f8da0c384e92097feaf91cc30692e04fb7f5e6ff1cb172acc5de7675d93fdb42db850d6a languageName: node linkType: hard -"@babel/plugin-transform-typescript@npm:^7.24.7, @babel/plugin-transform-typescript@npm:^7.5.0": - version: 7.25.2 - resolution: "@babel/plugin-transform-typescript@npm:7.25.2" +"@babel/plugin-transform-typescript@npm:^7.25.2, @babel/plugin-transform-typescript@npm:^7.25.9": + version: 7.26.8 + resolution: "@babel/plugin-transform-typescript@npm:7.26.8" dependencies: - "@babel/helper-annotate-as-pure": ^7.24.7 - "@babel/helper-create-class-features-plugin": ^7.25.0 - "@babel/helper-plugin-utils": ^7.24.8 - "@babel/helper-skip-transparent-expression-wrappers": ^7.24.7 - "@babel/plugin-syntax-typescript": ^7.24.7 + "@babel/helper-annotate-as-pure": ^7.25.9 + "@babel/helper-create-class-features-plugin": ^7.25.9 + "@babel/helper-plugin-utils": ^7.26.5 + "@babel/helper-skip-transparent-expression-wrappers": ^7.25.9 + "@babel/plugin-syntax-typescript": ^7.25.9 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: b0267128d93560a4350919f7230a3b497e20fb8611d9f04bb3560d6b38877305ccad4c40903160263361c6930a84dbcb5b21b8ea923531bda51f67bffdc2dd0b + checksum: 3d8866f2c5cb70d27bfb724bf205f073b59d04fe7e535c63439968579dc79b69055681088b522dab49695bdf1365b00e22aee11e3f3253381e554d89a8aa9dd6 languageName: node linkType: hard -"@babel/plugin-transform-unicode-escapes@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/plugin-transform-unicode-escapes@npm:7.24.7" +"@babel/plugin-transform-unicode-escapes@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-unicode-escapes@npm:7.25.9" dependencies: - "@babel/helper-plugin-utils": ^7.24.7 + "@babel/helper-plugin-utils": ^7.25.9 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 4af0a193e1ddea6ff82b2b15cc2501b872728050bd625740b813c8062fec917d32d530ff6b41de56c15e7296becdf3336a58db81f5ca8e7c445c1306c52f3e01 + checksum: be067e07488d804e3e82d7771f23666539d2ae5af03bf6eb8480406adf3dabd776e60c1fd5c6078dc5714b73cd80bbaca70e71d4f5d154c5c57200581602ca2f languageName: node linkType: hard -"@babel/plugin-transform-unicode-property-regex@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/plugin-transform-unicode-property-regex@npm:7.24.7" +"@babel/plugin-transform-unicode-property-regex@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-unicode-property-regex@npm:7.25.9" dependencies: - "@babel/helper-create-regexp-features-plugin": ^7.24.7 - "@babel/helper-plugin-utils": ^7.24.7 + "@babel/helper-create-regexp-features-plugin": ^7.25.9 + "@babel/helper-plugin-utils": ^7.25.9 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: aae13350c50973f5802ca7906d022a6a0cc0e3aebac9122d0450bbd51e78252d4c2032ad69385e2759fcbdd3aac5d571bd7e26258907f51f8e1a51b53be626c2 + checksum: 201f6f46c1beb399e79aa208b94c5d54412047511795ce1e790edcd189cef73752e6a099fdfc01b3ad12205f139ae344143b62f21f44bbe02338a95e8506a911 languageName: node linkType: hard -"@babel/plugin-transform-unicode-regex@npm:^7.0.0, @babel/plugin-transform-unicode-regex@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/plugin-transform-unicode-regex@npm:7.24.7" +"@babel/plugin-transform-unicode-regex@npm:^7.24.7, @babel/plugin-transform-unicode-regex@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-unicode-regex@npm:7.25.9" dependencies: - "@babel/helper-create-regexp-features-plugin": ^7.24.7 - "@babel/helper-plugin-utils": ^7.24.7 + "@babel/helper-create-regexp-features-plugin": ^7.25.9 + "@babel/helper-plugin-utils": ^7.25.9 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 1cb4e70678906e431da0a05ac3f8350025fee290304ad7482d9cfaa1ca67b2e898654de537c9268efbdad5b80d3ebadf42b4a88ea84609bd8a4cce7b11b48afd + checksum: e8baae867526e179467c6ef5280d70390fa7388f8763a19a27c21302dd59b121032568be080749514b097097ceb9af716bf4b90638f1b3cf689aa837ba20150f languageName: node linkType: hard -"@babel/plugin-transform-unicode-sets-regex@npm:^7.25.4": - version: 7.25.4 - resolution: "@babel/plugin-transform-unicode-sets-regex@npm:7.25.4" +"@babel/plugin-transform-unicode-sets-regex@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-unicode-sets-regex@npm:7.25.9" dependencies: - "@babel/helper-create-regexp-features-plugin": ^7.25.2 - "@babel/helper-plugin-utils": ^7.24.8 + "@babel/helper-create-regexp-features-plugin": ^7.25.9 + "@babel/helper-plugin-utils": ^7.25.9 peerDependencies: "@babel/core": ^7.0.0 - checksum: 6d1a7e9fdde4ffc9a81c0e3f261b96a9a0dfe65da282ec96fe63b36c597a7389feac638f1df2a8a4f8c9128337bba8e984f934e9f19077930f33abf1926759ea + checksum: 4445ef20de687cb4dcc95169742a8d9013d680aa5eee9186d8e25875bbfa7ee5e2de26a91177ccf70b1db518e36886abcd44750d28db5d7a9539f0efa6839f4b languageName: node linkType: hard -"@babel/preset-env@npm:^7.20.0, @babel/preset-env@npm:^7.25.2": - version: 7.25.4 - resolution: "@babel/preset-env@npm:7.25.4" +"@babel/preset-env@npm:^7.25.2": + version: 7.26.9 + resolution: "@babel/preset-env@npm:7.26.9" dependencies: - "@babel/compat-data": ^7.25.4 - "@babel/helper-compilation-targets": ^7.25.2 - "@babel/helper-plugin-utils": ^7.24.8 - "@babel/helper-validator-option": ^7.24.8 - "@babel/plugin-bugfix-firefox-class-in-computed-class-key": ^7.25.3 - "@babel/plugin-bugfix-safari-class-field-initializer-scope": ^7.25.0 - "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": ^7.25.0 - "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": ^7.24.7 - "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": ^7.25.0 + "@babel/compat-data": ^7.26.8 + "@babel/helper-compilation-targets": ^7.26.5 + "@babel/helper-plugin-utils": ^7.26.5 + "@babel/helper-validator-option": ^7.25.9 + "@babel/plugin-bugfix-firefox-class-in-computed-class-key": ^7.25.9 + "@babel/plugin-bugfix-safari-class-field-initializer-scope": ^7.25.9 + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": ^7.25.9 + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": ^7.25.9 + "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": ^7.25.9 "@babel/plugin-proposal-private-property-in-object": 7.21.0-placeholder-for-preset-env.2 - "@babel/plugin-syntax-async-generators": ^7.8.4 - "@babel/plugin-syntax-class-properties": ^7.12.13 - "@babel/plugin-syntax-class-static-block": ^7.14.5 - "@babel/plugin-syntax-dynamic-import": ^7.8.3 - "@babel/plugin-syntax-export-namespace-from": ^7.8.3 - "@babel/plugin-syntax-import-assertions": ^7.24.7 - "@babel/plugin-syntax-import-attributes": ^7.24.7 - "@babel/plugin-syntax-import-meta": ^7.10.4 - "@babel/plugin-syntax-json-strings": ^7.8.3 - "@babel/plugin-syntax-logical-assignment-operators": ^7.10.4 - "@babel/plugin-syntax-nullish-coalescing-operator": ^7.8.3 - "@babel/plugin-syntax-numeric-separator": ^7.10.4 - "@babel/plugin-syntax-object-rest-spread": ^7.8.3 - "@babel/plugin-syntax-optional-catch-binding": ^7.8.3 - "@babel/plugin-syntax-optional-chaining": ^7.8.3 - "@babel/plugin-syntax-private-property-in-object": ^7.14.5 - "@babel/plugin-syntax-top-level-await": ^7.14.5 + "@babel/plugin-syntax-import-assertions": ^7.26.0 + "@babel/plugin-syntax-import-attributes": ^7.26.0 "@babel/plugin-syntax-unicode-sets-regex": ^7.18.6 - "@babel/plugin-transform-arrow-functions": ^7.24.7 - "@babel/plugin-transform-async-generator-functions": ^7.25.4 - "@babel/plugin-transform-async-to-generator": ^7.24.7 - "@babel/plugin-transform-block-scoped-functions": ^7.24.7 - "@babel/plugin-transform-block-scoping": ^7.25.0 - "@babel/plugin-transform-class-properties": ^7.25.4 - "@babel/plugin-transform-class-static-block": ^7.24.7 - "@babel/plugin-transform-classes": ^7.25.4 - "@babel/plugin-transform-computed-properties": ^7.24.7 - "@babel/plugin-transform-destructuring": ^7.24.8 - "@babel/plugin-transform-dotall-regex": ^7.24.7 - "@babel/plugin-transform-duplicate-keys": ^7.24.7 - "@babel/plugin-transform-duplicate-named-capturing-groups-regex": ^7.25.0 - "@babel/plugin-transform-dynamic-import": ^7.24.7 - "@babel/plugin-transform-exponentiation-operator": ^7.24.7 - "@babel/plugin-transform-export-namespace-from": ^7.24.7 - "@babel/plugin-transform-for-of": ^7.24.7 - "@babel/plugin-transform-function-name": ^7.25.1 - "@babel/plugin-transform-json-strings": ^7.24.7 - "@babel/plugin-transform-literals": ^7.25.2 - "@babel/plugin-transform-logical-assignment-operators": ^7.24.7 - "@babel/plugin-transform-member-expression-literals": ^7.24.7 - "@babel/plugin-transform-modules-amd": ^7.24.7 - "@babel/plugin-transform-modules-commonjs": ^7.24.8 - "@babel/plugin-transform-modules-systemjs": ^7.25.0 - "@babel/plugin-transform-modules-umd": ^7.24.7 - "@babel/plugin-transform-named-capturing-groups-regex": ^7.24.7 - "@babel/plugin-transform-new-target": ^7.24.7 - "@babel/plugin-transform-nullish-coalescing-operator": ^7.24.7 - "@babel/plugin-transform-numeric-separator": ^7.24.7 - "@babel/plugin-transform-object-rest-spread": ^7.24.7 - "@babel/plugin-transform-object-super": ^7.24.7 - "@babel/plugin-transform-optional-catch-binding": ^7.24.7 - "@babel/plugin-transform-optional-chaining": ^7.24.8 - "@babel/plugin-transform-parameters": ^7.24.7 - "@babel/plugin-transform-private-methods": ^7.25.4 - "@babel/plugin-transform-private-property-in-object": ^7.24.7 - "@babel/plugin-transform-property-literals": ^7.24.7 - "@babel/plugin-transform-regenerator": ^7.24.7 - "@babel/plugin-transform-reserved-words": ^7.24.7 - "@babel/plugin-transform-shorthand-properties": ^7.24.7 - "@babel/plugin-transform-spread": ^7.24.7 - "@babel/plugin-transform-sticky-regex": ^7.24.7 - "@babel/plugin-transform-template-literals": ^7.24.7 - "@babel/plugin-transform-typeof-symbol": ^7.24.8 - "@babel/plugin-transform-unicode-escapes": ^7.24.7 - "@babel/plugin-transform-unicode-property-regex": ^7.24.7 - "@babel/plugin-transform-unicode-regex": ^7.24.7 - "@babel/plugin-transform-unicode-sets-regex": ^7.25.4 + "@babel/plugin-transform-arrow-functions": ^7.25.9 + "@babel/plugin-transform-async-generator-functions": ^7.26.8 + "@babel/plugin-transform-async-to-generator": ^7.25.9 + "@babel/plugin-transform-block-scoped-functions": ^7.26.5 + "@babel/plugin-transform-block-scoping": ^7.25.9 + "@babel/plugin-transform-class-properties": ^7.25.9 + "@babel/plugin-transform-class-static-block": ^7.26.0 + "@babel/plugin-transform-classes": ^7.25.9 + "@babel/plugin-transform-computed-properties": ^7.25.9 + "@babel/plugin-transform-destructuring": ^7.25.9 + "@babel/plugin-transform-dotall-regex": ^7.25.9 + "@babel/plugin-transform-duplicate-keys": ^7.25.9 + "@babel/plugin-transform-duplicate-named-capturing-groups-regex": ^7.25.9 + "@babel/plugin-transform-dynamic-import": ^7.25.9 + "@babel/plugin-transform-exponentiation-operator": ^7.26.3 + "@babel/plugin-transform-export-namespace-from": ^7.25.9 + "@babel/plugin-transform-for-of": ^7.26.9 + "@babel/plugin-transform-function-name": ^7.25.9 + "@babel/plugin-transform-json-strings": ^7.25.9 + "@babel/plugin-transform-literals": ^7.25.9 + "@babel/plugin-transform-logical-assignment-operators": ^7.25.9 + "@babel/plugin-transform-member-expression-literals": ^7.25.9 + "@babel/plugin-transform-modules-amd": ^7.25.9 + "@babel/plugin-transform-modules-commonjs": ^7.26.3 + "@babel/plugin-transform-modules-systemjs": ^7.25.9 + "@babel/plugin-transform-modules-umd": ^7.25.9 + "@babel/plugin-transform-named-capturing-groups-regex": ^7.25.9 + "@babel/plugin-transform-new-target": ^7.25.9 + "@babel/plugin-transform-nullish-coalescing-operator": ^7.26.6 + "@babel/plugin-transform-numeric-separator": ^7.25.9 + "@babel/plugin-transform-object-rest-spread": ^7.25.9 + "@babel/plugin-transform-object-super": ^7.25.9 + "@babel/plugin-transform-optional-catch-binding": ^7.25.9 + "@babel/plugin-transform-optional-chaining": ^7.25.9 + "@babel/plugin-transform-parameters": ^7.25.9 + "@babel/plugin-transform-private-methods": ^7.25.9 + "@babel/plugin-transform-private-property-in-object": ^7.25.9 + "@babel/plugin-transform-property-literals": ^7.25.9 + "@babel/plugin-transform-regenerator": ^7.25.9 + "@babel/plugin-transform-regexp-modifiers": ^7.26.0 + "@babel/plugin-transform-reserved-words": ^7.25.9 + "@babel/plugin-transform-shorthand-properties": ^7.25.9 + "@babel/plugin-transform-spread": ^7.25.9 + "@babel/plugin-transform-sticky-regex": ^7.25.9 + "@babel/plugin-transform-template-literals": ^7.26.8 + "@babel/plugin-transform-typeof-symbol": ^7.26.7 + "@babel/plugin-transform-unicode-escapes": ^7.25.9 + "@babel/plugin-transform-unicode-property-regex": ^7.25.9 + "@babel/plugin-transform-unicode-regex": ^7.25.9 + "@babel/plugin-transform-unicode-sets-regex": ^7.25.9 "@babel/preset-modules": 0.1.6-no-external-plugins babel-plugin-polyfill-corejs2: ^0.4.10 - babel-plugin-polyfill-corejs3: ^0.10.6 + babel-plugin-polyfill-corejs3: ^0.11.0 babel-plugin-polyfill-regenerator: ^0.6.1 - core-js-compat: ^3.37.1 + core-js-compat: ^3.40.0 semver: ^6.3.1 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 752be43f0b78a2eefe5007076aed3d21b505e1c09d134b61e7de8838f1bbb1e7af81023d39adb14b6eae23727fb5a9fd23f8115a44df043319be22319be17913 + checksum: 7a657f947d069b7a27b02258012ce3ceb9383a8c10c249d4a3565c486294c3fe63ed08128ca3d124444d17eb821cfbf64a91fe8160af2e39f70d5cd2232f079e languageName: node linkType: hard -"@babel/preset-flow@npm:^7.13.13, @babel/preset-flow@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/preset-flow@npm:7.24.7" +"@babel/preset-flow@npm:^7.24.7": + version: 7.25.9 + resolution: "@babel/preset-flow@npm:7.25.9" dependencies: - "@babel/helper-plugin-utils": ^7.24.7 - "@babel/helper-validator-option": ^7.24.7 - "@babel/plugin-transform-flow-strip-types": ^7.24.7 + "@babel/helper-plugin-utils": ^7.25.9 + "@babel/helper-validator-option": ^7.25.9 + "@babel/plugin-transform-flow-strip-types": ^7.25.9 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 4caca02a6e0a477eb22994d686a1fbf65b5ab0240ae77530696434dba7efff4c5dcbf9186a774168dd4c492423141a22af3f2874c356aa22429f3c83eaf34419 + checksum: b1591ea63a7ace7e34bcefa6deba9e2814d7f082e3c074e2648efb68a1a49016ccefbea024156ba28bd3042a4e768e3eb8b5ecfe433978144fdaaadd36203ba2 languageName: node linkType: hard @@ -1524,39 +1428,39 @@ __metadata: linkType: hard "@babel/preset-react@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/preset-react@npm:7.24.7" + version: 7.26.3 + resolution: "@babel/preset-react@npm:7.26.3" dependencies: - "@babel/helper-plugin-utils": ^7.24.7 - "@babel/helper-validator-option": ^7.24.7 - "@babel/plugin-transform-react-display-name": ^7.24.7 - "@babel/plugin-transform-react-jsx": ^7.24.7 - "@babel/plugin-transform-react-jsx-development": ^7.24.7 - "@babel/plugin-transform-react-pure-annotations": ^7.24.7 + "@babel/helper-plugin-utils": ^7.25.9 + "@babel/helper-validator-option": ^7.25.9 + "@babel/plugin-transform-react-display-name": ^7.25.9 + "@babel/plugin-transform-react-jsx": ^7.25.9 + "@babel/plugin-transform-react-jsx-development": ^7.25.9 + "@babel/plugin-transform-react-pure-annotations": ^7.25.9 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 76d0365b6bca808be65c4ccb3f3384c0792084add15eb537f16b3e44184216b82fa37f945339b732ceee6f06e09ba1f39f75c45e69b9811ddcc479f05555ea9c + checksum: 9c76f145026715c8e4a1f6c44f208918e700227d8d8a8068f4ae10d87031d23eb8b483e508cd4452d65066f731b7a8169527e66e83ffe165595e8db7899dd859 languageName: node linkType: hard -"@babel/preset-typescript@npm:^7.13.0, @babel/preset-typescript@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/preset-typescript@npm:7.24.7" +"@babel/preset-typescript@npm:^7.24.7": + version: 7.26.0 + resolution: "@babel/preset-typescript@npm:7.26.0" dependencies: - "@babel/helper-plugin-utils": ^7.24.7 - "@babel/helper-validator-option": ^7.24.7 - "@babel/plugin-syntax-jsx": ^7.24.7 - "@babel/plugin-transform-modules-commonjs": ^7.24.7 - "@babel/plugin-transform-typescript": ^7.24.7 + "@babel/helper-plugin-utils": ^7.25.9 + "@babel/helper-validator-option": ^7.25.9 + "@babel/plugin-syntax-jsx": ^7.25.9 + "@babel/plugin-transform-modules-commonjs": ^7.25.9 + "@babel/plugin-transform-typescript": ^7.25.9 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 12929b24757f3bd6548103475f86478eda4c872bc7cefd920b29591eee8f4a4f350561d888e133d632d0c9402b8615fdcec9138e5127a6567dcb22f804ff207f + checksum: 6d8641fa6efd0e10eec5e8f92cd164b916a06d57131cfa5216c281404289c87d2b4995140a1c1d9c3bad171ff6ef2226be5f0585e09577ffff349706e991ec71 languageName: node linkType: hard -"@babel/register@npm:^7.13.16": - version: 7.24.6 - resolution: "@babel/register@npm:7.24.6" +"@babel/register@npm:^7.24.6": + version: 7.25.9 + resolution: "@babel/register@npm:7.25.9" dependencies: clone-deep: ^4.0.1 find-cache-dir: ^2.0.0 @@ -1565,60 +1469,52 @@ __metadata: source-map-support: ^0.5.16 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 446316c80969df89ad3515576937ddf746cd4927810f226101a8d7f476b399c14c26847e77637e09355399c645fbf413d6e53ac6987b8cf240de7932a9372cb5 + checksum: 1df38d9ed6fd60feb0a82e1926508bca8f60915ee8a12ab9f6c9714a8f13bafc7865409c7fa92604a5b79ba84f7990181b312bc469bfdfa30dd79655b3260b85 languageName: node linkType: hard -"@babel/regjsgen@npm:^0.8.0": - version: 0.8.0 - resolution: "@babel/regjsgen@npm:0.8.0" - checksum: 89c338fee774770e5a487382170711014d49a68eb281e74f2b5eac88f38300a4ad545516a7786a8dd5702e9cf009c94c2f582d200f077ac5decd74c56b973730 - languageName: node - linkType: hard - -"@babel/runtime@npm:^7.0.0, @babel/runtime@npm:^7.20.0, @babel/runtime@npm:^7.8.4": - version: 7.25.6 - resolution: "@babel/runtime@npm:7.25.6" +"@babel/runtime@npm:^7.25.0, @babel/runtime@npm:^7.8.4": + version: 7.26.9 + resolution: "@babel/runtime@npm:7.26.9" dependencies: regenerator-runtime: ^0.14.0 - checksum: ee1a69d3ac7802803f5ee6a96e652b78b8addc28c6a38c725a4ad7d61a059d9e6cb9f6550ed2f63cce67a1bd82e0b1ef66a1079d895be6bfb536a5cfbd9ccc32 + checksum: 838492d8a925092f9ccfbd82ec183a54f430af3a4ce88fb1337a4570629202d5123bad3097a5b8df53822504d12ccb29f45c0f6842e86094f0164f17a51eec92 languageName: node linkType: hard -"@babel/template@npm:^7.0.0, @babel/template@npm:^7.24.7, @babel/template@npm:^7.25.0, @babel/template@npm:^7.3.3": - version: 7.25.0 - resolution: "@babel/template@npm:7.25.0" +"@babel/template@npm:^7.0.0, @babel/template@npm:^7.25.0, @babel/template@npm:^7.25.9, @babel/template@npm:^7.26.9, @babel/template@npm:^7.3.3": + version: 7.26.9 + resolution: "@babel/template@npm:7.26.9" dependencies: - "@babel/code-frame": ^7.24.7 - "@babel/parser": ^7.25.0 - "@babel/types": ^7.25.0 - checksum: 3f2db568718756d0daf2a16927b78f00c425046b654cd30b450006f2e84bdccaf0cbe6dc04994aa1f5f6a4398da2f11f3640a4d3ee31722e43539c4c919c817b + "@babel/code-frame": ^7.26.2 + "@babel/parser": ^7.26.9 + "@babel/types": ^7.26.9 + checksum: 32259298c775e543ab994daff0c758b3d6a184349b146d6497aa46cec5907bc47a6bc09e7295a81a5eccfbd023d4811a9777cb5d698d582d09a87cabf5b576e7 languageName: node linkType: hard -"@babel/traverse@npm:^7.20.0, @babel/traverse@npm:^7.24.7, @babel/traverse@npm:^7.24.8, @babel/traverse@npm:^7.25.0, @babel/traverse@npm:^7.25.1, @babel/traverse@npm:^7.25.2, @babel/traverse@npm:^7.25.3, @babel/traverse@npm:^7.25.4": - version: 7.25.6 - resolution: "@babel/traverse@npm:7.25.6" +"@babel/traverse--for-generate-function-map@npm:@babel/traverse@^7.25.3, @babel/traverse@npm:^7.20.0, @babel/traverse@npm:^7.25.3, @babel/traverse@npm:^7.25.9, @babel/traverse@npm:^7.26.5, @babel/traverse@npm:^7.26.8, @babel/traverse@npm:^7.26.9": + version: 7.26.9 + resolution: "@babel/traverse@npm:7.26.9" dependencies: - "@babel/code-frame": ^7.24.7 - "@babel/generator": ^7.25.6 - "@babel/parser": ^7.25.6 - "@babel/template": ^7.25.0 - "@babel/types": ^7.25.6 + "@babel/code-frame": ^7.26.2 + "@babel/generator": ^7.26.9 + "@babel/parser": ^7.26.9 + "@babel/template": ^7.26.9 + "@babel/types": ^7.26.9 debug: ^4.3.1 globals: ^11.1.0 - checksum: 11ee47269aa4356f2d6633a05b9af73405b5ed72c09378daf644289b686ef852035a6ac9aa410f601991993c6bbf72006795b5478283b78eb1ca77874ada7737 + checksum: d42d3a5e61422d96467f517447b5e254edbd64e4dbf3e13b630704d1f49beaa5209246dc6f45ba53522293bd4760ff720496d2c1ef189ecce52e9e63d9a59aa8 languageName: node linkType: hard -"@babel/types@npm:^7.0.0, @babel/types@npm:^7.20.0, @babel/types@npm:^7.20.7, @babel/types@npm:^7.24.7, @babel/types@npm:^7.24.8, @babel/types@npm:^7.25.0, @babel/types@npm:^7.25.2, @babel/types@npm:^7.25.6, @babel/types@npm:^7.3.3, @babel/types@npm:^7.4.4": - version: 7.25.6 - resolution: "@babel/types@npm:7.25.6" +"@babel/types@npm:^7.0.0, @babel/types@npm:^7.20.0, @babel/types@npm:^7.20.7, @babel/types@npm:^7.25.2, @babel/types@npm:^7.25.9, @babel/types@npm:^7.26.9, @babel/types@npm:^7.3.3, @babel/types@npm:^7.4.4": + version: 7.26.9 + resolution: "@babel/types@npm:7.26.9" dependencies: - "@babel/helper-string-parser": ^7.24.8 - "@babel/helper-validator-identifier": ^7.24.7 - to-fast-properties: ^2.0.0 - checksum: 9b2f84ff3f874ad05b0b9bf06862c56f478b65781801f82296b4cc01bee39e79c20a7c0a06959fed0ee582c8267e1cb21638318655c5e070b0287242a844d1c9 + "@babel/helper-string-parser": ^7.25.9 + "@babel/helper-validator-identifier": ^7.25.9 + checksum: cc124c149615deb30343a4c81ac5b0e3a68bdb4b1bd61a91a2859ee8e5e5f400f6ff65be4740f407c17bfc09baa9c777e7f8f765dccf3284963956b67ac95a38 languageName: node linkType: hard @@ -1826,6 +1722,24 @@ __metadata: languageName: node linkType: hard +"@conventional-changelog/git-client@npm:^1.0.0": + version: 1.0.1 + resolution: "@conventional-changelog/git-client@npm:1.0.1" + dependencies: + "@types/semver": ^7.5.5 + semver: ^7.5.2 + peerDependencies: + conventional-commits-filter: ^5.0.0 + conventional-commits-parser: ^6.0.0 + peerDependenciesMeta: + conventional-commits-filter: + optional: true + conventional-commits-parser: + optional: true + checksum: 4be45d4d1335878772fe0ad6e279970569c9526b544af3f58d31d70199f40c8051459a22f02d87c458a7c95f0ba68cd9a839da19504c5c40045c5b0691354305 + languageName: node + linkType: hard + "@cspotcode/source-map-support@npm:^0.8.0": version: 0.8.1 resolution: "@cspotcode/source-map-support@npm:0.8.1" @@ -1836,20 +1750,20 @@ __metadata: linkType: hard "@eslint-community/eslint-utils@npm:^4.2.0": - version: 4.4.0 - resolution: "@eslint-community/eslint-utils@npm:4.4.0" + version: 4.4.1 + resolution: "@eslint-community/eslint-utils@npm:4.4.1" dependencies: - eslint-visitor-keys: ^3.3.0 + eslint-visitor-keys: ^3.4.3 peerDependencies: eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 - checksum: cdfe3ae42b4f572cbfb46d20edafe6f36fc5fb52bf2d90875c58aefe226892b9677fef60820e2832caf864a326fe4fc225714c46e8389ccca04d5f9288aabd22 + checksum: a7ffc838eb6a9ef594cda348458ccf38f34439ac77dc090fa1c120024bcd4eb911dfd74d5ef44d42063e7949fa7c5123ce714a015c4abb917d4124be1bd32bfe languageName: node linkType: hard "@eslint-community/regexpp@npm:^4.4.0, @eslint-community/regexpp@npm:^4.6.1": - version: 4.11.0 - resolution: "@eslint-community/regexpp@npm:4.11.0" - checksum: 97d2fe46690b69417a551bd19a3dc53b6d9590d2295c43cc4c4e44e64131af541e2f4a44d5c12e87de990403654d3dae9d33600081f3a2f0386b368abc9111ec + version: 4.12.1 + resolution: "@eslint-community/regexpp@npm:4.12.1" + checksum: 0d628680e204bc316d545b4993d3658427ca404ae646ce541fcc65306b8c712c340e5e573e30fb9f85f4855c0c5f6dca9868931f2fcced06417fbe1a0c6cd2d6 languageName: node linkType: hard @@ -1870,19 +1784,19 @@ __metadata: languageName: node linkType: hard -"@eslint/js@npm:8.57.0": - version: 8.57.0 - resolution: "@eslint/js@npm:8.57.0" - checksum: 315dc65b0e9893e2bff139bddace7ea601ad77ed47b4550e73da8c9c2d2766c7a575c3cddf17ef85b8fd6a36ff34f91729d0dcca56e73ca887c10df91a41b0bb +"@eslint/js@npm:8.57.1": + version: 8.57.1 + resolution: "@eslint/js@npm:8.57.1" + checksum: 2afb77454c06e8316793d2e8e79a0154854d35e6782a1217da274ca60b5044d2c69d6091155234ed0551a1e408f86f09dd4ece02752c59568fa403e60611e880 languageName: node linkType: hard "@evilmartians/lefthook@npm:^1.5.0": - version: 1.7.14 - resolution: "@evilmartians/lefthook@npm:1.7.14" + version: 1.11.3 + resolution: "@evilmartians/lefthook@npm:1.11.3" bin: lefthook: bin/index.js - checksum: ddd1b6eda95d0d4f8728900d65a597075499ebec2d3181dab87fd3de2897d68ff47a111da6672e226c54952a477807dde7d1300f5622822701864846166887e2 + checksum: 6fe9ccc112696906abff3de18bc1ffdccb51894c43c7506d7178aacac57ecbb76f15165d04b0dfa46c37303325fae9de5b4b7b38a6510d4e0b8727a0ccccca73 conditions: (os=darwin | os=linux | os=win32) & (cpu=x64 | cpu=arm64 | cpu=ia32) languageName: node linkType: hard @@ -1903,14 +1817,14 @@ __metadata: languageName: node linkType: hard -"@humanwhocodes/config-array@npm:^0.11.14": - version: 0.11.14 - resolution: "@humanwhocodes/config-array@npm:0.11.14" +"@humanwhocodes/config-array@npm:^0.13.0": + version: 0.13.0 + resolution: "@humanwhocodes/config-array@npm:0.13.0" dependencies: - "@humanwhocodes/object-schema": ^2.0.2 + "@humanwhocodes/object-schema": ^2.0.3 debug: ^4.3.1 minimatch: ^3.0.5 - checksum: 861ccce9eaea5de19546653bccf75bf09fe878bc39c3aab00aeee2d2a0e654516adad38dd1098aab5e3af0145bbcbf3f309bdf4d964f8dab9dcd5834ae4c02f2 + checksum: eae69ff9134025dd2924f0b430eb324981494be26f0fddd267a33c28711c4db643242cf9fddf7dadb9d16c96b54b2d2c073e60a56477df86e0173149313bd5d6 languageName: node linkType: hard @@ -1921,17 +1835,17 @@ __metadata: languageName: node linkType: hard -"@humanwhocodes/object-schema@npm:^2.0.2": +"@humanwhocodes/object-schema@npm:^2.0.3": version: 2.0.3 resolution: "@humanwhocodes/object-schema@npm:2.0.3" checksum: d3b78f6c5831888c6ecc899df0d03bcc25d46f3ad26a11d7ea52944dc36a35ef543fad965322174238d677a43d5c694434f6607532cff7077062513ad7022631 languageName: node linkType: hard -"@hutson/parse-repository-url@npm:^3.0.0": - version: 3.0.2 - resolution: "@hutson/parse-repository-url@npm:3.0.2" - checksum: 39992c5f183c5ca3d761d6ed9dfabcb79b5f3750bf1b7f3532e1dc439ca370138bbd426ee250fdaba460bc948e6761fbefd484b8f4f36885d71ded96138340d1 +"@hutson/parse-repository-url@npm:^5.0.0": + version: 5.0.0 + resolution: "@hutson/parse-repository-url@npm:5.0.0" + checksum: 8adce66fd62e339382191f32a90708fab4c65560124b67a06262c57815706944a2f894d33f9bd8dd97180fd80accc0c3d1d5b5138ab86ed10ee071cb487d5983 languageName: node linkType: hard @@ -1942,6 +1856,13 @@ __metadata: languageName: node linkType: hard +"@inquirer/figures@npm:^1.0.3": + version: 1.0.11 + resolution: "@inquirer/figures@npm:1.0.11" + checksum: 6be2867050f5c179d9fcc389a4a3e9aca6ac45fd02106918eba2d6c27a7251a48693ac13fcf9f084e25bf963eb51045c23ca9e87c523e318b0e286d4173449a9 + languageName: node + linkType: hard + "@isaacs/cliui@npm:^8.0.2": version: 8.0.2 resolution: "@isaacs/cliui@npm:8.0.2" @@ -1956,6 +1877,15 @@ __metadata: languageName: node linkType: hard +"@isaacs/fs-minipass@npm:^4.0.0": + version: 4.0.1 + resolution: "@isaacs/fs-minipass@npm:4.0.1" + dependencies: + minipass: ^7.0.4 + checksum: 5d36d289960e886484362d9eb6a51d1ea28baed5f5d0140bbe62b99bac52eaf06cc01c2bc0d3575977962f84f6b2c4387b043ee632216643d4787b0999465bf2 + languageName: node + linkType: hard + "@isaacs/ttlcache@npm:^1.4.1": version: 1.4.1 resolution: "@isaacs/ttlcache@npm:1.4.1" @@ -2236,13 +2166,13 @@ __metadata: linkType: hard "@jridgewell/gen-mapping@npm:^0.3.5": - version: 0.3.5 - resolution: "@jridgewell/gen-mapping@npm:0.3.5" + version: 0.3.8 + resolution: "@jridgewell/gen-mapping@npm:0.3.8" dependencies: "@jridgewell/set-array": ^1.2.1 "@jridgewell/sourcemap-codec": ^1.4.10 "@jridgewell/trace-mapping": ^0.3.24 - checksum: ff7a1764ebd76a5e129c8890aa3e2f46045109dabde62b0b6c6a250152227647178ff2069ea234753a690d8f3c4ac8b5e7b267bbee272bffb7f3b0a370ab6e52 + checksum: c0687b5227461717aa537fe71a42e356bcd1c43293b3353796a148bf3b0d6f59109def46c22f05b60e29a46f19b2e4676d027959a7c53a6c92b9d5b0d87d0420 languageName: node linkType: hard @@ -2333,170 +2263,150 @@ __metadata: languageName: node linkType: hard -"@npmcli/agent@npm:^2.0.0": - version: 2.2.2 - resolution: "@npmcli/agent@npm:2.2.2" +"@npmcli/agent@npm:^3.0.0": + version: 3.0.0 + resolution: "@npmcli/agent@npm:3.0.0" dependencies: agent-base: ^7.1.0 http-proxy-agent: ^7.0.0 https-proxy-agent: ^7.0.1 lru-cache: ^10.0.1 socks-proxy-agent: ^8.0.3 - checksum: 67de7b88cc627a79743c88bab35e023e23daf13831a8aa4e15f998b92f5507b644d8ffc3788afc8e64423c612e0785a6a92b74782ce368f49a6746084b50d874 + checksum: e8fc25d536250ed3e669813b36e8c6d805628b472353c57afd8c4fde0fcfcf3dda4ffe22f7af8c9070812ec2e7a03fb41d7151547cef3508efe661a5a3add20f languageName: node linkType: hard -"@npmcli/fs@npm:^3.1.0": - version: 3.1.1 - resolution: "@npmcli/fs@npm:3.1.1" +"@npmcli/fs@npm:^4.0.0": + version: 4.0.0 + resolution: "@npmcli/fs@npm:4.0.0" dependencies: semver: ^7.3.5 - checksum: d960cab4b93adcb31ce223bfb75c5714edbd55747342efb67dcc2f25e023d930a7af6ece3e75f2f459b6f38fc14d031c766f116cd124fdc937fd33112579e820 + checksum: 68951c589e9a4328698a35fd82fe71909a257d6f2ede0434d236fa55634f0fbcad9bb8755553ce5849bd25ee6f019f4d435921ac715c853582c4a7f5983c8d4a languageName: node linkType: hard -"@octokit/auth-token@npm:^3.0.0": - version: 3.0.4 - resolution: "@octokit/auth-token@npm:3.0.4" - checksum: 42f533a873d4192e6df406b3176141c1f95287423ebdc4cf23a38bb77ee00ccbc0e60e3fbd5874234fc2ed2e67bbc6035e3b0561dacc1d078adb5c4ced3579e3 +"@octokit/auth-token@npm:^4.0.0": + version: 4.0.0 + resolution: "@octokit/auth-token@npm:4.0.0" + checksum: d78f4dc48b214d374aeb39caec4fdbf5c1e4fd8b9fcb18f630b1fe2cbd5a880fca05445f32b4561f41262cb551746aeb0b49e89c95c6dd99299706684d0cae2f languageName: node linkType: hard -"@octokit/core@npm:^4.2.1": - version: 4.2.4 - resolution: "@octokit/core@npm:4.2.4" +"@octokit/core@npm:^5.0.2": + version: 5.2.0 + resolution: "@octokit/core@npm:5.2.0" dependencies: - "@octokit/auth-token": ^3.0.0 - "@octokit/graphql": ^5.0.0 - "@octokit/request": ^6.0.0 - "@octokit/request-error": ^3.0.0 - "@octokit/types": ^9.0.0 + "@octokit/auth-token": ^4.0.0 + "@octokit/graphql": ^7.1.0 + "@octokit/request": ^8.3.1 + "@octokit/request-error": ^5.1.0 + "@octokit/types": ^13.0.0 before-after-hook: ^2.2.0 universal-user-agent: ^6.0.0 - checksum: ac8ab47440a31b0228a034aacac6994b64d6b073ad5b688b4c5157fc5ee0d1af1c926e6087bf17fd7244ee9c5998839da89065a90819bde4a97cb77d4edf58a6 + checksum: 57d5f02b759b569323dcb76cc72bf94ea7d0de58638c118ee14ec3e37d303c505893137dd72918328794844f35c74b3cd16999319c4b40d410a310d44a9b7566 languageName: node linkType: hard -"@octokit/endpoint@npm:^7.0.0": - version: 7.0.6 - resolution: "@octokit/endpoint@npm:7.0.6" +"@octokit/endpoint@npm:^9.0.6": + version: 9.0.6 + resolution: "@octokit/endpoint@npm:9.0.6" dependencies: - "@octokit/types": ^9.0.0 - is-plain-object: ^5.0.0 + "@octokit/types": ^13.1.0 universal-user-agent: ^6.0.0 - checksum: 7caebf30ceec50eb7f253341ed419df355232f03d4638a95c178ee96620400db7e4a5e15d89773fe14db19b8653d4ab4cc81b2e93ca0c760b4e0f7eb7ad80301 + checksum: f853c08f0777a8cc7c3d2509835d478e11a76d722f807d4f2ad7c0e64bf4dd159536409f466b367a907886aa3b78574d3d09ed95ac462c769e4fccaaad81e72a languageName: node linkType: hard -"@octokit/graphql@npm:^5.0.0": - version: 5.0.6 - resolution: "@octokit/graphql@npm:5.0.6" +"@octokit/graphql@npm:^7.1.0": + version: 7.1.1 + resolution: "@octokit/graphql@npm:7.1.1" dependencies: - "@octokit/request": ^6.0.0 - "@octokit/types": ^9.0.0 + "@octokit/request": ^8.4.1 + "@octokit/types": ^13.0.0 universal-user-agent: ^6.0.0 - checksum: 7be545d348ef31dcab0a2478dd64d5746419a2f82f61459c774602bcf8a9b577989c18001f50b03f5f61a3d9e34203bdc021a4e4d75ff2d981e8c9c09cf8a65c + checksum: afb60d5dda6d365334480540610d67b0c5f8e3977dd895fe504ce988f8b7183f29f3b16b88d895a701a739cf29d157d49f8f9fbc71b6c57eb4fc9bd97e099f55 languageName: node linkType: hard -"@octokit/openapi-types@npm:^18.0.0": - version: 18.1.1 - resolution: "@octokit/openapi-types@npm:18.1.1" - checksum: 94f42977fd2fcb9983c781fd199bc11218885a1226d492680bfb1268524a1b2af48a768eef90c63b80a2874437de641d59b3b7f640a5afa93e7c21fe1a79069a +"@octokit/openapi-types@npm:^23.0.1": + version: 23.0.1 + resolution: "@octokit/openapi-types@npm:23.0.1" + checksum: 1e6766c60375375d85ecabded67d9ee313cf9401c18a44534b942717cf840d41b5a9d42035522efffe6b811ee2204d4615f72c333e984e81b25545926eb77989 languageName: node linkType: hard -"@octokit/plugin-paginate-rest@npm:^6.1.2": - version: 6.1.2 - resolution: "@octokit/plugin-paginate-rest@npm:6.1.2" +"@octokit/plugin-paginate-rest@npm:11.3.1": + version: 11.3.1 + resolution: "@octokit/plugin-paginate-rest@npm:11.3.1" dependencies: - "@octokit/tsconfig": ^1.0.2 - "@octokit/types": ^9.2.3 + "@octokit/types": ^13.5.0 peerDependencies: - "@octokit/core": ">=4" - checksum: a7b3e686c7cbd27ec07871cde6e0b1dc96337afbcef426bbe3067152a17b535abd480db1861ca28c88d93db5f7bfdbcadd0919ead19818c28a69d0e194038065 + "@octokit/core": 5 + checksum: 42c7c08e7287b4b85d2ae47852d2ffeb238c134ad6bcff18bddc154b15f6bec31778816c0763181401c370198390db7f6b0c3c44750fdfeec459594f7f4b5933 languageName: node linkType: hard -"@octokit/plugin-request-log@npm:^1.0.4": - version: 1.0.4 - resolution: "@octokit/plugin-request-log@npm:1.0.4" +"@octokit/plugin-request-log@npm:^4.0.0": + version: 4.0.1 + resolution: "@octokit/plugin-request-log@npm:4.0.1" peerDependencies: - "@octokit/core": ">=3" - checksum: 2086db00056aee0f8ebd79797b5b57149ae1014e757ea08985b71eec8c3d85dbb54533f4fd34b6b9ecaa760904ae6a7536be27d71e50a3782ab47809094bfc0c + "@octokit/core": 5 + checksum: fd8c0a201490cba00084689a0d1d54fc7b5ab5b6bdb7e447056b947b1754f78526e9685400eab10d3522bfa7b5bc49c555f41ec412c788610b96500b168f3789 languageName: node linkType: hard -"@octokit/plugin-rest-endpoint-methods@npm:^7.1.2": - version: 7.2.3 - resolution: "@octokit/plugin-rest-endpoint-methods@npm:7.2.3" +"@octokit/plugin-rest-endpoint-methods@npm:13.2.2": + version: 13.2.2 + resolution: "@octokit/plugin-rest-endpoint-methods@npm:13.2.2" dependencies: - "@octokit/types": ^10.0.0 + "@octokit/types": ^13.5.0 peerDependencies: - "@octokit/core": ">=3" - checksum: 21dfb98514dbe900c29cddb13b335bbce43d613800c6b17eba3c1fd31d17e69c1960f3067f7bf864bb38fdd5043391f4a23edee42729d8c7fbabd00569a80336 + "@octokit/core": ^5 + checksum: 347b3a891a561ed1dcc307a2dce42ca48c318c465ad91a26225d3d6493aef1b7ff868e6c56a0d7aa4170d028c7429ca1ec52aed6be34615a6ed701c3bcafdb17 languageName: node linkType: hard -"@octokit/request-error@npm:^3.0.0": - version: 3.0.3 - resolution: "@octokit/request-error@npm:3.0.3" +"@octokit/request-error@npm:^5.1.0, @octokit/request-error@npm:^5.1.1": + version: 5.1.1 + resolution: "@octokit/request-error@npm:5.1.1" dependencies: - "@octokit/types": ^9.0.0 + "@octokit/types": ^13.1.0 deprecation: ^2.0.0 once: ^1.4.0 - checksum: 5db0b514732686b627e6ed9ef1ccdbc10501f1b271a9b31f784783f01beee70083d7edcfeb35fbd7e569fa31fdd6762b1ff6b46101700d2d97e7e48e749520d0 + checksum: 17d0b3f59c2a8a285715bfe6a85168d9c417aa7a0ff553b9be4198a3bc8bb00384a3530221a448eb19f8f07ea9fc48d264869624f5f84fa63a948a7af8cddc8c languageName: node linkType: hard -"@octokit/request@npm:^6.0.0": - version: 6.2.8 - resolution: "@octokit/request@npm:6.2.8" +"@octokit/request@npm:^8.3.1, @octokit/request@npm:^8.4.1": + version: 8.4.1 + resolution: "@octokit/request@npm:8.4.1" dependencies: - "@octokit/endpoint": ^7.0.0 - "@octokit/request-error": ^3.0.0 - "@octokit/types": ^9.0.0 - is-plain-object: ^5.0.0 - node-fetch: ^2.6.7 + "@octokit/endpoint": ^9.0.6 + "@octokit/request-error": ^5.1.1 + "@octokit/types": ^13.1.0 universal-user-agent: ^6.0.0 - checksum: 3747106f50d7c462131ff995b13defdd78024b7becc40283f4ac9ea0af2391ff33a0bb476a05aa710346fe766d20254979079a1d6f626112015ba271fe38f3e2 - languageName: node - linkType: hard - -"@octokit/rest@npm:19.0.11": - version: 19.0.11 - resolution: "@octokit/rest@npm:19.0.11" - dependencies: - "@octokit/core": ^4.2.1 - "@octokit/plugin-paginate-rest": ^6.1.2 - "@octokit/plugin-request-log": ^1.0.4 - "@octokit/plugin-rest-endpoint-methods": ^7.1.2 - checksum: 147518ad51d214ead88adc717b5fdc4f33317949d58c124f4069bdf07d2e6b49fa66861036b9e233aed71fcb88ff367a6da0357653484e466175ab4fb7183b3b - languageName: node - linkType: hard - -"@octokit/tsconfig@npm:^1.0.2": - version: 1.0.2 - resolution: "@octokit/tsconfig@npm:1.0.2" - checksum: 74d56f3e9f326a8dd63700e9a51a7c75487180629c7a68bbafee97c612fbf57af8347369bfa6610b9268a3e8b833c19c1e4beb03f26db9a9dce31f6f7a19b5b1 + checksum: 0ba76728583543baeef9fda98690bc86c57e0a3ccac8c189d2b7d144d248c89167eb37a071ed8fead8f4da0a1c55c4dd98a8fc598769c263b95179fb200959de languageName: node linkType: hard -"@octokit/types@npm:^10.0.0": - version: 10.0.0 - resolution: "@octokit/types@npm:10.0.0" +"@octokit/rest@npm:20.1.1": + version: 20.1.1 + resolution: "@octokit/rest@npm:20.1.1" dependencies: - "@octokit/openapi-types": ^18.0.0 - checksum: 8aafba2ff0cd2435fb70c291bf75ed071c0fa8a865cf6169648732068a35dec7b85a345851f18920ec5f3e94ee0e954988485caac0da09ec3f6781cc44fe153a + "@octokit/core": ^5.0.2 + "@octokit/plugin-paginate-rest": 11.3.1 + "@octokit/plugin-request-log": ^4.0.0 + "@octokit/plugin-rest-endpoint-methods": 13.2.2 + checksum: c15a801c62a2e2104a4b443b3b43f73366d1220b43995d4ffe1358c4162021708e6625a64ea56bf7d85b870924b862b0d680e191160ceca11e6531b8b92299ca languageName: node linkType: hard -"@octokit/types@npm:^9.0.0, @octokit/types@npm:^9.2.3": - version: 9.3.2 - resolution: "@octokit/types@npm:9.3.2" +"@octokit/types@npm:^13.0.0, @octokit/types@npm:^13.1.0, @octokit/types@npm:^13.5.0": + version: 13.8.0 + resolution: "@octokit/types@npm:13.8.0" dependencies: - "@octokit/openapi-types": ^18.0.0 - checksum: f55d096aaed3e04b8308d4422104fb888f355988056ba7b7ef0a4c397b8a3e54290d7827b06774dbe0c9ce55280b00db486286954f9c265aa6b03091026d9da8 + "@octokit/openapi-types": ^23.0.1 + checksum: be5fb327d0e39765e06f5a314556a273ff2bfb9ce4fd5a6e52c237d2f20a4c329493a8bde2c595cb82a5022f07ee6495dfff07ce24e3de4660c9ead913e3db0d languageName: node linkType: hard @@ -2541,59 +2451,62 @@ __metadata: languageName: node linkType: hard -"@react-native-community/cli-clean@npm:14.0.0": - version: 14.0.0 - resolution: "@react-native-community/cli-clean@npm:14.0.0" +"@react-native-community/cli-clean@npm:15.0.1": + version: 15.0.1 + resolution: "@react-native-community/cli-clean@npm:15.0.1" dependencies: - "@react-native-community/cli-tools": 14.0.0 + "@react-native-community/cli-tools": 15.0.1 chalk: ^4.1.2 execa: ^5.0.0 fast-glob: ^3.3.2 - checksum: c2f40e810b1aa6b7ad8a5babf0dda42606d6103f6bf7015fd440839cadb569b6410cbbbb258e8a9ac09a3831835bf2edd3a457b6ffab37652610850305d3602e + checksum: ea6c663ec56cfe3a2c4fac7d3f0fec2ac8de9c34458f241b2afdf7f45dfb00d1de9e367fec732f8fef6e2b17046f4ed03c3be2ea4d2075633197dc23c516f986 languageName: node linkType: hard -"@react-native-community/cli-config@npm:14.0.0": - version: 14.0.0 - resolution: "@react-native-community/cli-config@npm:14.0.0" +"@react-native-community/cli-config-apple@npm:15.0.1": + version: 15.0.1 + resolution: "@react-native-community/cli-config-apple@npm:15.0.1" dependencies: - "@react-native-community/cli-tools": 14.0.0 + "@react-native-community/cli-tools": 15.0.1 chalk: ^4.1.2 - cosmiconfig: ^9.0.0 - deepmerge: ^4.3.0 + execa: ^5.0.0 fast-glob: ^3.3.2 - joi: ^17.2.1 - checksum: cb25249a99ce5cc7b9f451cf1903c336cda1f601e2d971d5681d5310bd86ac4516867ad9b22b257686863a4146291ce863c03ebe78e7ac7020f7bdd778196150 + checksum: 67b9be8b6cce14f764a5734b9599eb7d1095c7fb5c06b0b6cd3518cf3a00c90026018c1eb8d497338da092a3cdcaa9b33fec34c5b766a4517c70293e5f1df58d languageName: node linkType: hard -"@react-native-community/cli-debugger-ui@npm:14.0.0": - version: 14.0.0 - resolution: "@react-native-community/cli-debugger-ui@npm:14.0.0" +"@react-native-community/cli-config@npm:15.0.1": + version: 15.0.1 + resolution: "@react-native-community/cli-config@npm:15.0.1" dependencies: - serve-static: ^1.13.1 - checksum: 8e93038d341cb7c021ebc13dec37c5f8920ebe4d141886939bb83cb606b86d47dcbef61092040fa002ae29cd48e17e2fe63f23ac6309639b64d67cd67bc83072 + "@react-native-community/cli-tools": 15.0.1 + chalk: ^4.1.2 + cosmiconfig: ^9.0.0 + deepmerge: ^4.3.0 + fast-glob: ^3.3.2 + joi: ^17.2.1 + checksum: 23314bcdf465974ee71a01792f0a1149ea51eea1dc66416e53aa2bc3a123dba6a8e0654d68211d2b20570bc875145b2e5d4abf923190c685c0021bb280230c3f languageName: node linkType: hard -"@react-native-community/cli-debugger-ui@npm:14.0.0-alpha.11": - version: 14.0.0-alpha.11 - resolution: "@react-native-community/cli-debugger-ui@npm:14.0.0-alpha.11" +"@react-native-community/cli-debugger-ui@npm:15.0.1": + version: 15.0.1 + resolution: "@react-native-community/cli-debugger-ui@npm:15.0.1" dependencies: serve-static: ^1.13.1 - checksum: c7c36a07fade03dca89b57b27e48ae9b5c706b688d3c77c1387195cf040ac88165f10f73201a89f38c69835e29ea5128ea4bb4ac408784585752aa477755e51b + checksum: a97bb195f3722b91e0acf4c63f4e6956d572f5a275a13be01513b6797bd81ad0b838aa4fc8440131e64c39547c8e83feebb6435a34773269355a497122ed2209 languageName: node linkType: hard -"@react-native-community/cli-doctor@npm:14.0.0": - version: 14.0.0 - resolution: "@react-native-community/cli-doctor@npm:14.0.0" +"@react-native-community/cli-doctor@npm:15.0.1": + version: 15.0.1 + resolution: "@react-native-community/cli-doctor@npm:15.0.1" dependencies: - "@react-native-community/cli-config": 14.0.0 - "@react-native-community/cli-platform-android": 14.0.0 - "@react-native-community/cli-platform-apple": 14.0.0 - "@react-native-community/cli-platform-ios": 14.0.0 - "@react-native-community/cli-tools": 14.0.0 + "@react-native-community/cli-config": 15.0.1 + "@react-native-community/cli-platform-android": 15.0.1 + "@react-native-community/cli-platform-apple": 15.0.1 + "@react-native-community/cli-platform-ios": 15.0.1 + "@react-native-community/cli-tools": 15.0.1 chalk: ^4.1.2 command-exists: ^1.2.8 deepmerge: ^4.3.0 @@ -2605,70 +2518,52 @@ __metadata: strip-ansi: ^5.2.0 wcwidth: ^1.0.1 yaml: ^2.2.1 - checksum: 86bded381c4a3e4d8db9a146879cbf82e132b6405fed86db8998bd5eab6b533d245d6be0dc5e99f3580f9a9636ab9b7ee03491d9293a2fa34ebd36f8227e8699 + checksum: 6df1825df9f563096e48528f16d0bc521aceb2933e864921c8092eeeeeade0893963964897a6145b26a3d4de72ce05259f2d06f873eae64796d8c3815f22f1a5 languageName: node linkType: hard -"@react-native-community/cli-platform-android@npm:14.0.0": - version: 14.0.0 - resolution: "@react-native-community/cli-platform-android@npm:14.0.0" +"@react-native-community/cli-platform-android@npm:15.0.1": + version: 15.0.1 + resolution: "@react-native-community/cli-platform-android@npm:15.0.1" dependencies: - "@react-native-community/cli-tools": 14.0.0 + "@react-native-community/cli-tools": 15.0.1 chalk: ^4.1.2 execa: ^5.0.0 fast-glob: ^3.3.2 - fast-xml-parser: ^4.2.4 + fast-xml-parser: ^4.4.1 logkitty: ^0.7.1 - checksum: 57fee4e7b243354fec87b3e3b8e99c070de39f6d55d265f4917c1def786d5675fb13ff40d50a8c87ef3af57ed5be4c603a776402c77a9279067875188bf5e183 + checksum: 6c5e5912b7c81a6cb9076ae08897470090e1ff20fdaa502d500b4700235f2411942c6e38e3373111efa025dee9a1d3cc71dea6a4c42a89272f0d56b1eeb7b38a languageName: node linkType: hard -"@react-native-community/cli-platform-apple@npm:14.0.0": - version: 14.0.0 - resolution: "@react-native-community/cli-platform-apple@npm:14.0.0" +"@react-native-community/cli-platform-apple@npm:15.0.1": + version: 15.0.1 + resolution: "@react-native-community/cli-platform-apple@npm:15.0.1" dependencies: - "@react-native-community/cli-tools": 14.0.0 + "@react-native-community/cli-config-apple": 15.0.1 + "@react-native-community/cli-tools": 15.0.1 chalk: ^4.1.2 execa: ^5.0.0 - fast-glob: ^3.3.2 - fast-xml-parser: ^4.2.4 - ora: ^5.4.1 - checksum: 17c2bad66108c11af6355d4c41b6433974c1c028eb23fb3ccaaccca53e2463f9e0ab4a3daea2152aa0bca4818a3dafbb64dedd3a47127883e0270621c9603c40 - languageName: node - linkType: hard - -"@react-native-community/cli-platform-ios@npm:14.0.0": - version: 14.0.0 - resolution: "@react-native-community/cli-platform-ios@npm:14.0.0" - dependencies: - "@react-native-community/cli-platform-apple": 14.0.0 - checksum: 41dab22395c8f3c03d0725e4d986d8d434b3560da16ae83b75d40210cd0ff7c3340d5f48ccd8dbd94ed2c4a6ee863670e0e5f1a06a4415334511ca38b53f7d18 + fast-xml-parser: ^4.4.1 + checksum: 27278ff8790fddc220cba9daa4b05cb027403b7c3b81cd3f025b09f52ceccd41f68e86b71d493794eadc2d54fa4a5f6a1032608c4ec7ce928cc1985dce7b9bd2 languageName: node linkType: hard -"@react-native-community/cli-server-api@npm:14.0.0": - version: 14.0.0 - resolution: "@react-native-community/cli-server-api@npm:14.0.0" +"@react-native-community/cli-platform-ios@npm:15.0.1": + version: 15.0.1 + resolution: "@react-native-community/cli-platform-ios@npm:15.0.1" dependencies: - "@react-native-community/cli-debugger-ui": 14.0.0 - "@react-native-community/cli-tools": 14.0.0 - compression: ^1.7.1 - connect: ^3.6.5 - errorhandler: ^1.5.1 - nocache: ^3.0.1 - pretty-format: ^26.6.2 - serve-static: ^1.13.1 - ws: ^6.2.3 - checksum: f97a08b872feaadad73313a245518c2d8b9b6c0c9d10d6c678afeca6f1cab4d07c67cae9f8ea343afc293fc8f0855192a671beb79adf8da386f7e885afff4cf3 + "@react-native-community/cli-platform-apple": 15.0.1 + checksum: 27b4775af43ce06e9315fda54f299e96405975c44d20a495443074d2818fc085dcb85cf2d2e6581990b71ab2e9ffc7d88666337bec8eb9412e80abf8dd793851 languageName: node linkType: hard -"@react-native-community/cli-server-api@npm:14.0.0-alpha.11": - version: 14.0.0-alpha.11 - resolution: "@react-native-community/cli-server-api@npm:14.0.0-alpha.11" +"@react-native-community/cli-server-api@npm:15.0.1": + version: 15.0.1 + resolution: "@react-native-community/cli-server-api@npm:15.0.1" dependencies: - "@react-native-community/cli-debugger-ui": 14.0.0-alpha.11 - "@react-native-community/cli-tools": 14.0.0-alpha.11 + "@react-native-community/cli-debugger-ui": 15.0.1 + "@react-native-community/cli-tools": 15.0.1 compression: ^1.7.1 connect: ^3.6.5 errorhandler: ^1.5.1 @@ -2676,31 +2571,13 @@ __metadata: pretty-format: ^26.6.2 serve-static: ^1.13.1 ws: ^6.2.3 - checksum: da0f3233bcc90efd5000fe0afb1975c57114b5130797f807123cf6ec9d8d055909eaaf40101222447c07e1ff33db13d64042e00cc348fca15e407e4cb323ad84 + checksum: 354eba589433251a56db7edf005886aa3c4886ff70f52b999db7c3718435f01a3f1081bc56cc681a1b7de2fa50ea4891c4ea673fe0a02eb855ecbc001bd86654 languageName: node linkType: hard -"@react-native-community/cli-tools@npm:14.0.0": - version: 14.0.0 - resolution: "@react-native-community/cli-tools@npm:14.0.0" - dependencies: - appdirsjs: ^1.2.4 - chalk: ^4.1.2 - execa: ^5.0.0 - find-up: ^5.0.0 - mime: ^2.4.1 - open: ^6.2.0 - ora: ^5.4.1 - semver: ^7.5.2 - shell-quote: ^1.7.3 - sudo-prompt: ^9.0.0 - checksum: 9fac95bdac9dd75bc0f7dbc4bbdb490b63271ba7f1e71730cae662d654e2bfb471f1c71f4953638a23938651b3284d587dde57130a9f200ff4aa0c5538d55233 - languageName: node - linkType: hard - -"@react-native-community/cli-tools@npm:14.0.0-alpha.11": - version: 14.0.0-alpha.11 - resolution: "@react-native-community/cli-tools@npm:14.0.0-alpha.11" +"@react-native-community/cli-tools@npm:15.0.1": + version: 15.0.1 + resolution: "@react-native-community/cli-tools@npm:15.0.1" dependencies: appdirsjs: ^1.2.4 chalk: ^4.1.2 @@ -2709,33 +2586,34 @@ __metadata: mime: ^2.4.1 open: ^6.2.0 ora: ^5.4.1 + prompts: ^2.4.2 semver: ^7.5.2 shell-quote: ^1.7.3 sudo-prompt: ^9.0.0 - checksum: eb058335ad83c333709e50f6f8fd53a88e4a392cd710f1e3cc5ac5931aa1b0543da78c1aa82b5cb7834ce19a21fbd3b820a39632cb54fd179358674581e0078d + checksum: 0c40d5aa2306a2bfc1ee15362d045b0eff3cb162dd1b070f504508b2bbdd00c791151cf9f8679d248b4480b75b758e60b8d0cf3c19a19a02b4b4ece9928a119c languageName: node linkType: hard -"@react-native-community/cli-types@npm:14.0.0": - version: 14.0.0 - resolution: "@react-native-community/cli-types@npm:14.0.0" +"@react-native-community/cli-types@npm:15.0.1": + version: 15.0.1 + resolution: "@react-native-community/cli-types@npm:15.0.1" dependencies: joi: ^17.2.1 - checksum: a0e4b26da8cc600d133b60f7a74fc1375144f974bf7d453b197091e65af0e69ac0bad42eb957da6c27364c82f1126d4a6bc6b0352ea838366679fac940df9729 + checksum: 77452486158afcf1f03a3596135b6dba16dba5dd10209dacd5a6a4b176df36d37b8e49af61590d5a64df4907cf0575b6f37e0a3893335f961a9380edaee32152 languageName: node linkType: hard -"@react-native-community/cli@npm:14.0.0": - version: 14.0.0 - resolution: "@react-native-community/cli@npm:14.0.0" - dependencies: - "@react-native-community/cli-clean": 14.0.0 - "@react-native-community/cli-config": 14.0.0 - "@react-native-community/cli-debugger-ui": 14.0.0 - "@react-native-community/cli-doctor": 14.0.0 - "@react-native-community/cli-server-api": 14.0.0 - "@react-native-community/cli-tools": 14.0.0 - "@react-native-community/cli-types": 14.0.0 +"@react-native-community/cli@npm:15.0.1": + version: 15.0.1 + resolution: "@react-native-community/cli@npm:15.0.1" + dependencies: + "@react-native-community/cli-clean": 15.0.1 + "@react-native-community/cli-config": 15.0.1 + "@react-native-community/cli-debugger-ui": 15.0.1 + "@react-native-community/cli-doctor": 15.0.1 + "@react-native-community/cli-server-api": 15.0.1 + "@react-native-community/cli-tools": 15.0.1 + "@react-native-community/cli-types": 15.0.1 chalk: ^4.1.2 commander: ^9.4.1 deepmerge: ^4.3.0 @@ -2747,143 +2625,146 @@ __metadata: semver: ^7.5.2 bin: rnc-cli: build/bin.js - checksum: f8504b587291caa773eb85bfe260a2a2aec85b0db4ae55c41f473bacbab368641ea06c6c96b756c13a28d37450f1e715991e23eec7b169db76d84a075856e13d - languageName: node - linkType: hard - -"@react-native/assets-registry@npm:0.75.2": - version: 0.75.2 - resolution: "@react-native/assets-registry@npm:0.75.2" - checksum: 8e43216aa4a5c532d37ad81d8b58483ba51351ab4334c6b04a20996b0a83dfaffa21ef3b4069d6411b1762c58e2ca645dbc14697239f88e548d4320016444c8d - languageName: node - linkType: hard - -"@react-native/babel-plugin-codegen@npm:0.75.2": - version: 0.75.2 - resolution: "@react-native/babel-plugin-codegen@npm:0.75.2" - dependencies: - "@react-native/codegen": 0.75.2 - checksum: 972f30e9d92cc20c8100d1c88d7626a5ef779a202743d1f4143530fe3d37e7a797dd0e0126ea3847e769afc45d9ac5d2f792d76fbe786e778ad0d50c7a62cacd + checksum: 26c98ef67b4b89d3af13f2a3b19e51c7b2de5d320ca908cb628ca22b32bff5a17b8a1cc7f4b0ece303c4e53dc10e8ac0e88df9b376e63ebc97acb8d358f78c2e languageName: node linkType: hard -"@react-native/babel-preset@npm:0.75.2": - version: 0.75.2 - resolution: "@react-native/babel-preset@npm:0.75.2" - dependencies: - "@babel/core": ^7.20.0 - "@babel/plugin-proposal-export-default-from": ^7.0.0 - "@babel/plugin-syntax-dynamic-import": ^7.8.0 - "@babel/plugin-syntax-export-default-from": ^7.0.0 - "@babel/plugin-syntax-flow": ^7.18.0 - "@babel/plugin-syntax-nullish-coalescing-operator": ^7.0.0 - "@babel/plugin-syntax-optional-chaining": ^7.0.0 - "@babel/plugin-transform-arrow-functions": ^7.0.0 - "@babel/plugin-transform-async-generator-functions": ^7.24.3 - "@babel/plugin-transform-async-to-generator": ^7.20.0 - "@babel/plugin-transform-block-scoping": ^7.0.0 - "@babel/plugin-transform-class-properties": ^7.24.1 - "@babel/plugin-transform-classes": ^7.0.0 - "@babel/plugin-transform-computed-properties": ^7.0.0 - "@babel/plugin-transform-destructuring": ^7.20.0 - "@babel/plugin-transform-flow-strip-types": ^7.20.0 - "@babel/plugin-transform-for-of": ^7.0.0 - "@babel/plugin-transform-function-name": ^7.0.0 - "@babel/plugin-transform-literals": ^7.0.0 - "@babel/plugin-transform-logical-assignment-operators": ^7.24.1 - "@babel/plugin-transform-modules-commonjs": ^7.0.0 - "@babel/plugin-transform-named-capturing-groups-regex": ^7.0.0 - "@babel/plugin-transform-nullish-coalescing-operator": ^7.24.1 - "@babel/plugin-transform-numeric-separator": ^7.24.1 - "@babel/plugin-transform-object-rest-spread": ^7.24.5 - "@babel/plugin-transform-optional-catch-binding": ^7.24.1 - "@babel/plugin-transform-optional-chaining": ^7.24.5 - "@babel/plugin-transform-parameters": ^7.0.0 - "@babel/plugin-transform-private-methods": ^7.22.5 - "@babel/plugin-transform-private-property-in-object": ^7.22.11 - "@babel/plugin-transform-react-display-name": ^7.0.0 - "@babel/plugin-transform-react-jsx": ^7.0.0 - "@babel/plugin-transform-react-jsx-self": ^7.0.0 - "@babel/plugin-transform-react-jsx-source": ^7.0.0 - "@babel/plugin-transform-regenerator": ^7.20.0 - "@babel/plugin-transform-runtime": ^7.0.0 - "@babel/plugin-transform-shorthand-properties": ^7.0.0 - "@babel/plugin-transform-spread": ^7.0.0 - "@babel/plugin-transform-sticky-regex": ^7.0.0 - "@babel/plugin-transform-typescript": ^7.5.0 - "@babel/plugin-transform-unicode-regex": ^7.0.0 - "@babel/template": ^7.0.0 - "@react-native/babel-plugin-codegen": 0.75.2 - babel-plugin-transform-flow-enums: ^0.0.2 - react-refresh: ^0.14.0 - peerDependencies: - "@babel/core": "*" - checksum: 8cadcf7b5f7770841bccf4aade6da617bc5d673392a5b0cdd9a427760f4a3b47fe24afd518859080320e13d2f6c5b815b05480e8ca60a957a9b6032864a09ed5 +"@react-native/assets-registry@npm:0.78.0": + version: 0.78.0 + resolution: "@react-native/assets-registry@npm:0.78.0" + checksum: fe61cd523bfa2f837727e61caf664fbf28da804d9066ddfe2153cf0aa773d410ab668159721d2e5969bf8e38d564a8f41d6a401dfb9e30c0f6901354792a58ae languageName: node linkType: hard -"@react-native/codegen@npm:0.75.2": - version: 0.75.2 - resolution: "@react-native/codegen@npm:0.75.2" +"@react-native/babel-plugin-codegen@npm:0.78.0": + version: 0.78.0 + resolution: "@react-native/babel-plugin-codegen@npm:0.78.0" dependencies: - "@babel/parser": ^7.20.0 - glob: ^7.1.1 - hermes-parser: 0.22.0 - invariant: ^2.2.4 - jscodeshift: ^0.14.0 - mkdirp: ^0.5.1 - nullthrows: ^1.1.1 - yargs: ^17.6.2 - peerDependencies: - "@babel/preset-env": ^7.1.6 - checksum: 13fa73f36f9bb018bdd525a49643524baf5fb564332e5058846f2630ab6db33fb6f5f784d42ff1176190f013abbcef5839ea448bcb954455c2eaf9eddd49ec98 + "@babel/traverse": ^7.25.3 + "@react-native/codegen": 0.78.0 + checksum: 9407d1186c05e6af8b6148a9350578ea1c24cee427ae567b1d9ed5ab519387aa087026ca3a6858f9cc87548137ece0fe19b2cef2c2121918aae38b1f7580352c languageName: node linkType: hard -"@react-native/community-cli-plugin@npm:0.75.2": - version: 0.75.2 - resolution: "@react-native/community-cli-plugin@npm:0.75.2" +"@react-native/babel-preset@npm:0.78.0": + version: 0.78.0 + resolution: "@react-native/babel-preset@npm:0.78.0" dependencies: - "@react-native-community/cli-server-api": 14.0.0-alpha.11 - "@react-native-community/cli-tools": 14.0.0-alpha.11 - "@react-native/dev-middleware": 0.75.2 - "@react-native/metro-babel-transformer": 0.75.2 - chalk: ^4.0.0 - execa: ^5.1.1 - metro: ^0.80.3 - metro-config: ^0.80.3 - metro-core: ^0.80.3 - node-fetch: ^2.2.0 - querystring: ^0.2.1 - readline: ^1.3.0 - checksum: 661fa567059a8ae1aa60acb8369166ac04c10904151eebbb1081d07d513bd7974c30f2093a7ae841fd32aea9cfc63a97d9da9650944dc98fdae9a9597e7e39b1 - languageName: node - linkType: hard - -"@react-native/debugger-frontend@npm:0.75.2": - version: 0.75.2 - resolution: "@react-native/debugger-frontend@npm:0.75.2" - checksum: 101b79cb72941db46290f1495d08caca3bc0f6b9244d4d34d847ad0d1510326c22954f11dc7d252f647c7d157b713ac3744a9f3e28326fc2f37fa2f4f78d81ed - languageName: node + "@babel/core": ^7.25.2 + "@babel/plugin-proposal-export-default-from": ^7.24.7 + "@babel/plugin-syntax-dynamic-import": ^7.8.3 + "@babel/plugin-syntax-export-default-from": ^7.24.7 + "@babel/plugin-syntax-nullish-coalescing-operator": ^7.8.3 + "@babel/plugin-syntax-optional-chaining": ^7.8.3 + "@babel/plugin-transform-arrow-functions": ^7.24.7 + "@babel/plugin-transform-async-generator-functions": ^7.25.4 + "@babel/plugin-transform-async-to-generator": ^7.24.7 + "@babel/plugin-transform-block-scoping": ^7.25.0 + "@babel/plugin-transform-class-properties": ^7.25.4 + "@babel/plugin-transform-classes": ^7.25.4 + "@babel/plugin-transform-computed-properties": ^7.24.7 + "@babel/plugin-transform-destructuring": ^7.24.8 + "@babel/plugin-transform-flow-strip-types": ^7.25.2 + "@babel/plugin-transform-for-of": ^7.24.7 + "@babel/plugin-transform-function-name": ^7.25.1 + "@babel/plugin-transform-literals": ^7.25.2 + "@babel/plugin-transform-logical-assignment-operators": ^7.24.7 + "@babel/plugin-transform-modules-commonjs": ^7.24.8 + "@babel/plugin-transform-named-capturing-groups-regex": ^7.24.7 + "@babel/plugin-transform-nullish-coalescing-operator": ^7.24.7 + "@babel/plugin-transform-numeric-separator": ^7.24.7 + "@babel/plugin-transform-object-rest-spread": ^7.24.7 + "@babel/plugin-transform-optional-catch-binding": ^7.24.7 + "@babel/plugin-transform-optional-chaining": ^7.24.8 + "@babel/plugin-transform-parameters": ^7.24.7 + "@babel/plugin-transform-private-methods": ^7.24.7 + "@babel/plugin-transform-private-property-in-object": ^7.24.7 + "@babel/plugin-transform-react-display-name": ^7.24.7 + "@babel/plugin-transform-react-jsx": ^7.25.2 + "@babel/plugin-transform-react-jsx-self": ^7.24.7 + "@babel/plugin-transform-react-jsx-source": ^7.24.7 + "@babel/plugin-transform-regenerator": ^7.24.7 + "@babel/plugin-transform-runtime": ^7.24.7 + "@babel/plugin-transform-shorthand-properties": ^7.24.7 + "@babel/plugin-transform-spread": ^7.24.7 + "@babel/plugin-transform-sticky-regex": ^7.24.7 + "@babel/plugin-transform-typescript": ^7.25.2 + "@babel/plugin-transform-unicode-regex": ^7.24.7 + "@babel/template": ^7.25.0 + "@react-native/babel-plugin-codegen": 0.78.0 + babel-plugin-syntax-hermes-parser: 0.25.1 + babel-plugin-transform-flow-enums: ^0.0.2 + react-refresh: ^0.14.0 + peerDependencies: + "@babel/core": "*" + checksum: 19481456658a815a2a5cc4fdcb8955e282da10f3eaa78a086adbcdd07df7463360acdf76295d827f5293398d0d4a8633196e732509137c6d31489742ca6e960f + languageName: node + linkType: hard + +"@react-native/codegen@npm:0.78.0": + version: 0.78.0 + resolution: "@react-native/codegen@npm:0.78.0" + dependencies: + "@babel/parser": ^7.25.3 + glob: ^7.1.1 + hermes-parser: 0.25.1 + invariant: ^2.2.4 + jscodeshift: ^17.0.0 + nullthrows: ^1.1.1 + yargs: ^17.6.2 + peerDependencies: + "@babel/preset-env": ^7.1.6 + checksum: f79901964deab8f9a2cf740a895a94a7f021df137493ef9e2a68e9bb84012c7e999cf00ad9a6506d326d1d82b63730d8ddfeb267d0c0ae929ef8e2bdf51a2bee + languageName: node linkType: hard -"@react-native/dev-middleware@npm:0.75.2": - version: 0.75.2 - resolution: "@react-native/dev-middleware@npm:0.75.2" +"@react-native/community-cli-plugin@npm:0.78.0": + version: 0.78.0 + resolution: "@react-native/community-cli-plugin@npm:0.78.0" + dependencies: + "@react-native/dev-middleware": 0.78.0 + "@react-native/metro-babel-transformer": 0.78.0 + chalk: ^4.0.0 + debug: ^2.2.0 + invariant: ^2.2.4 + metro: ^0.81.0 + metro-config: ^0.81.0 + metro-core: ^0.81.0 + readline: ^1.3.0 + semver: ^7.1.3 + peerDependencies: + "@react-native-community/cli-server-api": "*" + peerDependenciesMeta: + "@react-native-community/cli-server-api": + optional: true + checksum: 1358d0cde4f1dfaaeb23ccf2f5591ed3d5fd8ede25123c136ccc56ae78f0d1a3ab0ce88f169707517796023ef066e28a57c7f7385cdb4b1adbd0b0ac1489f6fc + languageName: node + linkType: hard + +"@react-native/debugger-frontend@npm:0.78.0": + version: 0.78.0 + resolution: "@react-native/debugger-frontend@npm:0.78.0" + checksum: 2db660f6c558bd001dd0990c9134aadc623849bdfe0b0477278c394a41be846083121b9c6492d3fb842e3b80400fa257390f71b5f2b3bd72b4606b1404dc2d89 + languageName: node + linkType: hard + +"@react-native/dev-middleware@npm:0.78.0": + version: 0.78.0 + resolution: "@react-native/dev-middleware@npm:0.78.0" dependencies: "@isaacs/ttlcache": ^1.4.1 - "@react-native/debugger-frontend": 0.75.2 + "@react-native/debugger-frontend": 0.78.0 chrome-launcher: ^0.15.2 chromium-edge-launcher: ^0.2.0 connect: ^3.6.5 debug: ^2.2.0 - node-fetch: ^2.2.0 + invariant: ^2.2.4 nullthrows: ^1.1.1 open: ^7.0.3 selfsigned: ^2.4.1 - serve-static: ^1.13.1 - ws: ^6.2.2 - checksum: 837b0b223b1805672aeafc35f424f2f1b3c70d2e32c68a16571dc10134b0b386478e6e530ce682619d120e8aeb99d314c9200a26257ca6d164f3394e377ea1db + serve-static: ^1.16.2 + ws: ^6.2.3 + checksum: cbad028a060871873d0e991419bccf124d7ad24e4c178763aea9cb19335564d4d047e67f58a60ac0c3780cdf38302e577488681f98bd1b7097a178e8a412fd07 languageName: node linkType: hard @@ -2918,143 +2799,70 @@ __metadata: languageName: node linkType: hard -"@react-native/gradle-plugin@npm:0.75.2": - version: 0.75.2 - resolution: "@react-native/gradle-plugin@npm:0.75.2" - checksum: 7b1fbc2dba386f2b7ec009a05d3ea508051d6002f095fc9c9aa412e9c51f5d9c1e0b416e0fc01be3e1e847c43d348d403baf9f73cea3b9c6635916109c033ec7 +"@react-native/gradle-plugin@npm:0.78.0": + version: 0.78.0 + resolution: "@react-native/gradle-plugin@npm:0.78.0" + checksum: 4ae9dc30a4df0dc40d65f39441369714a25f1ed65b6d898fa6726df6eea97c42fdb126dc2b48c761f0f32d7c297727e41d5939c6251813fc1b4f4335a643cc25 languageName: node linkType: hard -"@react-native/js-polyfills@npm:0.75.2": - version: 0.75.2 - resolution: "@react-native/js-polyfills@npm:0.75.2" - checksum: 65c903cba17d9dd68f0fd8261d6cdecddf36841583fd47fa190d6256b0e1fee6b09e9044fd5ab6665f2e3a4de0c322139457c5ecc25398e362954cdeecf9d361 +"@react-native/js-polyfills@npm:0.78.0": + version: 0.78.0 + resolution: "@react-native/js-polyfills@npm:0.78.0" + checksum: 6ccfc6d8c2947d5ab2f28fb0769e1771ca8097c9155139b1379afa2cd29ce53375eac437182e43a73b1c1f7ec907ec699603d960ea4d955bc7b787393b68712f languageName: node linkType: hard -"@react-native/metro-babel-transformer@npm:0.75.2": - version: 0.75.2 - resolution: "@react-native/metro-babel-transformer@npm:0.75.2" +"@react-native/metro-babel-transformer@npm:0.78.0": + version: 0.78.0 + resolution: "@react-native/metro-babel-transformer@npm:0.78.0" dependencies: - "@babel/core": ^7.20.0 - "@react-native/babel-preset": 0.75.2 - hermes-parser: 0.22.0 + "@babel/core": ^7.25.2 + "@react-native/babel-preset": 0.78.0 + hermes-parser: 0.25.1 nullthrows: ^1.1.1 peerDependencies: "@babel/core": "*" - checksum: 670a068b225d6133668c0b6d00649fbf459ab11bd37e53e3eee3e1134303dde739ad1106dc96ff605713e6fcb4bf7d39b7e6ebcbab9ceade117d79274def3f5b - languageName: node - linkType: hard - -"@react-native/metro-config@npm:0.75.2": - version: 0.75.2 - resolution: "@react-native/metro-config@npm:0.75.2" - dependencies: - "@react-native/js-polyfills": 0.75.2 - "@react-native/metro-babel-transformer": 0.75.2 - metro-config: ^0.80.3 - metro-runtime: ^0.80.3 - checksum: 426935e9fe73726aad8d877a475027aa07ffab5b82308df0ce159e92d8fc85eb8d2643e9d6a73f74a11a058397deb8138d1d7452022eff3bd03b18edc7965a39 + checksum: 31ba2e77e2996d3b7c1591c9de234c852b1c58184d67faa9608d51c08e68bcc9c91bd92734a1dea93a100f9f179a94f049e8bbeab331db26d536a83f9a3f68b2 languageName: node linkType: hard -"@react-native/normalize-colors@npm:0.75.2": - version: 0.75.2 - resolution: "@react-native/normalize-colors@npm:0.75.2" - checksum: 7edee899ba4848ab19ff2127fdcef3d741a6c93de2f69d20f34a049d435d374493051a41d53a13ebc7e8d54643e8dd2bc55d45b93ee27c2f14fe2aa7de9a43ee +"@react-native/normalize-colors@npm:0.78.0": + version: 0.78.0 + resolution: "@react-native/normalize-colors@npm:0.78.0" + checksum: 77027fe873cf8879284e77c0a5b7547c6c6be430668a8719a92b934c14c4ec9c669e10d2db0371e1be8bfde79c8ae306f4191a35c9937ae2161c2c2cbb966d22 languageName: node linkType: hard -"@react-native/typescript-config@npm:0.75.2": - version: 0.75.2 - resolution: "@react-native/typescript-config@npm:0.75.2" - checksum: 51970739c26a1a44523d1bc8e917db2bd8f8236976261be6d3fb09ad112ccb1263a9ea77f6f5d9d01ab3cbf65737d8bb9a810006d25caed45f385a457d1bf00e - languageName: node - linkType: hard - -"@react-native/virtualized-lists@npm:0.75.2": - version: 0.75.2 - resolution: "@react-native/virtualized-lists@npm:0.75.2" +"@react-native/virtualized-lists@npm:0.78.0": + version: 0.78.0 + resolution: "@react-native/virtualized-lists@npm:0.78.0" dependencies: invariant: ^2.2.4 nullthrows: ^1.1.1 peerDependencies: - "@types/react": ^18.2.6 + "@types/react": ^19.0.0 react: "*" react-native: "*" peerDependenciesMeta: "@types/react": optional: true - checksum: 5df5db9bf054311b8410558a56d126ce88f55032f014c55ee4f679ca280cc8c14d7ab25029e2f7ef432c27f22c80a238a148c2cab0a596848b9ed30783e84427 + checksum: 028b6d958c245bc128f525a45ac19ebd9813820c9d14a21924e9cfa891994386d17d2898684a7732ebf02d76e234aa7544e10e27c9bdcb808a8c3deda14bfecc languageName: node linkType: hard -"@release-it/conventional-changelog@npm:^5.0.0": - version: 5.1.1 - resolution: "@release-it/conventional-changelog@npm:5.1.1" +"@release-it/conventional-changelog@npm:^9.0.2": + version: 9.0.4 + resolution: "@release-it/conventional-changelog@npm:9.0.4" dependencies: concat-stream: ^2.0.0 - conventional-changelog: ^3.1.25 - conventional-recommended-bump: ^6.1.0 - semver: 7.3.8 - peerDependencies: - release-it: ^15.4.1 - checksum: 15ade4ab88dabea7664b28494db035707eb84acc897b51472142abcac6c6acae0e90f9db7d8c93bb1de697678e7321d31192362565c538d4f62a4e7600bc30b2 - languageName: node - linkType: hard - -"@rnx-kit/metro-config@npm:^1.3.17": - version: 1.3.17 - resolution: "@rnx-kit/metro-config@npm:1.3.17" - dependencies: - "@rnx-kit/tools-node": ^2.0.0 - "@rnx-kit/tools-react-native": ^1.4.1 - "@rnx-kit/tools-workspaces": ^0.1.3 - peerDependencies: - "@react-native/metro-config": "*" - react: "*" - react-native: "*" - peerDependenciesMeta: - "@react-native/metro-config": - optional: true - checksum: bf78110905047ec1147494fdee7b42ca9703ca6c04a7e918c9bc8e629c98cda1ac57fa8819a4dc28a52cedccda1a396a52359c653fba7f5becfffa67897b028e - languageName: node - linkType: hard - -"@rnx-kit/react-native-host@npm:^0.4.12": - version: 0.4.12 - resolution: "@rnx-kit/react-native-host@npm:0.4.12" + conventional-changelog: ^6.0.0 + conventional-recommended-bump: ^10.0.0 + git-semver-tags: ^8.0.0 + semver: ^7.6.3 peerDependencies: - react-native: ">=0.66" - checksum: edba632e9f4cccf88afcfd6ab717db97b93f2cd6bf4ebc04ba26d8d790465368ddf31230be4dc1f643c05535a7e38e8588035d8b0f286a19fe9f4e130271eafb - languageName: node - linkType: hard - -"@rnx-kit/tools-node@npm:^2.0.0, @rnx-kit/tools-node@npm:^2.0.1": - version: 2.1.2 - resolution: "@rnx-kit/tools-node@npm:2.1.2" - checksum: d5d882299adb9ad8d427fadc719191f4c55d64bc88a2d5e46490bb2010ee7ca45728498094c1e3aef6912f1a62095ddf04c1af893bc6d783de1b8b668b0acd1a - languageName: node - linkType: hard - -"@rnx-kit/tools-react-native@npm:^1.4.1": - version: 1.4.1 - resolution: "@rnx-kit/tools-react-native@npm:1.4.1" - dependencies: - "@rnx-kit/tools-node": ^2.0.1 - checksum: 25f066665f4540023fc15efb152fc282784bdf6cc2fbef488a82dbebb3cc617df67cbabff1dd828d7d09dd7e21c4c3b371ede3856ee9697140eb03cd8a4fb61a - languageName: node - linkType: hard - -"@rnx-kit/tools-workspaces@npm:^0.1.3": - version: 0.1.6 - resolution: "@rnx-kit/tools-workspaces@npm:0.1.6" - dependencies: - fast-glob: ^3.2.7 - find-up: ^5.0.0 - read-yaml-file: ^2.1.0 - strip-json-comments: ^3.1.1 - checksum: b6e665e45082219ef40fbb1f008583fce2926468abb5f05d7cefc09199895dbd67f136f9d85d2dce2ba6442328cef8dea3baf6f585fdaedcc5fa042f97100151 + release-it: ^17.0.0 + checksum: fbe17cc1d83abd616fa1b02b3c52d964ba6bdc7e5d91984f5bd1aebcdde390b9d7d0e8e3d916dce64f658058429f65a92196d1c978018bb35973e15419272e65 languageName: node linkType: hard @@ -3088,10 +2896,10 @@ __metadata: languageName: node linkType: hard -"@sindresorhus/is@npm:^5.2.0": - version: 5.6.0 - resolution: "@sindresorhus/is@npm:5.6.0" - checksum: 2e6e0c3acf188dcd9aea0f324ac1b6ad04c9fc672392a7b5a1218512fcde066965797eba8b9fe2108657a504388bd4a6664e6e6602555168e828a6df08b9f10e +"@sindresorhus/merge-streams@npm:^2.1.0": + version: 2.3.0 + resolution: "@sindresorhus/merge-streams@npm:2.3.0" + checksum: e989d53dee68d7e49b4ac02ae49178d561c461144cea83f66fa91ff012d981ad0ad2340cbd13f2fdb57989197f5c987ca22a74eb56478626f04e79df84291159 languageName: node linkType: hard @@ -3113,12 +2921,10 @@ __metadata: languageName: node linkType: hard -"@szmarczak/http-timer@npm:^5.0.1": - version: 5.0.1 - resolution: "@szmarczak/http-timer@npm:5.0.1" - dependencies: - defer-to-connect: ^2.0.1 - checksum: fc9cb993e808806692e4a3337c90ece0ec00c89f4b67e3652a356b89730da98bc824273a6d67ca84d5f33cd85f317dcd5ce39d8cc0a2f060145a608a7cb8ce92 +"@tootallnate/quickjs-emscripten@npm:^0.23.0": + version: 0.23.0 + resolution: "@tootallnate/quickjs-emscripten@npm:0.23.0" + checksum: c350a2947ffb80b22e14ff35099fd582d1340d65723384a0fd0515e905e2534459ad2f301a43279a37308a27c99273c932e64649abd57d0bb3ca8c557150eccc languageName: node linkType: hard @@ -3200,13 +3006,6 @@ __metadata: languageName: node linkType: hard -"@types/http-cache-semantics@npm:^4.0.2": - version: 4.0.4 - resolution: "@types/http-cache-semantics@npm:4.0.4" - checksum: 7f4dd832e618bc1e271be49717d7b4066d77c2d4eed5b81198eb987e532bb3e1c7e02f45d77918185bad936f884b700c10cebe06305f50400f382ab75055f9e8 - languageName: node - linkType: hard - "@types/istanbul-lib-coverage@npm:*, @types/istanbul-lib-coverage@npm:^2.0.0, @types/istanbul-lib-coverage@npm:^2.0.1": version: 2.0.6 resolution: "@types/istanbul-lib-coverage@npm:2.0.6" @@ -3233,12 +3032,12 @@ __metadata: linkType: hard "@types/jest@npm:^29.5.5": - version: 29.5.12 - resolution: "@types/jest@npm:29.5.12" + version: 29.5.14 + resolution: "@types/jest@npm:29.5.14" dependencies: expect: ^29.0.0 pretty-format: ^29.0.0 - checksum: 19b1efdeed9d9a60a81edc8226cdeae5af7479e493eaed273e01243891c9651f7b8b4c08fc633a7d0d1d379b091c4179bbaa0807af62542325fd72f2dd17ce1c + checksum: 18dba4623f26661641d757c63da2db45e9524c9be96a29ef713c703a9a53792df9ecee9f7365a0858ddbd6440d98fe6b65ca67895ca5884b73cbc7ffc11f3838 languageName: node linkType: hard @@ -3266,11 +3065,11 @@ __metadata: linkType: hard "@types/node@npm:*": - version: 22.5.2 - resolution: "@types/node@npm:22.5.2" + version: 22.13.10 + resolution: "@types/node@npm:22.13.10" dependencies: - undici-types: ~6.19.2 - checksum: 5e47839dd1919b39927a5552137ded5d3f18d9ff7729083ba851d640a6a0997ee747b9e2cf4c8a1f8418ad92ef7f0ada4fdc2d005dad2efb39fa80a5c7f6d23d + undici-types: ~6.20.0 + checksum: 1cd6b899df728732c60c0defad63e26ca18d87a3b81bd75666fe9aed6cdf9e488433976b22ffcabfdeef9d351cf8ff94853b0686e6708ef62065482ccf5b0a6e languageName: node linkType: hard @@ -3281,7 +3080,7 @@ __metadata: languageName: node linkType: hard -"@types/normalize-package-data@npm:^2.4.0": +"@types/normalize-package-data@npm:^2.4.0, @types/normalize-package-data@npm:^2.4.3": version: 2.4.4 resolution: "@types/normalize-package-data@npm:2.4.4" checksum: 65dff72b543997b7be8b0265eca7ace0e34b75c3e5fee31de11179d08fa7124a7a5587265d53d0409532ecb7f7fba662c2012807963e1f9b059653ec2c83ee05 @@ -3289,23 +3088,23 @@ __metadata: linkType: hard "@types/prop-types@npm:*": - version: 15.7.12 - resolution: "@types/prop-types@npm:15.7.12" - checksum: ac16cc3d0a84431ffa5cfdf89579ad1e2269549f32ce0c769321fdd078f84db4fbe1b461ed5a1a496caf09e637c0e367d600c541435716a55b1d9713f5035dfe + version: 15.7.14 + resolution: "@types/prop-types@npm:15.7.14" + checksum: d0c5407b9ccc3dd5fae0ccf9b1007e7622ba5e6f1c18399b4f24dff33619d469da4b9fa918a374f19dc0d9fe6a013362aab0b844b606cfc10676efba3f5f736d languageName: node linkType: hard "@types/react@npm:^18.2.44": - version: 18.3.5 - resolution: "@types/react@npm:18.3.5" + version: 18.3.18 + resolution: "@types/react@npm:18.3.18" dependencies: "@types/prop-types": "*" csstype: ^3.0.2 - checksum: 63d2ff473b348c902b68c20be55d2c5124d078c4336c2d1778f316c27789ed596657e8e714022ce14fb24994b0960fc64c913e629bb0bf85815355b0c31eb46b + checksum: 5933597bc9f53e282f0438f0bb76d0f0fab60faabe760ea806e05ffe6f5c61b9b4d363e1a03a8fea47c510d493c6cf926cdeeba9f7074fa97b61940c350245e7 languageName: node linkType: hard -"@types/semver@npm:^7.3.12": +"@types/semver@npm:^7.3.12, @types/semver@npm:^7.5.5": version: 7.5.8 resolution: "@types/semver@npm:7.5.8" checksum: ea6f5276f5b84c55921785a3a27a3cd37afee0111dfe2bcb3e03c31819c197c782598f17f0b150a69d453c9584cd14c4c4d7b9a55d2c5e6cacd4d66fdb3b3663 @@ -3466,13 +3265,13 @@ __metadata: linkType: hard "@ungap/structured-clone@npm:^1.2.0": - version: 1.2.0 - resolution: "@ungap/structured-clone@npm:1.2.0" - checksum: 4f656b7b4672f2ce6e272f2427d8b0824ed11546a601d8d5412b9d7704e83db38a8d9f402ecdf2b9063fc164af842ad0ec4a55819f621ed7e7ea4d1efcc74524 + version: 1.3.0 + resolution: "@ungap/structured-clone@npm:1.3.0" + checksum: 64ed518f49c2b31f5b50f8570a1e37bde3b62f2460042c50f132430b2d869c4a6586f13aa33a58a4722715b8158c68cae2827389d6752ac54da2893c83e480fc languageName: node linkType: hard -"JSONStream@npm:^1.0.4, JSONStream@npm:^1.3.5": +"JSONStream@npm:^1.3.5": version: 1.3.5 resolution: "JSONStream@npm:1.3.5" dependencies: @@ -3484,10 +3283,10 @@ __metadata: languageName: node linkType: hard -"abbrev@npm:^2.0.0": - version: 2.0.0 - resolution: "abbrev@npm:2.0.0" - checksum: 0e994ad2aa6575f94670d8a2149afe94465de9cedaaaac364e7fb43a40c3691c980ff74899f682f4ca58fa96b4cbd7421a015d3a6defe43a442117d7821a2f36 +"abbrev@npm:^3.0.0": + version: 3.0.0 + resolution: "abbrev@npm:3.0.0" + checksum: 2500075b5ef85e97c095ab6ab2ea640dcf90bb388f46398f4d347b296f53399f984ec9462c74bee81df6bba56ef5fd9dbc2fb29076b1feb0023e0f52d43eb984 languageName: node linkType: hard @@ -3500,7 +3299,7 @@ __metadata: languageName: node linkType: hard -"accepts@npm:^1.3.7, accepts@npm:~1.3.5, accepts@npm:~1.3.7": +"accepts@npm:^1.3.7, accepts@npm:~1.3.7": version: 1.3.8 resolution: "accepts@npm:1.3.8" dependencies: @@ -3519,21 +3318,21 @@ __metadata: languageName: node linkType: hard -"acorn-walk@npm:^8.1.1, acorn-walk@npm:^8.2.0": - version: 8.3.3 - resolution: "acorn-walk@npm:8.3.3" +"acorn-walk@npm:^8.1.1": + version: 8.3.4 + resolution: "acorn-walk@npm:8.3.4" dependencies: acorn: ^8.11.0 - checksum: 0f09d351fc30b69b2b9982bf33dc30f3d35a34e030e5f1ed3c49fc4e3814a192bf3101e4c30912a0595410f5e91bb70ddba011ea73398b3ecbfe41c7334c6dd0 + checksum: 4ff03f42323e7cf90f1683e08606b0f460e1e6ac263d2730e3df91c7665b6f64e696db6ea27ee4bed18c2599569be61f28a8399fa170c611161a348c402ca19c languageName: node linkType: hard -"acorn@npm:^8.11.0, acorn@npm:^8.4.1, acorn@npm:^8.7.0, acorn@npm:^8.8.2, acorn@npm:^8.9.0": - version: 8.12.1 - resolution: "acorn@npm:8.12.1" +"acorn@npm:^8.11.0, acorn@npm:^8.4.1, acorn@npm:^8.8.2, acorn@npm:^8.9.0": + version: 8.14.1 + resolution: "acorn@npm:8.14.1" bin: acorn: bin/acorn - checksum: 677880034aee5bdf7434cc2d25b641d7bedb0b5ef47868a78dadabedccf58e1c5457526d9d8249cd253f2df087e081c3fe7d903b448d8e19e5131a3065b83c07 + checksum: 260d9bb6017a1b6e42d31364687f0258f78eb20210b36ef2baad38fd619d78d4e95ff7dde9b3dbe0d81f137f79a8d651a845363a26e6985997f7b71145dc5e94 languageName: node linkType: hard @@ -3544,12 +3343,10 @@ __metadata: languageName: node linkType: hard -"agent-base@npm:^7.0.2, agent-base@npm:^7.1.0, agent-base@npm:^7.1.1": - version: 7.1.1 - resolution: "agent-base@npm:7.1.1" - dependencies: - debug: ^4.3.4 - checksum: 51c158769c5c051482f9ca2e6e1ec085ac72b5a418a9b31b4e82fe6c0a6699adb94c1c42d246699a587b3335215037091c79e0de512c516f73b6ea844202f037 +"agent-base@npm:^7.1.0, agent-base@npm:^7.1.2": + version: 7.1.3 + resolution: "agent-base@npm:7.1.3" + checksum: 87bb7ee54f5ecf0ccbfcba0b07473885c43ecd76cb29a8db17d6137a19d9f9cd443a2a7c5fd8a3f24d58ad8145f9eb49116344a66b107e1aeab82cf2383f4753 languageName: node linkType: hard @@ -3585,7 +3382,7 @@ __metadata: languageName: node linkType: hard -"ajv@npm:^8.0.0, ajv@npm:^8.11.0": +"ajv@npm:^8.11.0": version: 8.17.1 resolution: "ajv@npm:8.17.1" dependencies: @@ -3648,13 +3445,13 @@ __metadata: linkType: hard "ansi-regex@npm:^6.0.1": - version: 6.0.1 - resolution: "ansi-regex@npm:6.0.1" - checksum: 1ff8b7667cded1de4fa2c9ae283e979fc87036864317da86a2e546725f96406746411d0d85e87a2d12fa5abd715d90006de7fa4fa0477c92321ad3b4c7d4e169 + version: 6.1.0 + resolution: "ansi-regex@npm:6.1.0" + checksum: 495834a53b0856c02acd40446f7130cb0f8284f4a39afdab20d5dc42b2e198b1196119fe887beed8f9055c4ff2055e3b2f6d4641d0be018cdfb64fedf6fc1aac languageName: node linkType: hard -"ansi-styles@npm:^3.2.0, ansi-styles@npm:^3.2.1": +"ansi-styles@npm:^3.2.0": version: 3.2.1 resolution: "ansi-styles@npm:3.2.1" dependencies: @@ -3679,7 +3476,7 @@ __metadata: languageName: node linkType: hard -"ansi-styles@npm:^6.1.0": +"ansi-styles@npm:^6.1.0, ansi-styles@npm:^6.2.1": version: 6.2.1 resolution: "ansi-styles@npm:6.2.1" checksum: ef940f2f0ced1a6347398da88a91da7930c33ecac3c77b72c5905f8b8fe402c52e6fde304ff5347f616e27a742da3f1dc76de98f6866c69251ad0b07a66776d9 @@ -3726,13 +3523,13 @@ __metadata: languageName: node linkType: hard -"array-buffer-byte-length@npm:^1.0.1": - version: 1.0.1 - resolution: "array-buffer-byte-length@npm:1.0.1" +"array-buffer-byte-length@npm:^1.0.1, array-buffer-byte-length@npm:^1.0.2": + version: 1.0.2 + resolution: "array-buffer-byte-length@npm:1.0.2" dependencies: - call-bind: ^1.0.5 - is-array-buffer: ^3.0.4 - checksum: 53524e08f40867f6a9f35318fafe467c32e45e9c682ba67b11943e167344d2febc0f6977a17e699b05699e805c3e8f073d876f8bbf1b559ed494ad2cd0fae09e + call-bound: ^1.0.3 + is-array-buffer: ^3.0.5 + checksum: 0ae3786195c3211b423e5be8dd93357870e6fb66357d81da968c2c39ef43583ef6eece1f9cb1caccdae4806739c65dea832b44b8593414313cd76a89795fca63 languageName: node linkType: hard @@ -3779,40 +3576,26 @@ __metadata: linkType: hard "array.prototype.flat@npm:^1.3.1": - version: 1.3.2 - resolution: "array.prototype.flat@npm:1.3.2" - dependencies: - call-bind: ^1.0.2 - define-properties: ^1.2.0 - es-abstract: ^1.22.1 - es-shim-unscopables: ^1.0.0 - checksum: 5d6b4bf102065fb3f43764bfff6feb3295d372ce89591e6005df3d0ce388527a9f03c909af6f2a973969a4d178ab232ffc9236654149173e0e187ec3a1a6b87b - languageName: node - linkType: hard - -"array.prototype.flatmap@npm:^1.3.2": - version: 1.3.2 - resolution: "array.prototype.flatmap@npm:1.3.2" + version: 1.3.3 + resolution: "array.prototype.flat@npm:1.3.3" dependencies: - call-bind: ^1.0.2 - define-properties: ^1.2.0 - es-abstract: ^1.22.1 - es-shim-unscopables: ^1.0.0 - checksum: ce09fe21dc0bcd4f30271f8144083aa8c13d4639074d6c8dc82054b847c7fc9a0c97f857491f4da19d4003e507172a78f4bcd12903098adac8b9cd374f734be3 + call-bind: ^1.0.8 + define-properties: ^1.2.1 + es-abstract: ^1.23.5 + es-shim-unscopables: ^1.0.2 + checksum: 5d5a7829ab2bb271a8d30a1c91e6271cef0ec534593c0fe6d2fb9ebf8bb62c1e5326e2fddcbbcbbe5872ca04f5e6b54a1ecf092e0af704fb538da9b2bfd95b40 languageName: node linkType: hard -"array.prototype.map@npm:^1.0.5": - version: 1.0.7 - resolution: "array.prototype.map@npm:1.0.7" +"array.prototype.flatmap@npm:^1.3.3": + version: 1.3.3 + resolution: "array.prototype.flatmap@npm:1.3.3" dependencies: - call-bind: ^1.0.7 + call-bind: ^1.0.8 define-properties: ^1.2.1 - es-abstract: ^1.23.2 - es-array-method-boxes-properly: ^1.0.0 - es-object-atoms: ^1.0.0 - is-string: ^1.0.7 - checksum: a6c174b3c31c3f58f2e6a526744f5071099d4b87a391881aaee9ad5edee3ab619858abdf1fe4b43257693e6875afe26ac7c542c5213455c9de0092d3b622f924 + es-abstract: ^1.23.5 + es-shim-unscopables: ^1.0.2 + checksum: 11b4de09b1cf008be6031bb507d997ad6f1892e57dc9153583de6ebca0f74ea403fffe0f203461d359de05048d609f3f480d9b46fed4099652d8b62cc972f284 languageName: node linkType: hard @@ -3829,19 +3612,18 @@ __metadata: languageName: node linkType: hard -"arraybuffer.prototype.slice@npm:^1.0.3": - version: 1.0.3 - resolution: "arraybuffer.prototype.slice@npm:1.0.3" +"arraybuffer.prototype.slice@npm:^1.0.4": + version: 1.0.4 + resolution: "arraybuffer.prototype.slice@npm:1.0.4" dependencies: array-buffer-byte-length: ^1.0.1 - call-bind: ^1.0.5 + call-bind: ^1.0.8 define-properties: ^1.2.1 - es-abstract: ^1.22.3 - es-errors: ^1.2.1 - get-intrinsic: ^1.2.3 + es-abstract: ^1.23.5 + es-errors: ^1.3.0 + get-intrinsic: ^1.2.6 is-array-buffer: ^3.0.4 - is-shared-array-buffer: ^1.0.2 - checksum: 352259cba534dcdd969c92ab002efd2ba5025b2e3b9bead3973150edbdf0696c629d7f4b3f061c5931511e8207bdc2306da614703c820b45dabce39e3daf7e3e + checksum: b1d1fd20be4e972a3779b1569226f6740170dca10f07aa4421d42cefeec61391e79c557cda8e771f5baefe47d878178cd4438f60916ce831813c08132bced765 languageName: node linkType: hard @@ -3859,21 +3641,21 @@ __metadata: languageName: node linkType: hard -"ast-types@npm:0.15.2": - version: 0.15.2 - resolution: "ast-types@npm:0.15.2" +"ast-types@npm:^0.13.4": + version: 0.13.4 + resolution: "ast-types@npm:0.13.4" dependencies: tslib: ^2.0.1 - checksum: 24f0d86bf9e4c8dae16fa24b13c1776f2c2677040bcfbd4eb4f27911db49020be4876885e45e6cfcc548ed4dfea3a0742d77e3346b84fae47379cb0b89e9daa0 + checksum: 5a51f7b70588ecced3601845a0e203279ca2f5fdc184416a0a1640c93ec0a267241d6090a328e78eebb8de81f8754754e0a4f1558ba2a3d638f8ccbd0b1f0eff languageName: node linkType: hard -"ast-types@npm:^0.13.4": - version: 0.13.4 - resolution: "ast-types@npm:0.13.4" +"ast-types@npm:^0.16.1": + version: 0.16.1 + resolution: "ast-types@npm:0.16.1" dependencies: tslib: ^2.0.1 - checksum: 5a51f7b70588ecced3601845a0e203279ca2f5fdc184416a0a1640c93ec0a267241d6090a328e78eebb8de81f8754754e0a4f1558ba2a3d638f8ccbd0b1f0eff + checksum: 21c186da9fdb1d8087b1b7dabbc4059f91aa5a1e593a9776b4393cc1eaa857e741b2dda678d20e34b16727b78fef3ab59cf8f0c75ed1ba649c78fe194e5c114b languageName: node linkType: hard @@ -3884,6 +3666,13 @@ __metadata: languageName: node linkType: hard +"async-function@npm:^1.0.0": + version: 1.0.0 + resolution: "async-function@npm:1.0.0" + checksum: 9102e246d1ed9b37ac36f57f0a6ca55226876553251a31fc80677e71471f463a54c872dc78d5d7f80740c8ba624395cccbe8b60f7b690c4418f487d8e9fd1106 + languageName: node + linkType: hard + "async-limiter@npm:~1.0.0": version: 1.0.1 resolution: "async-limiter@npm:1.0.1" @@ -3900,6 +3689,16 @@ __metadata: languageName: node linkType: hard +"atomically@npm:^2.0.3": + version: 2.0.3 + resolution: "atomically@npm:2.0.3" + dependencies: + stubborn-fs: ^1.2.5 + when-exit: ^2.1.1 + checksum: 4ee528fe35b4bc84cd626f6414cd2b51f04f94c2f6e8ab5c97d056779ef507bdd1e2671056957a031e6b487571fcc0a8627e8660645e6d61c84e561ae71cc8b6 + languageName: node + linkType: hard + "available-typed-arrays@npm:^1.0.7": version: 1.0.7 resolution: "available-typed-arrays@npm:1.0.7" @@ -3909,15 +3708,6 @@ __metadata: languageName: node linkType: hard -"babel-core@npm:^7.0.0-bridge.0": - version: 7.0.0-bridge.0 - resolution: "babel-core@npm:7.0.0-bridge.0" - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: 2a1cb879019dffb08d17bec36e13c3a6d74c94773f41c1fd8b14de13f149cc34b705b0a1e07b42fcf35917b49d78db6ff0c5c3b00b202a5235013d517b5c6bbb - languageName: node - linkType: hard - "babel-jest@npm:^29.7.0": version: 29.7.0 resolution: "babel-jest@npm:29.7.0" @@ -3974,15 +3764,15 @@ __metadata: linkType: hard "babel-plugin-polyfill-corejs2@npm:^0.4.10": - version: 0.4.11 - resolution: "babel-plugin-polyfill-corejs2@npm:0.4.11" + version: 0.4.12 + resolution: "babel-plugin-polyfill-corejs2@npm:0.4.12" dependencies: "@babel/compat-data": ^7.22.6 - "@babel/helper-define-polyfill-provider": ^0.6.2 + "@babel/helper-define-polyfill-provider": ^0.6.3 semver: ^6.3.1 peerDependencies: "@babel/core": ^7.4.0 || ^8.0.0-0 <8.0.0 - checksum: f098353ce7c7dde1a1d2710858e01b471e85689110c9e37813e009072347eb8c55d5f84d20d3bf1cab31755f20078ba90f8855fdc4686a9daa826a95ff280bd7 + checksum: 6e6e6a8b85fec80a310ded2f5c151385e4ac59118909dd6a952e1025e4a478eb79dda45a5a6322cc2e598fd696eb07d4e2fa52418b4101f3dc370bdf8c8939ba languageName: node linkType: hard @@ -3998,14 +3788,35 @@ __metadata: languageName: node linkType: hard +"babel-plugin-polyfill-corejs3@npm:^0.11.0": + version: 0.11.1 + resolution: "babel-plugin-polyfill-corejs3@npm:0.11.1" + dependencies: + "@babel/helper-define-polyfill-provider": ^0.6.3 + core-js-compat: ^3.40.0 + peerDependencies: + "@babel/core": ^7.4.0 || ^8.0.0-0 <8.0.0 + checksum: ee39440475ef377a1570ccbc06b1a1d274cbfbbe2e7c3d4c60f38781a47f00a28bd10d8e23430828b965820c41beb2c93c84596baf72583a2c9c3fdfa4397994 + languageName: node + linkType: hard + "babel-plugin-polyfill-regenerator@npm:^0.6.1": - version: 0.6.2 - resolution: "babel-plugin-polyfill-regenerator@npm:0.6.2" + version: 0.6.3 + resolution: "babel-plugin-polyfill-regenerator@npm:0.6.3" dependencies: - "@babel/helper-define-polyfill-provider": ^0.6.2 + "@babel/helper-define-polyfill-provider": ^0.6.3 peerDependencies: "@babel/core": ^7.4.0 || ^8.0.0-0 <8.0.0 - checksum: 150233571072b6b3dfe946242da39cba8587b7f908d1c006f7545fc88b0e3c3018d445739beb61e7a75835f0c2751dbe884a94ff9b245ec42369d9267e0e1b3f + checksum: d12696e6b3f280eb78fac551619ca4389262db62c7352cd54bf679d830df8b35596eef2de77cf00db6648eada1c99d49c4f40636dbc9c335a1e5420cfef96750 + languageName: node + linkType: hard + +"babel-plugin-syntax-hermes-parser@npm:0.25.1": + version: 0.25.1 + resolution: "babel-plugin-syntax-hermes-parser@npm:0.25.1" + dependencies: + hermes-parser: 0.25.1 + checksum: dc80fafde1aed8e60cf86ecd2e9920e7f35ffe02b33bd4e772daaa786167bcf508aac3fc1aea425ff4c7a0be94d82528f3fe8619b7f41dac853264272d640c04 languageName: node linkType: hard @@ -4083,13 +3894,6 @@ __metadata: languageName: node linkType: hard -"big-integer@npm:^1.6.44": - version: 1.6.52 - resolution: "big-integer@npm:1.6.52" - checksum: 6e86885787a20fed96521958ae9086960e4e4b5e74d04f3ef7513d4d0ad631a9f3bde2730fc8aaa4b00419fc865f6ec573e5320234531ef37505da7da192c40b - languageName: node - linkType: hard - "bl@npm:^4.1.0": version: 4.1.0 resolution: "bl@npm:4.1.0" @@ -4101,39 +3905,19 @@ __metadata: languageName: node linkType: hard -"bl@npm:^5.0.0": - version: 5.1.0 - resolution: "bl@npm:5.1.0" - dependencies: - buffer: ^6.0.3 - inherits: ^2.0.4 - readable-stream: ^3.4.0 - checksum: a7a438ee0bc540e80b8eb68cc1ad759a9c87df06874a99411d701d01cc0b36f30cd20050512ac3e77090138890960e07bfee724f3ee6619bb39a569f5cc3b1bc - languageName: node - linkType: hard - -"boxen@npm:^7.0.0": - version: 7.1.1 - resolution: "boxen@npm:7.1.1" +"boxen@npm:^8.0.1": + version: 8.0.1 + resolution: "boxen@npm:8.0.1" dependencies: ansi-align: ^3.0.1 - camelcase: ^7.0.1 - chalk: ^5.2.0 + camelcase: ^8.0.0 + chalk: ^5.3.0 cli-boxes: ^3.0.0 - string-width: ^5.1.2 - type-fest: ^2.13.0 - widest-line: ^4.0.1 - wrap-ansi: ^8.1.0 - checksum: ad8833d5f2845b0a728fdf8a0bc1505dff0c518edcb0fd56979a08774b1f26cf48b71e66532179ccdfb9ed95b64aa008689cca26f7776f93f002b8000a683d76 - languageName: node - linkType: hard - -"bplist-parser@npm:^0.2.0": - version: 0.2.0 - resolution: "bplist-parser@npm:0.2.0" - dependencies: - big-integer: ^1.6.44 - checksum: d5339dd16afc51de6c88f88f58a45b72ed6a06aa31f5557d09877575f220b7c1d3fbe375da0b62e6a10d4b8ed80523567e351f24014f5bc886ad523758142cdd + string-width: ^7.2.0 + type-fest: ^4.21.0 + widest-line: ^5.0.0 + wrap-ansi: ^9.0.0 + checksum: f42d9e628e03e5c84ac9cda3173f75cadbdf60ed94fc06aaeef79f7c84a8181c4d79a8f40253192a1613993036c81811ad6957f346e5aa6abb7e9d1d799cbfd5 languageName: node linkType: hard @@ -4165,17 +3949,17 @@ __metadata: languageName: node linkType: hard -"browserslist@npm:^4.20.4, browserslist@npm:^4.23.1, browserslist@npm:^4.23.3": - version: 4.23.3 - resolution: "browserslist@npm:4.23.3" +"browserslist@npm:^4.20.4, browserslist@npm:^4.24.0, browserslist@npm:^4.24.4": + version: 4.24.4 + resolution: "browserslist@npm:4.24.4" dependencies: - caniuse-lite: ^1.0.30001646 - electron-to-chromium: ^1.5.4 - node-releases: ^2.0.18 - update-browserslist-db: ^1.1.0 + caniuse-lite: ^1.0.30001688 + electron-to-chromium: ^1.5.73 + node-releases: ^2.0.19 + update-browserslist-db: ^1.1.1 bin: browserslist: cli.js - checksum: 7906064f9970aeb941310b2fcb8b4ace4a1b50aa657c986677c6f1553a8cabcc94ee9c5922f715baffbedaa0e6cf0831b6fed7b059dde6873a4bfadcbe069c7e + checksum: 64074bf6cf0a9ae3094d753270e3eae9cf925149db45d646f0bc67bacc2e46d7ded64a4e835b95f5fdcf0350f63a83c3755b32f80831f643a47f0886deb8a065 languageName: node linkType: hard @@ -4205,37 +3989,27 @@ __metadata: languageName: node linkType: hard -"buffer@npm:^6.0.3": - version: 6.0.3 - resolution: "buffer@npm:6.0.3" - dependencies: - base64-js: ^1.3.1 - ieee754: ^1.2.1 - checksum: 5ad23293d9a731e4318e420025800b42bf0d264004c0286c8cc010af7a270c7a0f6522e84f54b9ad65cbd6db20b8badbfd8d2ebf4f80fa03dab093b89e68c3f9 - languageName: node - linkType: hard - -"bundle-name@npm:^3.0.0": - version: 3.0.0 - resolution: "bundle-name@npm:3.0.0" +"bundle-name@npm:^4.1.0": + version: 4.1.0 + resolution: "bundle-name@npm:4.1.0" dependencies: - run-applescript: ^5.0.0 - checksum: edf2b1fbe6096ed32e7566947ace2ea937ee427391744d7510a2880c4b9a5b3543d3f6c551236a29e5c87d3195f8e2912516290e638c15bcbede7b37cc375615 + run-applescript: ^7.0.0 + checksum: 1d966c8d2dbf4d9d394e53b724ac756c2414c45c01340b37743621f59cc565a435024b394ddcb62b9b335d1c9a31f4640eb648c3fec7f97ee74dc0694c9beb6c languageName: node linkType: hard -"bytes@npm:3.0.0": - version: 3.0.0 - resolution: "bytes@npm:3.0.0" - checksum: a2b386dd8188849a5325f58eef69c3b73c51801c08ffc6963eddc9be244089ba32d19347caf6d145c86f315ae1b1fc7061a32b0c1aa6379e6a719090287ed101 +"bytes@npm:3.1.2": + version: 3.1.2 + resolution: "bytes@npm:3.1.2" + checksum: e4bcd3948d289c5127591fbedf10c0b639ccbf00243504e4e127374a15c3bc8eed0d28d4aaab08ff6f1cf2abc0cce6ba3085ed32f4f90e82a5683ce0014e1b6e languageName: node linkType: hard -"cacache@npm:^18.0.0": - version: 18.0.4 - resolution: "cacache@npm:18.0.4" +"cacache@npm:^19.0.1": + version: 19.0.1 + resolution: "cacache@npm:19.0.1" dependencies: - "@npmcli/fs": ^3.1.0 + "@npmcli/fs": ^4.0.0 fs-minipass: ^3.0.0 glob: ^10.2.2 lru-cache: ^10.0.1 @@ -4243,46 +4017,43 @@ __metadata: minipass-collect: ^2.0.1 minipass-flush: ^1.0.5 minipass-pipeline: ^1.2.4 - p-map: ^4.0.0 - ssri: ^10.0.0 - tar: ^6.1.11 - unique-filename: ^3.0.0 - checksum: b7422c113b4ec750f33beeca0f426a0024c28e3172f332218f48f963e5b970647fa1ac05679fe5bb448832c51efea9fda4456b9a95c3a1af1105fe6c1833cde2 + p-map: ^7.0.2 + ssri: ^12.0.0 + tar: ^7.4.3 + unique-filename: ^4.0.0 + checksum: e95684717de6881b4cdaa949fa7574e3171946421cd8291769dd3d2417dbf7abf4aa557d1f968cca83dcbc95bed2a281072b09abfc977c942413146ef7ed4525 languageName: node linkType: hard -"cacheable-lookup@npm:^7.0.0": - version: 7.0.0 - resolution: "cacheable-lookup@npm:7.0.0" - checksum: 9e2856763fc0a7347ab34d704c010440b819d4bb5e3593b664381b7433e942dd22e67ee5581f12256f908e79b82d30b86ebbacf40a081bfe10ee93fbfbc2d6a9 +"call-bind-apply-helpers@npm:^1.0.0, call-bind-apply-helpers@npm:^1.0.1, call-bind-apply-helpers@npm:^1.0.2": + version: 1.0.2 + resolution: "call-bind-apply-helpers@npm:1.0.2" + dependencies: + es-errors: ^1.3.0 + function-bind: ^1.1.2 + checksum: b2863d74fcf2a6948221f65d95b91b4b2d90cfe8927650b506141e669f7d5de65cea191bf788838bc40d13846b7886c5bc5c84ab96c3adbcf88ad69a72fcdc6b languageName: node linkType: hard -"cacheable-request@npm:^10.2.8": - version: 10.2.14 - resolution: "cacheable-request@npm:10.2.14" +"call-bind@npm:^1.0.7, call-bind@npm:^1.0.8": + version: 1.0.8 + resolution: "call-bind@npm:1.0.8" dependencies: - "@types/http-cache-semantics": ^4.0.2 - get-stream: ^6.0.1 - http-cache-semantics: ^4.1.1 - keyv: ^4.5.3 - mimic-response: ^4.0.0 - normalize-url: ^8.0.0 - responselike: ^3.0.0 - checksum: 56f2b8e1c497c91f8391f0b099d19907a7dde25e71087e622b23e45fc8061736c2a6964ef121b16f377c3c61079cf8dc17320ab54004209d1343e4d26aba7015 + call-bind-apply-helpers: ^1.0.0 + es-define-property: ^1.0.0 + get-intrinsic: ^1.2.4 + set-function-length: ^1.2.2 + checksum: aa2899bce917a5392fd73bd32e71799c37c0b7ab454e0ed13af7f6727549091182aade8bbb7b55f304a5bc436d543241c14090fb8a3137e9875e23f444f4f5a9 languageName: node linkType: hard -"call-bind@npm:^1.0.2, call-bind@npm:^1.0.5, call-bind@npm:^1.0.6, call-bind@npm:^1.0.7": - version: 1.0.7 - resolution: "call-bind@npm:1.0.7" +"call-bound@npm:^1.0.2, call-bound@npm:^1.0.3": + version: 1.0.4 + resolution: "call-bound@npm:1.0.4" dependencies: - es-define-property: ^1.0.0 - es-errors: ^1.3.0 - function-bind: ^1.1.2 - get-intrinsic: ^1.2.4 - set-function-length: ^1.2.1 - checksum: 295c0c62b90dd6522e6db3b0ab1ce26bdf9e7404215bda13cfee25b626b5ff1a7761324d58d38b1ef1607fc65aca2d06e44d2e18d0dfc6c14b465b00d8660029 + call-bind-apply-helpers: ^1.0.2 + get-intrinsic: ^1.3.0 + checksum: 2f6399488d1c272f56306ca60ff696575e2b7f31daf23bc11574798c84d9f2759dceb0cb1f471a85b77f28962a7ac6411f51d283ea2e45319009a19b6ccab3b2 languageName: node linkType: hard @@ -4355,35 +4126,24 @@ __metadata: languageName: node linkType: hard -"camelcase@npm:^7.0.1": - version: 7.0.1 - resolution: "camelcase@npm:7.0.1" - checksum: 86ab8f3ebf08bcdbe605a211a242f00ed30d8bfb77dab4ebb744dd36efbc84432d1c4adb28975ba87a1b8be40a80fbd1e60e2f06565315918fa7350011a26d3d - languageName: node - linkType: hard - -"caniuse-lite@npm:^1.0.30001646": - version: 1.0.30001655 - resolution: "caniuse-lite@npm:1.0.30001655" - checksum: 3739c8f6d0fb55cff3c631d28c4fdafc81ab28756ce17a373428042c06f84a5877288d89fbe41be5ac494dd5092dca38ab91c9304e81935b9f2938419d2c23b3 +"camelcase@npm:^8.0.0": + version: 8.0.0 + resolution: "camelcase@npm:8.0.0" + checksum: 6da7abe997af29e80052f17aa21628c7cce14af364cef9f07a2a44d59614dd6f361d405f121938e673424d673697a8c53ad17be8c4b03b0a727307c4db8b5b5e languageName: node linkType: hard -"chalk@npm:5.2.0": - version: 5.2.0 - resolution: "chalk@npm:5.2.0" - checksum: 03d8060277de6cf2fd567dc25fcf770593eb5bb85f460ce443e49255a30ff1242edd0c90a06a03803b0466ff0687a939b41db1757bec987113e83de89a003caa +"caniuse-lite@npm:^1.0.30001688": + version: 1.0.30001702 + resolution: "caniuse-lite@npm:1.0.30001702" + checksum: ba8e88f0ef09a16f36de805c9491c3047986ab6bb1e0dc66f03067dce5e197be1c98cfaed21867bad851985f775b8d4fa50e7e37537c116a5fe1ae623dfd400c languageName: node linkType: hard -"chalk@npm:^2.4.2": - version: 2.4.2 - resolution: "chalk@npm:2.4.2" - dependencies: - ansi-styles: ^3.2.1 - escape-string-regexp: ^1.0.5 - supports-color: ^5.3.0 - checksum: ec3661d38fe77f681200f878edbd9448821924e0f93a9cefc0e26a33b145f1027a2084bf19967160d11e1f03bfe4eaffcabf5493b89098b2782c3fe0b03d80c2 +"chalk@npm:5.4.1, chalk@npm:^5.3.0": + version: 5.4.1 + resolution: "chalk@npm:5.4.1" + checksum: 0c656f30b782fed4d99198825c0860158901f449a6b12b818b0aabad27ec970389e7e8767d0e00762175b23620c812e70c4fd92c0210e55fc2d993638b74e86e languageName: node linkType: hard @@ -4397,13 +4157,6 @@ __metadata: languageName: node linkType: hard -"chalk@npm:^5.0.0, chalk@npm:^5.0.1, chalk@npm:^5.2.0": - version: 5.3.0 - resolution: "chalk@npm:5.3.0" - checksum: 623922e077b7d1e9dedaea6f8b9e9352921f8ae3afe739132e0e00c275971bdd331268183b2628cf4ab1727c45ea1f28d7e24ac23ce1db1eb653c414ca8a5a80 - languageName: node - linkType: hard - "char-regex@npm:^1.0.2": version: 1.0.2 resolution: "char-regex@npm:1.0.2" @@ -4418,10 +4171,10 @@ __metadata: languageName: node linkType: hard -"chownr@npm:^2.0.0": - version: 2.0.0 - resolution: "chownr@npm:2.0.0" - checksum: c57cf9dd0791e2f18a5ee9c1a299ae6e801ff58fee96dc8bfd0dcb4738a6ce58dd252a3605b1c93c6418fe4f9d5093b28ffbf4d66648cb2a9c67eaef9679be2f +"chownr@npm:^3.0.0": + version: 3.0.0 + resolution: "chownr@npm:3.0.0" + checksum: fd73a4bab48b79e66903fe1cafbdc208956f41ea4f856df883d0c7277b7ab29fd33ee65f93b2ec9192fc0169238f2f8307b7735d27c155821d886b84aa97aa8d languageName: node linkType: hard @@ -4467,10 +4220,17 @@ __metadata: languageName: node linkType: hard +"ci-info@npm:^4.1.0": + version: 4.1.0 + resolution: "ci-info@npm:4.1.0" + checksum: dcf286abdc1bb1c4218b91e4a617b49781b282282089b7188e1417397ea00c6b967848e2360fb9a6b10021bf18a627f20ef698f47c2c9c875aeffd1d2ea51d1e + languageName: node + linkType: hard + "cjs-module-lexer@npm:^1.0.0": - version: 1.4.0 - resolution: "cjs-module-lexer@npm:1.4.0" - checksum: 3dda638a7f31dfee3879a71eff7fe02eb53d887a983ae25918dcc3d804b9fa1fe23acc4d6b4b1d3e1aa1c2cacfa168524db8dfb28e2859cf9be2e4b7f7450d89 + version: 1.4.3 + resolution: "cjs-module-lexer@npm:1.4.3" + checksum: 221a1661a9ff4944b472c85ac7cd5029b2f2dc7f6c5f4ecf887f261503611110b43a48acb6c07f8f04109c772d1637fdb20b31252bf27058f35aa97bf5ad8b12 languageName: node linkType: hard @@ -4506,23 +4266,23 @@ __metadata: languageName: node linkType: hard -"cli-cursor@npm:^4.0.0": - version: 4.0.0 - resolution: "cli-cursor@npm:4.0.0" +"cli-cursor@npm:^5.0.0": + version: 5.0.0 + resolution: "cli-cursor@npm:5.0.0" dependencies: - restore-cursor: ^4.0.0 - checksum: ab3f3ea2076e2176a1da29f9d64f72ec3efad51c0960898b56c8a17671365c26e67b735920530eaf7328d61f8bd41c27f46b9cf6e4e10fe2fa44b5e8c0e392cc + restore-cursor: ^5.0.0 + checksum: 1eb9a3f878b31addfe8d82c6d915ec2330cec8447ab1f117f4aa34f0137fbb3137ec3466e1c9a65bcb7557f6e486d343f2da57f253a2f668d691372dfa15c090 languageName: node linkType: hard -"cli-spinners@npm:^2.5.0, cli-spinners@npm:^2.6.1": +"cli-spinners@npm:^2.5.0, cli-spinners@npm:^2.9.2": version: 2.9.2 resolution: "cli-spinners@npm:2.9.2" checksum: 1bd588289b28432e4676cb5d40505cfe3e53f2e4e10fbe05c8a710a154d6fe0ce7836844b00d6858f740f2ffe67cdc36e0fce9c7b6a8430e80e6388d5aa4956c languageName: node linkType: hard -"cli-width@npm:^4.0.0": +"cli-width@npm:^4.1.0": version: 4.1.0 resolution: "cli-width@npm:4.1.0" checksum: 0a79cff2dbf89ef530bcd54c713703ba94461457b11e5634bd024c78796ed21401e32349c004995954e06f442d82609287e7aabf6a5f02c919a1cf3b9b6854ff @@ -4540,25 +4300,14 @@ __metadata: languageName: node linkType: hard -"cliui@npm:^7.0.2": - version: 7.0.4 - resolution: "cliui@npm:7.0.4" +"cliui@npm:^8.0.1": + version: 8.0.1 + resolution: "cliui@npm:8.0.1" dependencies: string-width: ^4.2.0 - strip-ansi: ^6.0.0 + strip-ansi: ^6.0.1 wrap-ansi: ^7.0.0 - checksum: ce2e8f578a4813806788ac399b9e866297740eecd4ad1823c27fd344d78b22c5f8597d548adbcc46f0573e43e21e751f39446c5a5e804a12aace402b7a315d7f - languageName: node - linkType: hard - -"cliui@npm:^8.0.0, cliui@npm:^8.0.1": - version: 8.0.1 - resolution: "cliui@npm:8.0.1" - dependencies: - string-width: ^4.2.0 - strip-ansi: ^6.0.1 - wrap-ansi: ^7.0.0 - checksum: 79648b3b0045f2e285b76fb2e24e207c6db44323581e421c3acbd0e86454cba1b37aea976ab50195a49e7384b871e6dfb2247ad7dec53c02454ac6497394cb56 + checksum: 79648b3b0045f2e285b76fb2e24e207c6db44323581e421c3acbd0e86454cba1b37aea976ab50195a49e7384b871e6dfb2247ad7dec53c02454ac6497394cb56 languageName: node linkType: hard @@ -4640,6 +4389,13 @@ __metadata: languageName: node linkType: hard +"commander@npm:^12.0.0": + version: 12.1.0 + resolution: "commander@npm:12.1.0" + checksum: 68e9818b00fc1ed9cdab9eb16905551c2b768a317ae69a5e3c43924c2b20ac9bb65b27e1cab36aeda7b6496376d4da908996ba2c0b5d79463e0fb1e77935d514 + languageName: node + linkType: hard + "commander@npm:^2.20.0": version: 2.20.3 resolution: "commander@npm:2.20.3" @@ -4683,7 +4439,7 @@ __metadata: languageName: node linkType: hard -"compressible@npm:~2.0.16": +"compressible@npm:~2.0.18": version: 2.0.18 resolution: "compressible@npm:2.0.18" dependencies: @@ -4693,17 +4449,17 @@ __metadata: linkType: hard "compression@npm:^1.7.1": - version: 1.7.4 - resolution: "compression@npm:1.7.4" + version: 1.8.0 + resolution: "compression@npm:1.8.0" dependencies: - accepts: ~1.3.5 - bytes: 3.0.0 - compressible: ~2.0.16 + bytes: 3.1.2 + compressible: ~2.0.18 debug: 2.6.9 + negotiator: ~0.6.4 on-headers: ~1.0.2 - safe-buffer: 5.1.2 + safe-buffer: 5.2.1 vary: ~1.1.2 - checksum: 35c0f2eb1f28418978615dc1bc02075b34b1568f7f56c62d60f4214d4b7cc00d0f6d282b5f8a954f59872396bd770b6b15ffd8aa94c67d4bce9b8887b906999b + checksum: 12ca3e326b4ccb6b6e51e1d14d96fafd058ddb3be08fe888487d367d42fb4f81f25d4bf77acc517ba724370e7d74469280688baf2da8cad61062bdf62eb9fd45 languageName: node linkType: hard @@ -4736,16 +4492,15 @@ __metadata: languageName: node linkType: hard -"configstore@npm:^6.0.0": - version: 6.0.0 - resolution: "configstore@npm:6.0.0" +"configstore@npm:^7.0.0": + version: 7.0.0 + resolution: "configstore@npm:7.0.0" dependencies: - dot-prop: ^6.0.1 - graceful-fs: ^4.2.6 - unique-string: ^3.0.0 - write-file-atomic: ^3.0.3 - xdg-basedir: ^5.0.1 - checksum: 81995351c10bc04c58507f17748477aeac6f47465109d20e3534cebc881d22e927cfd29e73dd852c46c55f62c2b7be4cd1fe6eb3a93ba51f7f9813c218f9bae0 + atomically: ^2.0.3 + dot-prop: ^9.0.0 + graceful-fs: ^4.2.11 + xdg-basedir: ^5.1.0 + checksum: 1f8f1ca51d10d5ef54a346e12dd82c81918d28144ff5f41af0a6eb65c394c0e3a37d0f91931516d8964efff8fd8802c6478d13a35a6c7924e7a6c83f11d19c16 languageName: node linkType: hard @@ -4761,16 +4516,6 @@ __metadata: languageName: node linkType: hard -"conventional-changelog-angular@npm:^5.0.12": - version: 5.0.13 - resolution: "conventional-changelog-angular@npm:5.0.13" - dependencies: - compare-func: ^2.0.0 - q: ^1.5.1 - checksum: 6ed4972fce25a50f9f038c749cc9db501363131b0fb2efc1fccecba14e4b1c80651d0d758d4c350a609f32010c66fa343eefd49c02e79e911884be28f53f3f90 - languageName: node - linkType: hard - "conventional-changelog-angular@npm:^6.0.0": version: 6.0.0 resolution: "conventional-changelog-angular@npm:6.0.0" @@ -4780,32 +4525,26 @@ __metadata: languageName: node linkType: hard -"conventional-changelog-atom@npm:^2.0.8": - version: 2.0.8 - resolution: "conventional-changelog-atom@npm:2.0.8" +"conventional-changelog-angular@npm:^8.0.0": + version: 8.0.0 + resolution: "conventional-changelog-angular@npm:8.0.0" dependencies: - q: ^1.5.1 - checksum: 12ecbd928f8c261f9afaac067fcc0cf10ff6ac8505e4285dc3d9959ee072a8937ac942d505e850dce27c4527046009adb22b498ba0b10802916d2c7d2dc1f7bc + compare-func: ^2.0.0 + checksum: 71f492cb4dccd46174430517177054be2e2097f1264c55419a79aa94fe4d163f98aeab7da6836473470fbfc920051a9554f46498989bdd6438648c2d7e32b42c languageName: node linkType: hard -"conventional-changelog-codemirror@npm:^2.0.8": - version: 2.0.8 - resolution: "conventional-changelog-codemirror@npm:2.0.8" - dependencies: - q: ^1.5.1 - checksum: cf331db40cc54c2353b0189aba26a2b959cb08b059bf2a81245272027371519c9acc90d574295782985829c50f0c52da60c952c70ec6dbd70e9e17affeb61453 +"conventional-changelog-atom@npm:^5.0.0": + version: 5.0.0 + resolution: "conventional-changelog-atom@npm:5.0.0" + checksum: bc35ec5476b81544b534c3e31ff3a8f59b6484c3fd34c93303e6709c83870ea7f6923e0b97052bbbc118d4cc2d3de4501e9120c9704ff40e86c70e8831040610 languageName: node linkType: hard -"conventional-changelog-conventionalcommits@npm:^4.5.0": - version: 4.6.3 - resolution: "conventional-changelog-conventionalcommits@npm:4.6.3" - dependencies: - compare-func: ^2.0.0 - lodash: ^4.17.15 - q: ^1.5.1 - checksum: 7b8e8a21ebb56f9aaa510e12917b7c609202072c3e71089e0a09630c37c2e8146cdb04364809839b0e3eb55f807fe84d03b2079500b37f6186d505848be5c562 +"conventional-changelog-codemirror@npm:^5.0.0": + version: 5.0.0 + resolution: "conventional-changelog-codemirror@npm:5.0.0" + checksum: babb18b6cfc0609b8af5ba679b8c11bdb0efad68b2401e0c014df38f195ebed27a6c16d55ca07081aeae0121dd7293544acf341de6dd3f54ea6bd90a2fbf410a languageName: node linkType: hard @@ -4818,142 +4557,114 @@ __metadata: languageName: node linkType: hard -"conventional-changelog-core@npm:^4.2.1": - version: 4.2.4 - resolution: "conventional-changelog-core@npm:4.2.4" +"conventional-changelog-conventionalcommits@npm:^8.0.0": + version: 8.0.0 + resolution: "conventional-changelog-conventionalcommits@npm:8.0.0" dependencies: - add-stream: ^1.0.0 - conventional-changelog-writer: ^5.0.0 - conventional-commits-parser: ^3.2.0 - dateformat: ^3.0.0 - get-pkg-repo: ^4.0.0 - git-raw-commits: ^2.0.8 - git-remote-origin-url: ^2.0.0 - git-semver-tags: ^4.1.1 - lodash: ^4.17.15 - normalize-package-data: ^3.0.0 - q: ^1.5.1 - read-pkg: ^3.0.0 - read-pkg-up: ^3.0.0 - through2: ^4.0.0 - checksum: 56d5194040495ea316e53fd64cb3614462c318f0fe54b1bf25aba6fba9b3d51cb9fdf7ac5b766f17e5529a3f90e317257394e00b0a9a5ce42caf3a59f82afb3a + compare-func: ^2.0.0 + checksum: af80a3294ec833b6ca6b13874c275952391319dd0ebb771dbcf0b837a2f8504c197e894a3fc5def44574a04daa038a94cae8d00f8222e843bc788b6911a1eff4 languageName: node linkType: hard -"conventional-changelog-ember@npm:^2.0.9": - version: 2.0.9 - resolution: "conventional-changelog-ember@npm:2.0.9" +"conventional-changelog-core@npm:^8.0.0": + version: 8.0.0 + resolution: "conventional-changelog-core@npm:8.0.0" dependencies: - q: ^1.5.1 - checksum: 30c7bd48ce995e39fc91bcd8c719b2bee10cb408c246a6a7de6cec44a3ca12afe5a86f57f55aa1fd2c64beb484c68013d16658047e6273f130c1c80e7dad38e9 + "@hutson/parse-repository-url": ^5.0.0 + add-stream: ^1.0.0 + conventional-changelog-writer: ^8.0.0 + conventional-commits-parser: ^6.0.0 + git-raw-commits: ^5.0.0 + git-semver-tags: ^8.0.0 + hosted-git-info: ^7.0.0 + normalize-package-data: ^6.0.0 + read-package-up: ^11.0.0 + read-pkg: ^9.0.0 + checksum: ca295a0c68592fbdd80149a496ccddf4f4e852e88f60826213c22a34c05c825984ce6d305082467268887629aeb4abae0f00e724420896090c78475661dfccda languageName: node linkType: hard -"conventional-changelog-eslint@npm:^3.0.9": - version: 3.0.9 - resolution: "conventional-changelog-eslint@npm:3.0.9" - dependencies: - q: ^1.5.1 - checksum: 402ae73a8c5390405d4f902819f630f56fa7dfa8f6bef77b3b5f2fb7c8bd17f64ad83edbacc030cfef5b84400ab722d4f166dd906296a4d286e66205c1bd8a3f +"conventional-changelog-ember@npm:^5.0.0": + version: 5.0.0 + resolution: "conventional-changelog-ember@npm:5.0.0" + checksum: a1476f149424dbc5b60420c41c1c1691a5b0e86448dca9f86c91474ee54ac404d3d59b3e75beb43da4db3c696a4189366f67c2431c6d8dc2276fad0d2f327a67 languageName: node linkType: hard -"conventional-changelog-express@npm:^2.0.6": - version: 2.0.6 - resolution: "conventional-changelog-express@npm:2.0.6" - dependencies: - q: ^1.5.1 - checksum: c139fa9878971455cce9904a195d92f770679d24a88ef07a016a6954e28f0f237ec59e45f2591b2fc9b8e10fd46c30150ddf0ce50a2cb03be85cae0ee64d4cdd +"conventional-changelog-eslint@npm:^6.0.0": + version: 6.0.0 + resolution: "conventional-changelog-eslint@npm:6.0.0" + checksum: e508b44ab2acc32430a0ea75a724285eed5034fecade77f9e5aa89a176d31c3ed4cf2d54a111a8cfe0f99bd69e1aeb2a046eeddc7e035605976d4cf61d6ab911 languageName: node linkType: hard -"conventional-changelog-jquery@npm:^3.0.11": - version: 3.0.11 - resolution: "conventional-changelog-jquery@npm:3.0.11" - dependencies: - q: ^1.5.1 - checksum: df1145467c75e8e61f35ed24d7539e8b7dcdc810b86267b0173420c8955590cca139eb51f89ac255d70c632433d996b0ed227cb1acdf59537f3d2f4ad9c770d3 +"conventional-changelog-express@npm:^5.0.0": + version: 5.0.0 + resolution: "conventional-changelog-express@npm:5.0.0" + checksum: f344f057a8756a99637029b912d2c0eb569b68e34983e8948c790bb4bfef40758b2760c0ab720b3943354da3fa76d3d77d8f42f4f4564e07240b574c3bad5d6c + languageName: node + linkType: hard + +"conventional-changelog-jquery@npm:^6.0.0": + version: 6.0.0 + resolution: "conventional-changelog-jquery@npm:6.0.0" + checksum: 845134cf5d15c455f84ac9425c7307608aaa44cc5c27abf2849a35c86c62cc7134307fa67bc412aee0c1d0ef42335423c18aca66a95119c971d9c5b4a1f44c42 languageName: node linkType: hard -"conventional-changelog-jshint@npm:^2.0.9": - version: 2.0.9 - resolution: "conventional-changelog-jshint@npm:2.0.9" +"conventional-changelog-jshint@npm:^5.0.0": + version: 5.0.0 + resolution: "conventional-changelog-jshint@npm:5.0.0" dependencies: compare-func: ^2.0.0 - q: ^1.5.1 - checksum: ec96144b75fdb84c4a6f7db9b671dc258d964cd7aa35f9b00539e42bbe05601a9127c17cf0dcc315ae81a0dd20fe795d9d41dd90373928d24b33f065728eb2e2 + checksum: 9db03b16610f2fbc448646cbb23f1ee28704ffa1175279ee39d51e8e0010bb82000385e662633900220f6834ad84b1ecf8ccbdebcf4ae0d7710a5599de9b0d52 languageName: node linkType: hard -"conventional-changelog-preset-loader@npm:^2.3.4": - version: 2.3.4 - resolution: "conventional-changelog-preset-loader@npm:2.3.4" - checksum: 23a889b7fcf6fe7653e61f32a048877b2f954dcc1e0daa2848c5422eb908e6f24c78372f8d0d2130b5ed941c02e7010c599dccf44b8552602c6c8db9cb227453 +"conventional-changelog-preset-loader@npm:^5.0.0": + version: 5.0.0 + resolution: "conventional-changelog-preset-loader@npm:5.0.0" + checksum: 7630c2826b43f8f546f0575b46d3eb8c2ac2b5bcfae60b7d1186e9a87f07b7a689d9463afc125a40ab84a030574c9ce7965dd96e6506323e5a7d1ac2b9f2df19 languageName: node linkType: hard -"conventional-changelog-writer@npm:^5.0.0": - version: 5.0.1 - resolution: "conventional-changelog-writer@npm:5.0.1" +"conventional-changelog-writer@npm:^8.0.0": + version: 8.0.1 + resolution: "conventional-changelog-writer@npm:8.0.1" dependencies: - conventional-commits-filter: ^2.0.7 - dateformat: ^3.0.0 + conventional-commits-filter: ^5.0.0 handlebars: ^4.7.7 - json-stringify-safe: ^5.0.1 - lodash: ^4.17.15 - meow: ^8.0.0 - semver: ^6.0.0 - split: ^1.0.0 - through2: ^4.0.0 + meow: ^13.0.0 + semver: ^7.5.2 bin: - conventional-changelog-writer: cli.js - checksum: 5c0129db44577f14b1f8de225b62a392a9927ba7fe3422cb21ad71a771b8472bd03badb7c87cb47419913abc3f2ce3759b69f59550cdc6f7a7b0459015b3b44c - languageName: node - linkType: hard - -"conventional-changelog@npm:^3.1.25": - version: 3.1.25 - resolution: "conventional-changelog@npm:3.1.25" - dependencies: - conventional-changelog-angular: ^5.0.12 - conventional-changelog-atom: ^2.0.8 - conventional-changelog-codemirror: ^2.0.8 - conventional-changelog-conventionalcommits: ^4.5.0 - conventional-changelog-core: ^4.2.1 - conventional-changelog-ember: ^2.0.9 - conventional-changelog-eslint: ^3.0.9 - conventional-changelog-express: ^2.0.6 - conventional-changelog-jquery: ^3.0.11 - conventional-changelog-jshint: ^2.0.9 - conventional-changelog-preset-loader: ^2.3.4 - checksum: 1ea18378120cca9fd459f58ed2cf59170773cbfb2fcecad2504c7c44af076c368950013fa16f5e9428f1d723bea4c16e0c48170e152568b73b254a9c1bb93287 + conventional-changelog-writer: dist/cli/index.js + checksum: 4ae21183cdab9698fcf9f4df422ca0495d5065b95cd74f85b9e34be348054e12db452aca472aaadb4ab5cab5a7a5b6d3b07de3d1d524652657642379504ffa09 languageName: node linkType: hard -"conventional-commits-filter@npm:^2.0.7": - version: 2.0.7 - resolution: "conventional-commits-filter@npm:2.0.7" +"conventional-changelog@npm:^6.0.0": + version: 6.0.0 + resolution: "conventional-changelog@npm:6.0.0" dependencies: - lodash.ismatch: ^4.4.0 - modify-values: ^1.0.0 - checksum: feb567f680a6da1baaa1ef3cff393b3c56a5828f77ab9df5e70626475425d109a6fee0289b4979223c62bbd63bf9c98ef532baa6fcb1b66ee8b5f49077f5d46c + conventional-changelog-angular: ^8.0.0 + conventional-changelog-atom: ^5.0.0 + conventional-changelog-codemirror: ^5.0.0 + conventional-changelog-conventionalcommits: ^8.0.0 + conventional-changelog-core: ^8.0.0 + conventional-changelog-ember: ^5.0.0 + conventional-changelog-eslint: ^6.0.0 + conventional-changelog-express: ^5.0.0 + conventional-changelog-jquery: ^6.0.0 + conventional-changelog-jshint: ^5.0.0 + conventional-changelog-preset-loader: ^5.0.0 + checksum: 78a2a74a19385e45ea69a9ef410de7cc9627cb2bada8b26850ff55999dfc3e5600138ee636dbd0c17159dcdcd81499b64d557d34dfb641d82d1b0d107c684c10 languageName: node linkType: hard -"conventional-commits-parser@npm:^3.2.0": - version: 3.2.4 - resolution: "conventional-commits-parser@npm:3.2.4" - dependencies: - JSONStream: ^1.0.4 - is-text-path: ^1.0.1 - lodash: ^4.17.15 - meow: ^8.0.0 - split2: ^3.0.0 - through2: ^4.0.0 - bin: - conventional-commits-parser: cli.js - checksum: 1627ff203bc9586d89e47a7fe63acecf339aba74903b9114e23d28094f79d4e2d6389bf146ae561461dcba8fc42e7bc228165d2b173f15756c43f1d32bc50bfd +"conventional-commits-filter@npm:^5.0.0": + version: 5.0.0 + resolution: "conventional-commits-filter@npm:5.0.0" + checksum: 2345546ea9e40412558d508311d7729b38f8d4c0fd554837c10721a432e8598ec1152320f6b601a9c11c023a31bccbb5a12067736b2227de8591f4de707e11a7 languageName: node linkType: hard @@ -4971,21 +4682,29 @@ __metadata: languageName: node linkType: hard -"conventional-recommended-bump@npm:^6.1.0": +"conventional-commits-parser@npm:^6.0.0": version: 6.1.0 - resolution: "conventional-recommended-bump@npm:6.1.0" + resolution: "conventional-commits-parser@npm:6.1.0" dependencies: - concat-stream: ^2.0.0 - conventional-changelog-preset-loader: ^2.3.4 - conventional-commits-filter: ^2.0.7 - conventional-commits-parser: ^3.2.0 - git-raw-commits: ^2.0.8 - git-semver-tags: ^4.1.1 - meow: ^8.0.0 - q: ^1.5.1 + meow: ^13.0.0 bin: - conventional-recommended-bump: cli.js - checksum: da1d7a5f3b9f7706bede685cdcb3db67997fdaa43c310fd5bf340955c84a4b85dbb9427031522ee06dad290b730a54be987b08629d79c73720dbad3a2531146b + conventional-commits-parser: dist/cli/index.js + checksum: c9b660b3aaa48576ee3a1fdf21f4c236d7f19991e8a8a121e24105b3470b15440310e5b3cbf4dd51fb4a0185e66bee7ee875354d29f47c234719629ecf40ac77 + languageName: node + linkType: hard + +"conventional-recommended-bump@npm:^10.0.0": + version: 10.0.0 + resolution: "conventional-recommended-bump@npm:10.0.0" + dependencies: + "@conventional-changelog/git-client": ^1.0.0 + conventional-changelog-preset-loader: ^5.0.0 + conventional-commits-filter: ^5.0.0 + conventional-commits-parser: ^6.0.0 + meow: ^13.0.0 + bin: + conventional-recommended-bump: dist/cli/index.js + checksum: d4a72f48ceec9947bf6f4ae346574262c8c991930a4b8d6d5d43cfd03bcf9531f74200ce60d43a251fd537b5292668f6480c17fe4ed458b4f84418db2be3af85 languageName: node linkType: hard @@ -4996,12 +4715,12 @@ __metadata: languageName: node linkType: hard -"core-js-compat@npm:^3.37.1, core-js-compat@npm:^3.38.0": - version: 3.38.1 - resolution: "core-js-compat@npm:3.38.1" +"core-js-compat@npm:^3.38.0, core-js-compat@npm:^3.40.0": + version: 3.41.0 + resolution: "core-js-compat@npm:3.41.0" dependencies: - browserslist: ^4.23.3 - checksum: a0a5673bcd59f588f0cd0b59cdacd4712b82909738a87406d334dd412eb3d273ae72b275bdd8e8fef63fca9ef12b42ed651be139c7c44c8a1acb423c8906992e + browserslist: ^4.24.4 + checksum: 060f6d6ede3a5f201462ae6f54975ca4eefdb731c4983950c54bc81411fc1c2865a9e916091d034b5229d4dcb79e0f5f8aeda5eeb7a31d940550a5c14e8e8729 languageName: node linkType: hard @@ -5024,15 +4743,20 @@ __metadata: languageName: node linkType: hard -"cosmiconfig@npm:8.1.3": - version: 8.1.3 - resolution: "cosmiconfig@npm:8.1.3" +"cosmiconfig@npm:9.0.0, cosmiconfig@npm:^9.0.0": + version: 9.0.0 + resolution: "cosmiconfig@npm:9.0.0" dependencies: - import-fresh: ^3.2.1 + env-paths: ^2.2.1 + import-fresh: ^3.3.0 js-yaml: ^4.1.0 - parse-json: ^5.0.0 - path-type: ^4.0.0 - checksum: b3d277bc3a8a9e649bf4c3fc9740f4c52bf07387481302aa79839f595045368903bf26ea24a8f7f7b8b180bf46037b027c5cb63b1391ab099f3f78814a147b2b + parse-json: ^5.2.0 + peerDependencies: + typescript: ">=4.9.5" + peerDependenciesMeta: + typescript: + optional: true + checksum: a30c424b53d442ea0bdd24cb1b3d0d8687c8dda4a17ab6afcdc439f8964438801619cdb66e8e79f63b9caa3e6586b60d8bab9ce203e72df6c5e80179b971fe8f languageName: node linkType: hard @@ -5065,23 +4789,6 @@ __metadata: languageName: node linkType: hard -"cosmiconfig@npm:^9.0.0": - version: 9.0.0 - resolution: "cosmiconfig@npm:9.0.0" - dependencies: - env-paths: ^2.2.1 - import-fresh: ^3.3.0 - js-yaml: ^4.1.0 - parse-json: ^5.2.0 - peerDependencies: - typescript: ">=4.9.5" - peerDependenciesMeta: - typescript: - optional: true - checksum: a30c424b53d442ea0bdd24cb1b3d0d8687c8dda4a17ab6afcdc439f8964438801619cdb66e8e79f63b9caa3e6586b60d8bab9ce203e72df6c5e80179b971fe8f - languageName: node - linkType: hard - "create-jest@npm:^29.7.0": version: 29.7.0 resolution: "create-jest@npm:29.7.0" @@ -5106,23 +4813,14 @@ __metadata: languageName: node linkType: hard -"cross-spawn@npm:^7.0.0, cross-spawn@npm:^7.0.2, cross-spawn@npm:^7.0.3": - version: 7.0.3 - resolution: "cross-spawn@npm:7.0.3" +"cross-spawn@npm:^7.0.0, cross-spawn@npm:^7.0.2, cross-spawn@npm:^7.0.3, cross-spawn@npm:^7.0.6": + version: 7.0.6 + resolution: "cross-spawn@npm:7.0.6" dependencies: path-key: ^3.1.0 shebang-command: ^2.0.0 which: ^2.0.1 - checksum: 671cc7c7288c3a8406f3c69a3ae2fc85555c04169e9d611def9a675635472614f1c0ed0ef80955d5b6d4e724f6ced67f0ad1bb006c2ea643488fcfef994d7f52 - languageName: node - linkType: hard - -"crypto-random-string@npm:^4.0.0": - version: 4.0.0 - resolution: "crypto-random-string@npm:4.0.0" - dependencies: - type-fest: ^1.0.1 - checksum: 91f148f27bcc8582798f0fb3e75a09d9174557f39c3c40a89dd1bd70fb5a14a02548245aa26fa7d663c426ac5026f4729841231c84f9e30e8c8ece5e38656741 + checksum: 8d306efacaf6f3f60e0224c287664093fa9185680b2d195852ba9a863f85d02dcc737094c6e512175f8ee0161f9b87c73c6826034c2422e39de7d6569cf4503b languageName: node linkType: hard @@ -5140,13 +4838,6 @@ __metadata: languageName: node linkType: hard -"data-uri-to-buffer@npm:^4.0.0": - version: 4.0.1 - resolution: "data-uri-to-buffer@npm:4.0.1" - checksum: 0d0790b67ffec5302f204c2ccca4494f70b4e2d940fea3d36b09f0bb2b8539c2e86690429eb1f1dc4bcc9e4df0644193073e63d9ee48ac9fce79ec1506e4aa4c - languageName: node - linkType: hard - "data-uri-to-buffer@npm:^6.0.2": version: 6.0.2 resolution: "data-uri-to-buffer@npm:6.0.2" @@ -5154,43 +4845,36 @@ __metadata: languageName: node linkType: hard -"data-view-buffer@npm:^1.0.1": - version: 1.0.1 - resolution: "data-view-buffer@npm:1.0.1" +"data-view-buffer@npm:^1.0.2": + version: 1.0.2 + resolution: "data-view-buffer@npm:1.0.2" dependencies: - call-bind: ^1.0.6 + call-bound: ^1.0.3 es-errors: ^1.3.0 - is-data-view: ^1.0.1 - checksum: ce24348f3c6231223b216da92e7e6a57a12b4af81a23f27eff8feabdf06acfb16c00639c8b705ca4d167f761cfc756e27e5f065d0a1f840c10b907fdaf8b988c + is-data-view: ^1.0.2 + checksum: 1e1cd509c3037ac0f8ba320da3d1f8bf1a9f09b0be09394b5e40781b8cc15ff9834967ba7c9f843a425b34f9fe14ce44cf055af6662c44263424c1eb8d65659b languageName: node linkType: hard -"data-view-byte-length@npm:^1.0.1": - version: 1.0.1 - resolution: "data-view-byte-length@npm:1.0.1" +"data-view-byte-length@npm:^1.0.2": + version: 1.0.2 + resolution: "data-view-byte-length@npm:1.0.2" dependencies: - call-bind: ^1.0.7 + call-bound: ^1.0.3 es-errors: ^1.3.0 - is-data-view: ^1.0.1 - checksum: dbb3200edcb7c1ef0d68979834f81d64fd8cab2f7691b3a4c6b97e67f22182f3ec2c8602efd7b76997b55af6ff8bce485829c1feda4fa2165a6b71fb7baa4269 + is-data-view: ^1.0.2 + checksum: 3600c91ced1cfa935f19ef2abae11029e01738de8d229354d3b2a172bf0d7e4ed08ff8f53294b715569fdf72dfeaa96aa7652f479c0f60570878d88e7e8bddf6 languageName: node linkType: hard -"data-view-byte-offset@npm:^1.0.0": - version: 1.0.0 - resolution: "data-view-byte-offset@npm:1.0.0" +"data-view-byte-offset@npm:^1.0.1": + version: 1.0.1 + resolution: "data-view-byte-offset@npm:1.0.1" dependencies: - call-bind: ^1.0.6 + call-bound: ^1.0.2 es-errors: ^1.3.0 is-data-view: ^1.0.1 - checksum: 7f0bf8720b7414ca719eedf1846aeec392f2054d7af707c5dc9a753cc77eb8625f067fa901e0b5127e831f9da9056138d894b9c2be79c27a21f6db5824f009c2 - languageName: node - linkType: hard - -"dateformat@npm:^3.0.0": - version: 3.0.3 - resolution: "dateformat@npm:3.0.3" - checksum: ca4911148abb09887bd9bdcd632c399b06f3ecad709a18eb594d289a1031982f441e08e281db77ffebcb2cbcbfa1ac578a7cbfbf8743f41009aa5adc1846ed34 + checksum: 8dd492cd51d19970876626b5b5169fbb67ca31ec1d1d3238ee6a71820ca8b80cafb141c485999db1ee1ef02f2cc3b99424c5eda8d59e852d9ebb79ab290eb5ee languageName: node linkType: hard @@ -5211,14 +4895,14 @@ __metadata: linkType: hard "debug@npm:4, debug@npm:^4.1.0, debug@npm:^4.1.1, debug@npm:^4.3.1, debug@npm:^4.3.2, debug@npm:^4.3.4": - version: 4.3.6 - resolution: "debug@npm:4.3.6" + version: 4.4.0 + resolution: "debug@npm:4.4.0" dependencies: - ms: 2.1.2 + ms: ^2.1.3 peerDependenciesMeta: supports-color: optional: true - checksum: 1630b748dea3c581295e02137a9f5cbe2c1d85fea35c1e6597a65ca2b16a6fce68cec61b299d480787ef310ba927dc8c92d3061faba0ad06c6a724672f66be7f + checksum: fb42df878dd0e22816fc56e1fdca9da73caa85212fbe40c868b1295a6878f9101ae684f4eeef516c13acfc700f5ea07f1136954f43d4cd2d477a811144136479 languageName: node linkType: hard @@ -5246,15 +4930,6 @@ __metadata: languageName: node linkType: hard -"decompress-response@npm:^6.0.0": - version: 6.0.0 - resolution: "decompress-response@npm:6.0.0" - dependencies: - mimic-response: ^3.1.0 - checksum: d377cf47e02d805e283866c3f50d3d21578b779731e8c5072d6ce8c13cc31493db1c2f6784da9d1d5250822120cefa44f1deab112d5981015f2e17444b763812 - languageName: node - linkType: hard - "dedent@npm:^0.7.0": version: 0.7.0 resolution: "dedent@npm:0.7.0" @@ -5281,7 +4956,7 @@ __metadata: languageName: node linkType: hard -"deep-is@npm:^0.1.3, deep-is@npm:~0.1.3": +"deep-is@npm:^0.1.3": version: 0.1.4 resolution: "deep-is@npm:0.1.4" checksum: edb65dd0d7d1b9c40b2f50219aef30e116cedd6fc79290e740972c132c09106d2e80aa0bc8826673dd5a00222d4179c84b36a790eef63a4c4bca75a37ef90804 @@ -5295,25 +4970,20 @@ __metadata: languageName: node linkType: hard -"default-browser-id@npm:^3.0.0": - version: 3.0.0 - resolution: "default-browser-id@npm:3.0.0" - dependencies: - bplist-parser: ^0.2.0 - untildify: ^4.0.0 - checksum: 279c7ad492542e5556336b6c254a4eaf31b2c63a5433265655ae6e47301197b6cfb15c595a6fdc6463b2ff8e1a1a1ed3cba56038a60e1527ba4ab1628c6b9941 +"default-browser-id@npm:^5.0.0": + version: 5.0.0 + resolution: "default-browser-id@npm:5.0.0" + checksum: 185bfaecec2c75fa423544af722a3469b20704c8d1942794a86e4364fe7d9e8e9f63241a5b769d61c8151993bc65833a5b959026fa1ccea343b3db0a33aa6deb languageName: node linkType: hard -"default-browser@npm:^4.0.0": - version: 4.0.0 - resolution: "default-browser@npm:4.0.0" +"default-browser@npm:^5.2.1": + version: 5.2.1 + resolution: "default-browser@npm:5.2.1" dependencies: - bundle-name: ^3.0.0 - default-browser-id: ^3.0.0 - execa: ^7.1.1 - titleize: ^3.0.0 - checksum: 40c5af984799042b140300be5639c9742599bda76dc9eba5ac9ad5943c83dd36cebc4471eafcfddf8e0ec817166d5ba89d56f08e66a126c7c7908a179cead1a7 + bundle-name: ^4.1.0 + default-browser-id: ^5.0.0 + checksum: afab7eff7b7f5f7a94d9114d1ec67273d3fbc539edf8c0f80019879d53aa71e867303c6f6d7cffeb10a6f3cfb59d4f963dba3f9c96830b4540cc7339a1bf9840 languageName: node linkType: hard @@ -5326,13 +4996,6 @@ __metadata: languageName: node linkType: hard -"defer-to-connect@npm:^2.0.1": - version: 2.0.1 - resolution: "defer-to-connect@npm:2.0.1" - checksum: 8a9b50d2f25446c0bfefb55a48e90afd58f85b21bcf78e9207cd7b804354f6409032a1705c2491686e202e64fc05f147aa5aa45f9aa82627563f045937f5791b - languageName: node - linkType: hard - "define-data-property@npm:^1.0.1, define-data-property@npm:^1.1.4": version: 1.1.4 resolution: "define-data-property@npm:1.1.4" @@ -5351,7 +5014,7 @@ __metadata: languageName: node linkType: hard -"define-properties@npm:^1.1.3, define-properties@npm:^1.1.4, define-properties@npm:^1.2.0, define-properties@npm:^1.2.1": +"define-properties@npm:^1.1.3, define-properties@npm:^1.2.1": version: 1.2.1 resolution: "define-properties@npm:1.2.1" dependencies: @@ -5362,15 +5025,14 @@ __metadata: languageName: node linkType: hard -"degenerator@npm:^4.0.4": - version: 4.0.4 - resolution: "degenerator@npm:4.0.4" +"degenerator@npm:^5.0.0": + version: 5.0.1 + resolution: "degenerator@npm:5.0.1" dependencies: ast-types: ^0.13.4 - escodegen: ^1.14.3 + escodegen: ^2.1.0 esprima: ^4.0.1 - vm2: ^3.9.19 - checksum: 3eb2dbdd453d01bcb8655d759d1a4aad5f3b99d1fc40b6c204e59efbaeb2a04eb3a68767eb24e06fc49370eb986b1e4baed32b9eac6f7495791a4d13e775ee74 + checksum: a64fa39cdf6c2edd75188157d32338ee9de7193d7dbb2aeb4acb1eb30fa4a15ed80ba8dae9bd4d7b085472cf174a5baf81adb761aaa8e326771392c922084152 languageName: node linkType: hard @@ -5504,12 +5166,23 @@ __metadata: languageName: node linkType: hard -"dot-prop@npm:^6.0.1": - version: 6.0.1 - resolution: "dot-prop@npm:6.0.1" +"dot-prop@npm:^9.0.0": + version: 9.0.0 + resolution: "dot-prop@npm:9.0.0" dependencies: - is-obj: ^2.0.0 - checksum: 0f47600a4b93e1dc37261da4e6909652c008832a5d3684b5bf9a9a0d3f4c67ea949a86dceed9b72f5733ed8e8e6383cc5958df3bbd0799ee317fd181f2ece700 + type-fest: ^4.18.2 + checksum: a53425ed992f136db3c591b06bcf94f46fed7136b81703121e446c961043684e8996b9ce8f87b24d2859d82c8b14c18c3b1905352bb3a1ccc5e373153f43bf48 + languageName: node + linkType: hard + +"dunder-proto@npm:^1.0.0, dunder-proto@npm:^1.0.1": + version: 1.0.1 + resolution: "dunder-proto@npm:1.0.1" + dependencies: + call-bind-apply-helpers: ^1.0.1 + es-errors: ^1.3.0 + gopd: ^1.2.0 + checksum: 149207e36f07bd4941921b0ca929e3a28f1da7bd6b6ff8ff7f4e2f2e460675af4576eeba359c635723dc189b64cdd4787e0255897d5b135ccc5d15cb8685fc90 languageName: node linkType: hard @@ -5527,10 +5200,10 @@ __metadata: languageName: node linkType: hard -"electron-to-chromium@npm:^1.5.4": - version: 1.5.13 - resolution: "electron-to-chromium@npm:1.5.13" - checksum: f18ac84dd3bf9a200654a6a9292b9ec4bced0cf9bd26cec9941b775f4470c581c9d043e70b37a124d9752dcc0f47fc96613d52b2defd8e59632852730cb418b9 +"electron-to-chromium@npm:^1.5.73": + version: 1.5.113 + resolution: "electron-to-chromium@npm:1.5.113" + checksum: 7339108c6379ce36cf64560d431c42fc4b4fc3ac2ed434aad1730a39bc03fed5273faba3c7aa9387efc361b3732653c16ecdf23e33d8f0c67de378a7a5206cf9 languageName: node linkType: hard @@ -5541,6 +5214,13 @@ __metadata: languageName: node linkType: hard +"emoji-regex@npm:^10.3.0": + version: 10.4.0 + resolution: "emoji-regex@npm:10.4.0" + checksum: a6d9a0e454829a52e664e049847776ee1fff5646617b06cd87de7c03ce1dfcce4102a3b154d5e9c8e90f8125bc120fc1fe114d523dddf60a8a161f26c72658d2 + languageName: node + linkType: hard + "emoji-regex@npm:^8.0.0": version: 8.0.0 resolution: "emoji-regex@npm:8.0.0" @@ -5562,6 +5242,13 @@ __metadata: languageName: node linkType: hard +"encodeurl@npm:~2.0.0": + version: 2.0.0 + resolution: "encodeurl@npm:2.0.0" + checksum: abf5cd51b78082cf8af7be6785813c33b6df2068ce5191a40ca8b1afe6a86f9230af9a9ce694a5ce4665955e5c1120871826df9c128a642e09c58d592e2807fe + languageName: node + linkType: hard + "encoding@npm:^0.1.13": version: 0.1.13 resolution: "encoding@npm:0.1.13" @@ -5588,11 +5275,11 @@ __metadata: linkType: hard "envinfo@npm:^7.13.0": - version: 7.13.0 - resolution: "envinfo@npm:7.13.0" + version: 7.14.0 + resolution: "envinfo@npm:7.14.0" bin: envinfo: dist/cli.js - checksum: 822fc30f53bd0be67f0e25be96eb6a2562b8062f3058846bbd7ec471bd4b7835fca6436ee72c4029c8ae4a3d8f8cddbe2ee725b22291f015232d20a682bee732 + checksum: 137c1dd9a4d5781c4a6cdc6b695454ba3c4ba1829f73927198aa4122f11b35b59d7b2cb7e1ceea1364925a30278897548511d22f860c14253a33797d0bebd551 languageName: node linkType: hard @@ -5631,163 +5318,145 @@ __metadata: languageName: node linkType: hard -"es-abstract@npm:^1.17.5, es-abstract@npm:^1.20.4, es-abstract@npm:^1.22.1, es-abstract@npm:^1.22.3, es-abstract@npm:^1.23.0, es-abstract@npm:^1.23.1, es-abstract@npm:^1.23.2, es-abstract@npm:^1.23.3": - version: 1.23.3 - resolution: "es-abstract@npm:1.23.3" +"es-abstract@npm:^1.17.5, es-abstract@npm:^1.23.2, es-abstract@npm:^1.23.3, es-abstract@npm:^1.23.5, es-abstract@npm:^1.23.6, es-abstract@npm:^1.23.9": + version: 1.23.9 + resolution: "es-abstract@npm:1.23.9" dependencies: - array-buffer-byte-length: ^1.0.1 - arraybuffer.prototype.slice: ^1.0.3 + array-buffer-byte-length: ^1.0.2 + arraybuffer.prototype.slice: ^1.0.4 available-typed-arrays: ^1.0.7 - call-bind: ^1.0.7 - data-view-buffer: ^1.0.1 - data-view-byte-length: ^1.0.1 - data-view-byte-offset: ^1.0.0 - es-define-property: ^1.0.0 + call-bind: ^1.0.8 + call-bound: ^1.0.3 + data-view-buffer: ^1.0.2 + data-view-byte-length: ^1.0.2 + data-view-byte-offset: ^1.0.1 + es-define-property: ^1.0.1 es-errors: ^1.3.0 es-object-atoms: ^1.0.0 - es-set-tostringtag: ^2.0.3 - es-to-primitive: ^1.2.1 - function.prototype.name: ^1.1.6 - get-intrinsic: ^1.2.4 - get-symbol-description: ^1.0.2 - globalthis: ^1.0.3 - gopd: ^1.0.1 + es-set-tostringtag: ^2.1.0 + es-to-primitive: ^1.3.0 + function.prototype.name: ^1.1.8 + get-intrinsic: ^1.2.7 + get-proto: ^1.0.0 + get-symbol-description: ^1.1.0 + globalthis: ^1.0.4 + gopd: ^1.2.0 has-property-descriptors: ^1.0.2 - has-proto: ^1.0.3 - has-symbols: ^1.0.3 + has-proto: ^1.2.0 + has-symbols: ^1.1.0 hasown: ^2.0.2 - internal-slot: ^1.0.7 - is-array-buffer: ^3.0.4 + internal-slot: ^1.1.0 + is-array-buffer: ^3.0.5 is-callable: ^1.2.7 - is-data-view: ^1.0.1 - is-negative-zero: ^2.0.3 - is-regex: ^1.1.4 - is-shared-array-buffer: ^1.0.3 - is-string: ^1.0.7 - is-typed-array: ^1.1.13 - is-weakref: ^1.0.2 - object-inspect: ^1.13.1 + is-data-view: ^1.0.2 + is-regex: ^1.2.1 + is-shared-array-buffer: ^1.0.4 + is-string: ^1.1.1 + is-typed-array: ^1.1.15 + is-weakref: ^1.1.0 + math-intrinsics: ^1.1.0 + object-inspect: ^1.13.3 object-keys: ^1.1.1 - object.assign: ^4.1.5 - regexp.prototype.flags: ^1.5.2 - safe-array-concat: ^1.1.2 - safe-regex-test: ^1.0.3 - string.prototype.trim: ^1.2.9 - string.prototype.trimend: ^1.0.8 + object.assign: ^4.1.7 + own-keys: ^1.0.1 + regexp.prototype.flags: ^1.5.3 + safe-array-concat: ^1.1.3 + safe-push-apply: ^1.0.0 + safe-regex-test: ^1.1.0 + set-proto: ^1.0.0 + string.prototype.trim: ^1.2.10 + string.prototype.trimend: ^1.0.9 string.prototype.trimstart: ^1.0.8 - typed-array-buffer: ^1.0.2 - typed-array-byte-length: ^1.0.1 - typed-array-byte-offset: ^1.0.2 - typed-array-length: ^1.0.6 - unbox-primitive: ^1.0.2 - which-typed-array: ^1.1.15 - checksum: f840cf161224252512f9527306b57117192696571e07920f777cb893454e32999206198b4f075516112af6459daca282826d1735c450528470356d09eff3a9ae - languageName: node - linkType: hard - -"es-array-method-boxes-properly@npm:^1.0.0": - version: 1.0.0 - resolution: "es-array-method-boxes-properly@npm:1.0.0" - checksum: 2537fcd1cecf187083890bc6f5236d3a26bf39237433587e5bf63392e88faae929dbba78ff0120681a3f6f81c23fe3816122982c160d63b38c95c830b633b826 + typed-array-buffer: ^1.0.3 + typed-array-byte-length: ^1.0.3 + typed-array-byte-offset: ^1.0.4 + typed-array-length: ^1.0.7 + unbox-primitive: ^1.1.0 + which-typed-array: ^1.1.18 + checksum: f3ee2614159ca197f97414ab36e3f406ee748ce2f97ffbf09e420726db5a442ce13f1e574601468bff6e6eb81588e6c9ce1ac6c03868a37c7cd48ac679f8485a languageName: node linkType: hard -"es-define-property@npm:^1.0.0": - version: 1.0.0 - resolution: "es-define-property@npm:1.0.0" - dependencies: - get-intrinsic: ^1.2.4 - checksum: f66ece0a887b6dca71848fa71f70461357c0e4e7249696f81bad0a1f347eed7b31262af4a29f5d726dc026426f085483b6b90301855e647aa8e21936f07293c6 +"es-define-property@npm:^1.0.0, es-define-property@npm:^1.0.1": + version: 1.0.1 + resolution: "es-define-property@npm:1.0.1" + checksum: 0512f4e5d564021c9e3a644437b0155af2679d10d80f21adaf868e64d30efdfbd321631956f20f42d655fedb2e3a027da479fad3fa6048f768eb453a80a5f80a languageName: node linkType: hard -"es-errors@npm:^1.2.1, es-errors@npm:^1.3.0": +"es-errors@npm:^1.3.0": version: 1.3.0 resolution: "es-errors@npm:1.3.0" checksum: ec1414527a0ccacd7f15f4a3bc66e215f04f595ba23ca75cdae0927af099b5ec865f9f4d33e9d7e86f512f252876ac77d4281a7871531a50678132429b1271b5 languageName: node linkType: hard -"es-get-iterator@npm:^1.0.2": - version: 1.1.3 - resolution: "es-get-iterator@npm:1.1.3" - dependencies: - call-bind: ^1.0.2 - get-intrinsic: ^1.1.3 - has-symbols: ^1.0.3 - is-arguments: ^1.1.1 - is-map: ^2.0.2 - is-set: ^2.0.2 - is-string: ^1.0.7 - isarray: ^2.0.5 - stop-iteration-iterator: ^1.0.0 - checksum: 8fa118da42667a01a7c7529f8a8cca514feeff243feec1ce0bb73baaa3514560bd09d2b3438873cf8a5aaec5d52da248131de153b28e2638a061b6e4df13267d - languageName: node - linkType: hard - -"es-iterator-helpers@npm:^1.0.19": - version: 1.0.19 - resolution: "es-iterator-helpers@npm:1.0.19" +"es-iterator-helpers@npm:^1.2.1": + version: 1.2.1 + resolution: "es-iterator-helpers@npm:1.2.1" dependencies: - call-bind: ^1.0.7 + call-bind: ^1.0.8 + call-bound: ^1.0.3 define-properties: ^1.2.1 - es-abstract: ^1.23.3 + es-abstract: ^1.23.6 es-errors: ^1.3.0 es-set-tostringtag: ^2.0.3 function-bind: ^1.1.2 - get-intrinsic: ^1.2.4 - globalthis: ^1.0.3 + get-intrinsic: ^1.2.6 + globalthis: ^1.0.4 + gopd: ^1.2.0 has-property-descriptors: ^1.0.2 - has-proto: ^1.0.3 - has-symbols: ^1.0.3 - internal-slot: ^1.0.7 - iterator.prototype: ^1.1.2 - safe-array-concat: ^1.1.2 - checksum: 7ae112b88359fbaf4b9d7d1d1358ae57c5138768c57ba3a8fb930393662653b0512bfd7917c15890d1471577fb012fee8b73b4465e59b331739e6ee94f961683 + has-proto: ^1.2.0 + has-symbols: ^1.1.0 + internal-slot: ^1.1.0 + iterator.prototype: ^1.1.4 + safe-array-concat: ^1.1.3 + checksum: 952808dd1df3643d67ec7adf20c30b36e5eecadfbf36354e6f39ed3266c8e0acf3446ce9bc465e38723d613cb1d915c1c07c140df65bdce85da012a6e7bda62b languageName: node linkType: hard -"es-object-atoms@npm:^1.0.0": - version: 1.0.0 - resolution: "es-object-atoms@npm:1.0.0" +"es-object-atoms@npm:^1.0.0, es-object-atoms@npm:^1.1.1": + version: 1.1.1 + resolution: "es-object-atoms@npm:1.1.1" dependencies: es-errors: ^1.3.0 - checksum: 26f0ff78ab93b63394e8403c353842b2272836968de4eafe97656adfb8a7c84b9099bf0fe96ed58f4a4cddc860f6e34c77f91649a58a5daa4a9c40b902744e3c + checksum: 214d3767287b12f36d3d7267ef342bbbe1e89f899cfd67040309fc65032372a8e60201410a99a1645f2f90c1912c8c49c8668066f6bdd954bcd614dda2e3da97 languageName: node linkType: hard -"es-set-tostringtag@npm:^2.0.3": - version: 2.0.3 - resolution: "es-set-tostringtag@npm:2.0.3" +"es-set-tostringtag@npm:^2.0.3, es-set-tostringtag@npm:^2.1.0": + version: 2.1.0 + resolution: "es-set-tostringtag@npm:2.1.0" dependencies: - get-intrinsic: ^1.2.4 + es-errors: ^1.3.0 + get-intrinsic: ^1.2.6 has-tostringtag: ^1.0.2 - hasown: ^2.0.1 - checksum: 7227fa48a41c0ce83e0377b11130d324ac797390688135b8da5c28994c0165be8b252e15cd1de41e1325e5a5412511586960213e88f9ab4a5e7d028895db5129 + hasown: ^2.0.2 + checksum: 789f35de4be3dc8d11fdcb91bc26af4ae3e6d602caa93299a8c45cf05d36cc5081454ae2a6d3afa09cceca214b76c046e4f8151e092e6fc7feeb5efb9e794fc6 languageName: node linkType: hard -"es-shim-unscopables@npm:^1.0.0, es-shim-unscopables@npm:^1.0.2": - version: 1.0.2 - resolution: "es-shim-unscopables@npm:1.0.2" +"es-shim-unscopables@npm:^1.0.2": + version: 1.1.0 + resolution: "es-shim-unscopables@npm:1.1.0" dependencies: - hasown: ^2.0.0 - checksum: 432bd527c62065da09ed1d37a3f8e623c423683285e6188108286f4a1e8e164a5bcbfbc0051557c7d14633cd2a41ce24c7048e6bbb66a985413fd32f1be72626 + hasown: ^2.0.2 + checksum: 33cfb1ebcb2f869f0bf528be1a8660b4fe8b6cec8fc641f330e508db2284b58ee2980fad6d0828882d22858c759c0806076427a3673b6daa60f753e3b558ee15 languageName: node linkType: hard -"es-to-primitive@npm:^1.2.1": - version: 1.2.1 - resolution: "es-to-primitive@npm:1.2.1" +"es-to-primitive@npm:^1.3.0": + version: 1.3.0 + resolution: "es-to-primitive@npm:1.3.0" dependencies: - is-callable: ^1.1.4 - is-date-object: ^1.0.1 - is-symbol: ^1.0.2 - checksum: 4ead6671a2c1402619bdd77f3503991232ca15e17e46222b0a41a5d81aebc8740a77822f5b3c965008e631153e9ef0580540007744521e72de8e33599fca2eed + is-callable: ^1.2.7 + is-date-object: ^1.0.5 + is-symbol: ^1.0.4 + checksum: 966965880356486cd4d1fe9a523deda2084c81b3702d951212c098f5f2ee93605d1b7c1840062efb48a07d892641c7ed1bc194db563645c0dd2b919cb6d65b93 languageName: node linkType: hard -"escalade@npm:^3.1.1, escalade@npm:^3.1.2": +"escalade@npm:^3.1.1, escalade@npm:^3.2.0": version: 3.2.0 resolution: "escalade@npm:3.2.0" checksum: 47b029c83de01b0d17ad99ed766347b974b0d628e848de404018f3abee728e987da0d2d370ad4574aa3d5b5bfc368754fd085d69a30f8e75903486ec4b5b709e @@ -5808,7 +5477,7 @@ __metadata: languageName: node linkType: hard -"escape-string-regexp@npm:5.0.0, escape-string-regexp@npm:^5.0.0": +"escape-string-regexp@npm:5.0.0": version: 5.0.0 resolution: "escape-string-regexp@npm:5.0.0" checksum: 20daabe197f3cb198ec28546deebcf24b3dbb1a5a269184381b3116d12f0532e06007f4bc8da25669d6a7f8efb68db0758df4cd981f57bc5b57f521a3e12c59e @@ -5836,14 +5505,13 @@ __metadata: languageName: node linkType: hard -"escodegen@npm:^1.14.3": - version: 1.14.3 - resolution: "escodegen@npm:1.14.3" +"escodegen@npm:^2.1.0": + version: 2.1.0 + resolution: "escodegen@npm:2.1.0" dependencies: esprima: ^4.0.1 - estraverse: ^4.2.0 + estraverse: ^5.2.0 esutils: ^2.0.2 - optionator: ^0.8.1 source-map: ~0.6.1 dependenciesMeta: source-map: @@ -5851,7 +5519,7 @@ __metadata: bin: escodegen: bin/escodegen.js esgenerate: bin/esgenerate.js - checksum: 381cdc4767ecdb221206bbbab021b467bbc2a6f5c9a99c9e6353040080bdd3dfe73d7604ad89a47aca6ea7d58bc635f6bd3fbc8da9a1998e9ddfa8372362ccd0 + checksum: 096696407e161305cd05aebb95134ad176708bc5cb13d0dcc89a5fcbb959b8ed757e7f2591a5f8036f8f4952d4a724de0df14cd419e29212729fa6df5ce16bf6 languageName: node linkType: hard @@ -5935,8 +5603,8 @@ __metadata: linkType: hard "eslint-plugin-prettier@npm:^5.0.1": - version: 5.2.1 - resolution: "eslint-plugin-prettier@npm:5.2.1" + version: 5.2.3 + resolution: "eslint-plugin-prettier@npm:5.2.3" dependencies: prettier-linter-helpers: ^1.0.0 synckit: ^0.9.1 @@ -5950,7 +5618,7 @@ __metadata: optional: true eslint-config-prettier: optional: true - checksum: 812f4d1596dcd3a55963212dfbd818a4b38f880741aac75f6869aa740dc5d934060674d3b85d10ff9fec424defa61967dbdef26b8a893a92c9b51880264ed0d9 + checksum: 3f3210ed6a52eb2e7cd10a635857328136149c79240627b8f5dbc6c5271d5020b17ab2e7067acc0a82fec686fa35ed182dd8d67feca41818d6a7810bf6dad2b6 languageName: node linkType: hard @@ -5982,30 +5650,30 @@ __metadata: linkType: hard "eslint-plugin-react@npm:^7.30.1": - version: 7.35.0 - resolution: "eslint-plugin-react@npm:7.35.0" + version: 7.37.4 + resolution: "eslint-plugin-react@npm:7.37.4" dependencies: array-includes: ^3.1.8 array.prototype.findlast: ^1.2.5 - array.prototype.flatmap: ^1.3.2 + array.prototype.flatmap: ^1.3.3 array.prototype.tosorted: ^1.1.4 doctrine: ^2.1.0 - es-iterator-helpers: ^1.0.19 + es-iterator-helpers: ^1.2.1 estraverse: ^5.3.0 hasown: ^2.0.2 jsx-ast-utils: ^2.4.1 || ^3.0.0 minimatch: ^3.1.2 object.entries: ^1.1.8 object.fromentries: ^2.0.8 - object.values: ^1.2.0 + object.values: ^1.2.1 prop-types: ^15.8.1 resolve: ^2.0.0-next.5 semver: ^6.3.1 - string.prototype.matchall: ^4.0.11 + string.prototype.matchall: ^4.0.12 string.prototype.repeat: ^1.0.0 peerDependencies: eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7 - checksum: cd4d3c0567e947964643dda5fc80147e058d75f06bac47c3f086ff0cd6156286c669d98e685e3834997c4043f3922b90e6374b6c3658f22abd025dbd41acc23f + checksum: 8a37bdc9b347bf3a1273fef73dfbc39279cc3e58441940a5e13b3ba4e82b34132d1d1172db9d6746f153ee981280bd6bd06a9065fb453388c68f4bebe0d9f839 languageName: node linkType: hard @@ -6044,14 +5712,14 @@ __metadata: linkType: hard "eslint@npm:^8.51.0": - version: 8.57.0 - resolution: "eslint@npm:8.57.0" + version: 8.57.1 + resolution: "eslint@npm:8.57.1" dependencies: "@eslint-community/eslint-utils": ^4.2.0 "@eslint-community/regexpp": ^4.6.1 "@eslint/eslintrc": ^2.1.4 - "@eslint/js": 8.57.0 - "@humanwhocodes/config-array": ^0.11.14 + "@eslint/js": 8.57.1 + "@humanwhocodes/config-array": ^0.13.0 "@humanwhocodes/module-importer": ^1.0.1 "@nodelib/fs.walk": ^1.2.8 "@ungap/structured-clone": ^1.2.0 @@ -6087,7 +5755,7 @@ __metadata: text-table: ^0.2.0 bin: eslint: bin/eslint.js - checksum: 3a48d7ff85ab420a8447e9810d8087aea5b1df9ef68c9151732b478de698389ee656fd895635b5f2871c89ee5a2652b3f343d11e9db6f8486880374ebc74a2d9 + checksum: e2489bb7f86dd2011967759a09164e65744ef7688c310bc990612fc26953f34cc391872807486b15c06833bdff737726a23e9b4cdba5de144c311377dc41d91b languageName: node linkType: hard @@ -6130,7 +5798,7 @@ __metadata: languageName: node linkType: hard -"estraverse@npm:^4.1.1, estraverse@npm:^4.2.0": +"estraverse@npm:^4.1.1": version: 4.3.0 resolution: "estraverse@npm:4.3.0" checksum: a6299491f9940bb246124a8d44b7b7a413a8336f5436f9837aaa9330209bd9ee8af7e91a654a3545aee9c54b3308e78ee360cef1d777d37cfef77d2fa33b5827 @@ -6165,20 +5833,20 @@ __metadata: languageName: node linkType: hard -"execa@npm:7.1.1": - version: 7.1.1 - resolution: "execa@npm:7.1.1" +"execa@npm:8.0.0": + version: 8.0.0 + resolution: "execa@npm:8.0.0" dependencies: cross-spawn: ^7.0.3 - get-stream: ^6.0.1 - human-signals: ^4.3.0 + get-stream: ^8.0.1 + human-signals: ^5.0.0 is-stream: ^3.0.0 merge-stream: ^2.0.0 npm-run-path: ^5.1.0 onetime: ^6.0.0 - signal-exit: ^3.0.7 + signal-exit: ^4.1.0 strip-final-newline: ^3.0.0 - checksum: 21fa46fc69314ace4068cf820142bdde5b643a5d89831c2c9349479c1555bff137a291b8e749e7efca36535e4e0a8c772c11008ca2e84d2cbd6ca141a3c8f937 + checksum: 295bbe73be190a0b2f031a13eb57574594e59663f253608c1ea7ebdfbffe9081080df13914ac9c93feabd5461473ccf35694d2ea8f2ba25933f189dc1adc2f7c languageName: node linkType: hard @@ -6216,23 +5884,6 @@ __metadata: languageName: node linkType: hard -"execa@npm:^7.1.1": - version: 7.2.0 - resolution: "execa@npm:7.2.0" - dependencies: - cross-spawn: ^7.0.3 - get-stream: ^6.0.1 - human-signals: ^4.3.0 - is-stream: ^3.0.0 - merge-stream: ^2.0.0 - npm-run-path: ^5.1.0 - onetime: ^6.0.0 - signal-exit: ^3.0.7 - strip-final-newline: ^3.0.0 - checksum: 14fd17ba0ca8c87b277584d93b1d9fc24f2a65e5152b31d5eb159a3b814854283eaae5f51efa9525e304447e2f757c691877f7adff8fde5746aae67eb1edd1cc - languageName: node - linkType: hard - "exit@npm:^0.1.2": version: 0.1.2 resolution: "exit@npm:0.1.2" @@ -6254,13 +5905,13 @@ __metadata: linkType: hard "exponential-backoff@npm:^3.1.1": - version: 3.1.1 - resolution: "exponential-backoff@npm:3.1.1" - checksum: 3d21519a4f8207c99f7457287291316306255a328770d320b401114ec8481986e4e467e854cb9914dd965e0a1ca810a23ccb559c642c88f4c7f55c55778a9b48 + version: 3.1.2 + resolution: "exponential-backoff@npm:3.1.2" + checksum: 7e191e3dd6edd8c56c88f2c8037c98fbb8034fe48778be53ed8cb30ccef371a061a4e999a469aab939b92f8f12698f3b426d52f4f76b7a20da5f9f98c3cbc862 languageName: node linkType: hard -"external-editor@npm:^3.0.3": +"external-editor@npm:^3.1.0": version: 3.1.0 resolution: "external-editor@npm:3.1.0" dependencies: @@ -6285,16 +5936,16 @@ __metadata: languageName: node linkType: hard -"fast-glob@npm:^3.2.11, fast-glob@npm:^3.2.7, fast-glob@npm:^3.2.9, fast-glob@npm:^3.3.0, fast-glob@npm:^3.3.2": - version: 3.3.2 - resolution: "fast-glob@npm:3.3.2" +"fast-glob@npm:^3.2.9, fast-glob@npm:^3.3.0, fast-glob@npm:^3.3.2": + version: 3.3.3 + resolution: "fast-glob@npm:3.3.3" dependencies: "@nodelib/fs.stat": ^2.0.2 "@nodelib/fs.walk": ^1.2.3 glob-parent: ^5.1.2 merge2: ^1.3.0 - micromatch: ^4.0.4 - checksum: 900e4979f4dbc3313840078419245621259f349950411ca2fa445a2f9a1a6d98c3b5e7e0660c5ccd563aa61abe133a21765c6c0dec8e57da1ba71d8000b05ec1 + micromatch: ^4.0.8 + checksum: 0704d7b85c0305fd2cef37777337dfa26230fdd072dce9fb5c82a4b03156f3ffb8ed3e636033e65d45d2a5805a4e475825369a27404c0307f2db0c8eb3366fbd languageName: node linkType: hard @@ -6305,7 +5956,7 @@ __metadata: languageName: node linkType: hard -"fast-levenshtein@npm:^2.0.6, fast-levenshtein@npm:~2.0.6": +"fast-levenshtein@npm:^2.0.6": version: 2.0.6 resolution: "fast-levenshtein@npm:2.0.6" checksum: 92cfec0a8dfafd9c7a15fba8f2cc29cd0b62b85f056d99ce448bbcd9f708e18ab2764bda4dd5158364f4145a7c72788538994f0d1787b956ef0d1062b0f7c24c @@ -6313,29 +5964,29 @@ __metadata: linkType: hard "fast-uri@npm:^3.0.1": - version: 3.0.1 - resolution: "fast-uri@npm:3.0.1" - checksum: 106143ff83705995225dcc559411288f3337e732bb2e264e79788f1914b6bd8f8bc3683102de60b15ba00e6ebb443633cabac77d4ebc5cb228c47cf955e199ff + version: 3.0.6 + resolution: "fast-uri@npm:3.0.6" + checksum: 7161ba2a7944778d679ba8e5f00d6a2bb479a2142df0982f541d67be6c979b17808f7edbb0ce78161c85035974bde3fa52b5137df31da46c0828cb629ba67c4e languageName: node linkType: hard -"fast-xml-parser@npm:^4.0.0, fast-xml-parser@npm:^4.2.4": - version: 4.4.1 - resolution: "fast-xml-parser@npm:4.4.1" +"fast-xml-parser@npm:^4.4.1": + version: 4.5.3 + resolution: "fast-xml-parser@npm:4.5.3" dependencies: - strnum: ^1.0.5 + strnum: ^1.1.1 bin: fxparser: src/cli/cli.js - checksum: f440c01cd141b98789ae777503bcb6727393296094cc82924ae9f88a5b971baa4eec7e65306c7e07746534caa661fc83694ff437d9012dc84dee39dfbfaab947 + checksum: cd6a184941ec6c23f9e6b514421a3f396cfdff5f4a8c7c27bd0eff896edb4a2b55c27da16f09b789663613dfc4933602b9b71ac3e9d1d2ddcc0492fc46c8fa52 languageName: node linkType: hard "fastq@npm:^1.6.0": - version: 1.17.1 - resolution: "fastq@npm:1.17.1" + version: 1.19.1 + resolution: "fastq@npm:1.19.1" dependencies: reusify: ^1.0.4 - checksum: a8c5b26788d5a1763f88bae56a8ddeee579f935a831c5fe7a8268cea5b0a91fbfe705f612209e02d639b881d7b48e461a50da4a10cfaa40da5ca7cc9da098d88 + checksum: 7691d1794fb84ad0ec2a185f10e00f0e1713b894e2c9c4d42f0bc0ba5f8c00e6e655a202074ca0b91b9c3d977aab7c30c41a8dc069fb5368576ac0054870a0e6 languageName: node linkType: hard @@ -6348,26 +5999,6 @@ __metadata: languageName: node linkType: hard -"fetch-blob@npm:^3.1.2, fetch-blob@npm:^3.1.4": - version: 3.2.0 - resolution: "fetch-blob@npm:3.2.0" - dependencies: - node-domexception: ^1.0.0 - web-streams-polyfill: ^3.0.3 - checksum: f19bc28a2a0b9626e69fd7cf3a05798706db7f6c7548da657cbf5026a570945f5eeaedff52007ea35c8bcd3d237c58a20bf1543bc568ab2422411d762dd3d5bf - languageName: node - linkType: hard - -"figures@npm:^5.0.0": - version: 5.0.0 - resolution: "figures@npm:5.0.0" - dependencies: - escape-string-regexp: ^5.0.0 - is-unicode-supported: ^1.2.0 - checksum: e6e8b6d1df2f554d4effae4a5ceff5d796f9449f6d4e912d74dab7d5f25916ecda6c305b9084833157d56485a0c78b37164430ddc5675bcee1330e346710669e - languageName: node - linkType: hard - "file-entry-cache@npm:^6.0.1": version: 6.0.1 resolution: "file-entry-cache@npm:6.0.1" @@ -6402,12 +6033,11 @@ __metadata: linkType: hard "find-babel-config@npm:^2.1.1": - version: 2.1.1 - resolution: "find-babel-config@npm:2.1.1" + version: 2.1.2 + resolution: "find-babel-config@npm:2.1.2" dependencies: json5: ^2.2.3 - path-exists: ^4.0.0 - checksum: 4be54397339520e0cd49870acb10366684ffc001fd0b7bffedd0fe9d3e1d82234692d3cb4e5ba95280a35887238ba6f82dc79569a13a3749ae3931c23e0b3a99 + checksum: 268f29cb38ee086b0f953c89f762dcea30b5b0e14abee2b39516410c00b49baa6821f598bd50346c93584e5625c5740f5c8b7e34993f568787a068f84dacc8c2 languageName: node linkType: hard @@ -6422,12 +6052,10 @@ __metadata: languageName: node linkType: hard -"find-up@npm:^2.0.0": - version: 2.1.0 - resolution: "find-up@npm:2.1.0" - dependencies: - locate-path: ^2.0.0 - checksum: 43284fe4da09f89011f08e3c32cd38401e786b19226ea440b75386c1b12a4cb738c94969808d53a84f564ede22f732c8409e3cfc3f7fb5b5c32378ad0bbf28bd +"find-up-simple@npm:^1.0.0": + version: 1.0.1 + resolution: "find-up-simple@npm:1.0.1" + checksum: 6e374bffda9f8425314eab47ef79752b6e77dcc95c0ad17d257aef48c32fe07bbc41bcafbd22941c25bb94fffaaaa8e178d928867d844c58100c7fe19ec82f72 languageName: node linkType: hard @@ -6472,9 +6100,9 @@ __metadata: linkType: hard "flatted@npm:^3.2.9": - version: 3.3.1 - resolution: "flatted@npm:3.3.1" - checksum: 85ae7181650bb728c221e7644cbc9f4bf28bc556f2fc89bb21266962bdf0ce1029cc7acc44bb646cd469d9baac7c317f64e841c4c4c00516afa97320cdac7f94 + version: 3.3.3 + resolution: "flatted@npm:3.3.3" + checksum: 8c96c02fbeadcf4e8ffd0fa24983241e27698b0781295622591fc13585e2f226609d95e422bcf2ef044146ffacb6b68b1f20871454eddf75ab3caa6ee5f4a1fe languageName: node linkType: hard @@ -6486,44 +6114,28 @@ __metadata: linkType: hard "flow-parser@npm:0.*": - version: 0.245.0 - resolution: "flow-parser@npm:0.245.0" - checksum: 42ef1c9ed8beec9880e72955130d88643e3d2431e43bd34ce25c4d89cf79e8978d094f5e56a17b4d17074fe9b15da43efd89e9cfa221d7d0627821edffe620a9 + version: 0.263.0 + resolution: "flow-parser@npm:0.263.0" + checksum: ef69211b079280742708bbfd8602bc69f2907e7af0927518e2f65d398d518b6122366073a51af3a291f639765ca4302f4f46e20fb469638b7c45a343f018808e languageName: node linkType: hard "for-each@npm:^0.3.3": - version: 0.3.3 - resolution: "for-each@npm:0.3.3" + version: 0.3.5 + resolution: "for-each@npm:0.3.5" dependencies: - is-callable: ^1.1.3 - checksum: 6c48ff2bc63362319c65e2edca4a8e1e3483a2fabc72fbe7feaf8c73db94fc7861bd53bc02c8a66a0c1dd709da6b04eec42e0abdd6b40ce47305ae92a25e5d28 + is-callable: ^1.2.7 + checksum: 3c986d7e11f4381237cc98baa0a2f87eabe74719eee65ed7bed275163082b940ede19268c61d04c6260e0215983b12f8d885e3c8f9aa8c2113bf07c37051745c languageName: node linkType: hard "foreground-child@npm:^3.1.0": - version: 3.3.0 - resolution: "foreground-child@npm:3.3.0" + version: 3.3.1 + resolution: "foreground-child@npm:3.3.1" dependencies: - cross-spawn: ^7.0.0 + cross-spawn: ^7.0.6 signal-exit: ^4.0.1 - checksum: 1989698488f725b05b26bc9afc8a08f08ec41807cd7b92ad85d96004ddf8243fd3e79486b8348c64a3011ae5cc2c9f0936af989e1f28339805d8bc178a75b451 - languageName: node - linkType: hard - -"form-data-encoder@npm:^2.1.2": - version: 2.1.4 - resolution: "form-data-encoder@npm:2.1.4" - checksum: e0b3e5950fb69b3f32c273944620f9861f1933df9d3e42066e038e26dfb343d0f4465de9f27e0ead1a09d9df20bc2eed06a63c2ca2f8f00949e7202bae9e29dd - languageName: node - linkType: hard - -"formdata-polyfill@npm:^4.0.10": - version: 4.0.10 - resolution: "formdata-polyfill@npm:4.0.10" - dependencies: - fetch-blob: ^3.1.2 - checksum: 82a34df292afadd82b43d4a740ce387bc08541e0a534358425193017bf9fb3567875dc5f69564984b1da979979b70703aa73dee715a17b6c229752ae736dd9db + checksum: b2c1a6fc0bf0233d645d9fefdfa999abf37db1b33e5dab172b3cbfb0662b88bfbd2c9e7ab853533d199050ec6b65c03fcf078fc212d26e4990220e98c6930eef languageName: node linkType: hard @@ -6545,14 +6157,14 @@ __metadata: languageName: node linkType: hard -"fs-extra@npm:^11.0.0, fs-extra@npm:^11.2.0": - version: 11.2.0 - resolution: "fs-extra@npm:11.2.0" +"fs-extra@npm:^11.0.0": + version: 11.3.0 + resolution: "fs-extra@npm:11.3.0" dependencies: graceful-fs: ^4.2.0 jsonfile: ^6.0.1 universalify: ^2.0.0 - checksum: b12e42fa40ba47104202f57b8480dd098aa931c2724565e5e70779ab87605665594e76ee5fb00545f772ab9ace167fe06d2ab009c416dc8c842c5ae6df7aa7e8 + checksum: f983c706e0c22b0c0747a8e9c76aed6f391ba2d76734cf2757cd84da13417b402ed68fe25bace65228856c61d36d3b41da198f1ffbf33d0b34283a2f7a62c6e9 languageName: node linkType: hard @@ -6567,15 +6179,6 @@ __metadata: languageName: node linkType: hard -"fs-minipass@npm:^2.0.0": - version: 2.1.0 - resolution: "fs-minipass@npm:2.1.0" - dependencies: - minipass: ^3.0.0 - checksum: 1b8d128dae2ac6cc94230cc5ead341ba3e0efaef82dab46a33d171c044caaa6ca001364178d42069b2809c35a1c3c35079a32107c770e9ffab3901b59af8c8b1 - languageName: node - linkType: hard - "fs-minipass@npm:^3.0.0": version: 3.0.3 resolution: "fs-minipass@npm:3.0.3" @@ -6618,15 +6221,17 @@ __metadata: languageName: node linkType: hard -"function.prototype.name@npm:^1.1.6": - version: 1.1.6 - resolution: "function.prototype.name@npm:1.1.6" +"function.prototype.name@npm:^1.1.6, function.prototype.name@npm:^1.1.8": + version: 1.1.8 + resolution: "function.prototype.name@npm:1.1.8" dependencies: - call-bind: ^1.0.2 - define-properties: ^1.2.0 - es-abstract: ^1.22.1 + call-bind: ^1.0.8 + call-bound: ^1.0.3 + define-properties: ^1.2.1 functions-have-names: ^1.2.3 - checksum: 7a3f9bd98adab09a07f6e1f03da03d3f7c26abbdeaeee15223f6c04a9fb5674792bdf5e689dac19b97ac71de6aad2027ba3048a9b883aa1b3173eed6ab07f479 + hasown: ^2.0.2 + is-callable: ^1.2.7 + checksum: 3a366535dc08b25f40a322efefa83b2da3cd0f6da41db7775f2339679120ef63b6c7e967266182609e655b8f0a8f65596ed21c7fd72ad8bd5621c2340edd4010 languageName: node linkType: hard @@ -6651,16 +6256,28 @@ __metadata: languageName: node linkType: hard -"get-intrinsic@npm:^1.1.3, get-intrinsic@npm:^1.2.1, get-intrinsic@npm:^1.2.3, get-intrinsic@npm:^1.2.4": - version: 1.2.4 - resolution: "get-intrinsic@npm:1.2.4" +"get-east-asian-width@npm:^1.0.0": + version: 1.3.0 + resolution: "get-east-asian-width@npm:1.3.0" + checksum: 757a34c7a46ff385e2775f96f9d3e553f6b6666a8898fb89040d36a1010fba692332772945606a7d4b0f0c6afb84cd394e75d5477c56e1f00f1eb79603b0aecc + languageName: node + linkType: hard + +"get-intrinsic@npm:^1.2.4, get-intrinsic@npm:^1.2.5, get-intrinsic@npm:^1.2.6, get-intrinsic@npm:^1.2.7, get-intrinsic@npm:^1.3.0": + version: 1.3.0 + resolution: "get-intrinsic@npm:1.3.0" dependencies: + call-bind-apply-helpers: ^1.0.2 + es-define-property: ^1.0.1 es-errors: ^1.3.0 + es-object-atoms: ^1.1.1 function-bind: ^1.1.2 - has-proto: ^1.0.1 - has-symbols: ^1.0.3 - hasown: ^2.0.0 - checksum: 414e3cdf2c203d1b9d7d33111df746a4512a1aa622770b361dadddf8ed0b5aeb26c560f49ca077e24bfafb0acb55ca908d1f709216ccba33ffc548ec8a79a951 + get-proto: ^1.0.1 + gopd: ^1.2.0 + has-symbols: ^1.1.0 + hasown: ^2.0.2 + math-intrinsics: ^1.1.0 + checksum: 301008e4482bb9a9cb49e132b88fee093bff373b4e6def8ba219b1e96b60158a6084f273ef5cafe832e42cd93462f4accb46a618d35fe59a2b507f2388c5b79d languageName: node linkType: hard @@ -6671,17 +6288,13 @@ __metadata: languageName: node linkType: hard -"get-pkg-repo@npm:^4.0.0": - version: 4.2.1 - resolution: "get-pkg-repo@npm:4.2.1" +"get-proto@npm:^1.0.0, get-proto@npm:^1.0.1": + version: 1.0.1 + resolution: "get-proto@npm:1.0.1" dependencies: - "@hutson/parse-repository-url": ^3.0.0 - hosted-git-info: ^4.0.0 - through2: ^2.0.0 - yargs: ^16.2.0 - bin: - get-pkg-repo: src/cli.js - checksum: 5abf169137665e45b09a857b33ad2fdcf2f4a09f0ecbd0ebdd789a7ce78c39186a21f58621127eb724d2d4a3a7ee8e6bd4ac7715efda01ad5200665afc218e0d + dunder-proto: ^1.0.1 + es-object-atoms: ^1.0.0 + checksum: 4fc96afdb58ced9a67558698b91433e6b037aaa6f1493af77498d7c85b141382cf223c0e5946f334fb328ee85dfe6edd06d218eaf09556f4bc4ec6005d7f5f7b languageName: node linkType: hard @@ -6694,37 +6307,43 @@ __metadata: languageName: node linkType: hard -"get-stream@npm:^6.0.0, get-stream@npm:^6.0.1": +"get-stream@npm:^6.0.0": version: 6.0.1 resolution: "get-stream@npm:6.0.1" checksum: e04ecece32c92eebf5b8c940f51468cd53554dcbb0ea725b2748be583c9523d00128137966afce410b9b051eb2ef16d657cd2b120ca8edafcf5a65e81af63cad languageName: node linkType: hard -"get-symbol-description@npm:^1.0.2": - version: 1.0.2 - resolution: "get-symbol-description@npm:1.0.2" +"get-stream@npm:^8.0.1": + version: 8.0.1 + resolution: "get-stream@npm:8.0.1" + checksum: 01e3d3cf29e1393f05f44d2f00445c5f9ec3d1c49e8179b31795484b9c117f4c695e5e07b88b50785d5c8248a788c85d9913a79266fc77e3ef11f78f10f1b974 + languageName: node + linkType: hard + +"get-symbol-description@npm:^1.1.0": + version: 1.1.0 + resolution: "get-symbol-description@npm:1.1.0" dependencies: - call-bind: ^1.0.5 + call-bound: ^1.0.3 es-errors: ^1.3.0 - get-intrinsic: ^1.2.4 - checksum: e1cb53bc211f9dbe9691a4f97a46837a553c4e7caadd0488dc24ac694db8a390b93edd412b48dcdd0b4bbb4c595de1709effc75fc87c0839deedc6968f5bd973 + get-intrinsic: ^1.2.6 + checksum: 655ed04db48ee65ef2ddbe096540d4405e79ba0a7f54225775fef43a7e2afcb93a77d141c5f05fdef0afce2eb93bcbfb3597142189d562ac167ff183582683cd languageName: node linkType: hard "get-uri@npm:^6.0.1": - version: 6.0.3 - resolution: "get-uri@npm:6.0.3" + version: 6.0.4 + resolution: "get-uri@npm:6.0.4" dependencies: basic-ftp: ^5.0.2 data-uri-to-buffer: ^6.0.2 debug: ^4.3.4 - fs-extra: ^11.2.0 - checksum: 3eda448a59fa1ba82ad4f252e58490fec586b644f2dc9c98ba3ab20e801ecc8a1bc1784829c474c9d188edb633d4dfd81c33894ca6117a33a16e8e013b41b40f + checksum: 7eae81655e0c8cee250d29c189e09030f37a2d37987298325709affb9408de448bf2dc43ee9a59acd21c1f100c3ca711d0446b4e689e9590c25774ecc59f0442 languageName: node linkType: hard -"git-raw-commits@npm:^2.0.11, git-raw-commits@npm:^2.0.8": +"git-raw-commits@npm:^2.0.11": version: 2.0.11 resolution: "git-raw-commits@npm:2.0.11" dependencies: @@ -6739,25 +6358,27 @@ __metadata: languageName: node linkType: hard -"git-remote-origin-url@npm:^2.0.0": - version: 2.0.0 - resolution: "git-remote-origin-url@npm:2.0.0" +"git-raw-commits@npm:^5.0.0": + version: 5.0.0 + resolution: "git-raw-commits@npm:5.0.0" dependencies: - gitconfiglocal: ^1.0.0 - pify: ^2.3.0 - checksum: 85263a09c044b5f4fe2acc45cbb3c5331ab2bd4484bb53dfe7f3dd593a4bf90a9786a2e00b9884524331f50b3da18e8c924f01c2944087fc7f342282c4437b73 + "@conventional-changelog/git-client": ^1.0.0 + meow: ^13.0.0 + bin: + git-raw-commits: src/cli.js + checksum: 8e2767f3a1d751b9aef0f8e84259c87114f1691a0e90ee915ebff5b2f5f8e72d7ea573ff2930be4286c9e067e85713ae67c0645c02e647c5a9c0f5b00bfd6284 languageName: node linkType: hard -"git-semver-tags@npm:^4.1.1": - version: 4.1.1 - resolution: "git-semver-tags@npm:4.1.1" +"git-semver-tags@npm:^8.0.0": + version: 8.0.0 + resolution: "git-semver-tags@npm:8.0.0" dependencies: - meow: ^8.0.0 - semver: ^6.0.0 + "@conventional-changelog/git-client": ^1.0.0 + meow: ^13.0.0 bin: - git-semver-tags: cli.js - checksum: e16d02a515c0f88289a28b5bf59bf42c0dc053765922d3b617ae4b50546bd4f74a25bf3ad53b91cb6c1159319a2e92533b160c573b856c2629125c8b26b3b0e3 + git-semver-tags: src/cli.js + checksum: 49ac7dc10d0a025eaac8bbdcfe9b0e9e596701a1b4ee78b16769995bc9f4bb8230741c37471b6534b804896c01a354effe2d252d727544c4dc5c5f314b559305 languageName: node linkType: hard @@ -6771,21 +6392,12 @@ __metadata: languageName: node linkType: hard -"git-url-parse@npm:13.1.0": - version: 13.1.0 - resolution: "git-url-parse@npm:13.1.0" +"git-url-parse@npm:14.0.0": + version: 14.0.0 + resolution: "git-url-parse@npm:14.0.0" dependencies: git-up: ^7.0.0 - checksum: 212a9b0343e9199998b6a532efe2014476a7a1283af393663ca49ac28d4768929aad16d3322e2685236065ee394dbc93e7aa63a48956531e984c56d8b5edb54d - languageName: node - linkType: hard - -"gitconfiglocal@npm:^1.0.0": - version: 1.0.0 - resolution: "gitconfiglocal@npm:1.0.0" - dependencies: - ini: ^1.3.2 - checksum: e6d2764c15bbab6d1d1000d1181bb907f6b3796bb04f63614dba571b18369e0ecb1beaf27ce8da5b24307ef607e3a5f262a67cb9575510b9446aac697d421beb + checksum: b011c5de652e60e5f19de9815d1b78b2f725deb07e73d1b9ff8ca6657406d0a6c691fbe4460017822676a80635f93099345cadbd06361b76f53c4556265d3e48 languageName: node linkType: hard @@ -6807,7 +6419,7 @@ __metadata: languageName: node linkType: hard -"glob@npm:^10.2.2, glob@npm:^10.3.10": +"glob@npm:^10.2.2, glob@npm:^10.3.10, glob@npm:^10.3.7": version: 10.4.5 resolution: "glob@npm:10.4.5" dependencies: @@ -6862,6 +6474,15 @@ __metadata: languageName: node linkType: hard +"global-directory@npm:^4.0.1": + version: 4.0.1 + resolution: "global-directory@npm:4.0.1" + dependencies: + ini: 4.1.1 + checksum: 5b4df24438a4e5f21e43fbdd9e54f5e12bb48dce01a0a83b415d8052ce91be2d3a97e0c8f98a535e69649b2190036155e9f0f7d3c62f9318f31bdc3fd4f235f5 + languageName: node + linkType: hard + "global-dirs@npm:^0.1.1": version: 0.1.1 resolution: "global-dirs@npm:0.1.1" @@ -6871,15 +6492,6 @@ __metadata: languageName: node linkType: hard -"global-dirs@npm:^3.0.0": - version: 3.0.1 - resolution: "global-dirs@npm:3.0.1" - dependencies: - ini: 2.0.0 - checksum: 70147b80261601fd40ac02a104581432325c1c47329706acd773f3a6ce99bb36d1d996038c85ccacd482ad22258ec233c586b6a91535b1a116b89663d49d6438 - languageName: node - linkType: hard - "globals@npm:^11.1.0": version: 11.12.0 resolution: "globals@npm:11.12.0" @@ -6896,7 +6508,7 @@ __metadata: languageName: node linkType: hard -"globalthis@npm:^1.0.3": +"globalthis@npm:^1.0.4": version: 1.0.4 resolution: "globalthis@npm:1.0.4" dependencies: @@ -6906,16 +6518,17 @@ __metadata: languageName: node linkType: hard -"globby@npm:13.1.4": - version: 13.1.4 - resolution: "globby@npm:13.1.4" +"globby@npm:14.0.2": + version: 14.0.2 + resolution: "globby@npm:14.0.2" dependencies: - dir-glob: ^3.0.1 - fast-glob: ^3.2.11 - ignore: ^5.2.0 - merge2: ^1.4.1 - slash: ^4.0.0 - checksum: e8bc13879972082d590cd1b0e27080d90d2e12fff7eeb2cee9329c29115ace14cc5b9f899e3d6beb136ba826307a727016658919a6f383e1511d698acee81741 + "@sindresorhus/merge-streams": ^2.1.0 + fast-glob: ^3.3.2 + ignore: ^5.2.4 + path-type: ^5.0.0 + slash: ^5.1.0 + unicorn-magic: ^0.1.0 + checksum: 2cee79efefca4383a825fc2fcbdb37e5706728f2d39d4b63851927c128fff62e6334ef7d4d467949d411409ad62767dc2d214e0f837a0f6d4b7290b6711d485c languageName: node linkType: hard @@ -6946,31 +6559,10 @@ __metadata: languageName: node linkType: hard -"gopd@npm:^1.0.1": - version: 1.0.1 - resolution: "gopd@npm:1.0.1" - dependencies: - get-intrinsic: ^1.1.3 - checksum: a5ccfb8806e0917a94e0b3de2af2ea4979c1da920bc381667c260e00e7cafdbe844e2cb9c5bcfef4e5412e8bf73bab837285bc35c7ba73aaaf0134d4583393a6 - languageName: node - linkType: hard - -"got@npm:12.6.1, got@npm:^12.1.0": - version: 12.6.1 - resolution: "got@npm:12.6.1" - dependencies: - "@sindresorhus/is": ^5.2.0 - "@szmarczak/http-timer": ^5.0.1 - cacheable-lookup: ^7.0.0 - cacheable-request: ^10.2.8 - decompress-response: ^6.0.0 - form-data-encoder: ^2.1.2 - get-stream: ^6.0.1 - http2-wrapper: ^2.1.10 - lowercase-keys: ^3.0.0 - p-cancelable: ^3.0.0 - responselike: ^3.0.0 - checksum: 3c37f5d858aca2859f9932e7609d35881d07e7f2d44c039d189396f0656896af6c77c22f2c51c563f8918be483f60ff41e219de742ab4642d4b106711baccbd5 +"gopd@npm:^1.0.1, gopd@npm:^1.2.0": + version: 1.2.0 + resolution: "gopd@npm:1.2.0" + checksum: cc6d8e655e360955bdccaca51a12a474268f95bb793fc3e1f2bdadb075f28bfd1fd988dab872daf77a61d78cbaf13744bc8727a17cfb1d150d76047d805375f3 languageName: node linkType: hard @@ -6981,7 +6573,7 @@ __metadata: languageName: node linkType: hard -"graceful-fs@npm:^4.1.11, graceful-fs@npm:^4.1.2, graceful-fs@npm:^4.1.3, graceful-fs@npm:^4.1.6, graceful-fs@npm:^4.2.0, graceful-fs@npm:^4.2.10, graceful-fs@npm:^4.2.4, graceful-fs@npm:^4.2.6, graceful-fs@npm:^4.2.9": +"graceful-fs@npm:^4.1.3, graceful-fs@npm:^4.1.6, graceful-fs@npm:^4.2.0, graceful-fs@npm:^4.2.10, graceful-fs@npm:^4.2.11, graceful-fs@npm:^4.2.4, graceful-fs@npm:^4.2.6, graceful-fs@npm:^4.2.9": version: 4.2.11 resolution: "graceful-fs@npm:4.2.11" checksum: ac85f94da92d8eb6b7f5a8b20ce65e43d66761c55ce85ac96df6865308390da45a8d3f0296dd3a663de65d30ba497bd46c696cc1e248c72b13d6d567138a4fc7 @@ -7020,17 +6612,10 @@ __metadata: languageName: node linkType: hard -"has-bigints@npm:^1.0.1, has-bigints@npm:^1.0.2": - version: 1.0.2 - resolution: "has-bigints@npm:1.0.2" - checksum: 390e31e7be7e5c6fe68b81babb73dfc35d413604d7ee5f56da101417027a4b4ce6a27e46eff97ad040c835b5d228676eae99a9b5c3bc0e23c8e81a49241ff45b - languageName: node - linkType: hard - -"has-flag@npm:^3.0.0": - version: 3.0.0 - resolution: "has-flag@npm:3.0.0" - checksum: 4a15638b454bf086c8148979aae044dd6e39d63904cd452d970374fa6a87623423da485dfb814e7be882e05c096a7ccf1ebd48e7e7501d0208d8384ff4dea73b +"has-bigints@npm:^1.0.2": + version: 1.1.0 + resolution: "has-bigints@npm:1.1.0" + checksum: 79730518ae02c77e4af6a1d1a0b6a2c3e1509785532771f9baf0241e83e36329542c3d7a0e723df8cbc85f74eff4f177828a2265a01ba576adbdc2d40d86538b languageName: node linkType: hard @@ -7050,21 +6635,23 @@ __metadata: languageName: node linkType: hard -"has-proto@npm:^1.0.1, has-proto@npm:^1.0.3": - version: 1.0.3 - resolution: "has-proto@npm:1.0.3" - checksum: fe7c3d50b33f50f3933a04413ed1f69441d21d2d2944f81036276d30635cad9279f6b43bc8f32036c31ebdfcf6e731150f46c1907ad90c669ffe9b066c3ba5c4 +"has-proto@npm:^1.2.0": + version: 1.2.0 + resolution: "has-proto@npm:1.2.0" + dependencies: + dunder-proto: ^1.0.0 + checksum: f55010cb94caa56308041d77967c72a02ffd71386b23f9afa8447e58bc92d49d15c19bf75173713468e92fe3fb1680b03b115da39c21c32c74886d1d50d3e7ff languageName: node linkType: hard -"has-symbols@npm:^1.0.2, has-symbols@npm:^1.0.3": - version: 1.0.3 - resolution: "has-symbols@npm:1.0.3" - checksum: a054c40c631c0d5741a8285010a0777ea0c068f99ed43e5d6eb12972da223f8af553a455132fdb0801bdcfa0e0f443c0c03a68d8555aa529b3144b446c3f2410 +"has-symbols@npm:^1.0.3, has-symbols@npm:^1.1.0": + version: 1.1.0 + resolution: "has-symbols@npm:1.1.0" + checksum: b2316c7302a0e8ba3aaba215f834e96c22c86f192e7310bdf689dd0e6999510c89b00fbc5742571507cebf25764d68c988b3a0da217369a73596191ac0ce694b languageName: node linkType: hard -"has-tostringtag@npm:^1.0.0, has-tostringtag@npm:^1.0.2": +"has-tostringtag@npm:^1.0.2": version: 1.0.2 resolution: "has-tostringtag@npm:1.0.2" dependencies: @@ -7073,14 +6660,7 @@ __metadata: languageName: node linkType: hard -"has-yarn@npm:^3.0.0": - version: 3.0.0 - resolution: "has-yarn@npm:3.0.0" - checksum: b9e14e78e0a37bc070550c862b201534287bc10e62a86ec9c1f455ffb082db42817ce9aed914bd73f1d589bbf268520e194629ff2f62ff6b98a482c4bd2dcbfb - languageName: node - linkType: hard - -"hasown@npm:^2.0.0, hasown@npm:^2.0.1, hasown@npm:^2.0.2": +"hasown@npm:^2.0.2": version: 2.0.2 resolution: "hasown@npm:2.0.2" dependencies: @@ -7089,35 +6669,35 @@ __metadata: languageName: node linkType: hard -"hermes-estree@npm:0.22.0": - version: 0.22.0 - resolution: "hermes-estree@npm:0.22.0" - checksum: 7c37e7e2f43d650255f5b1d0034e7dc5a1637ac0d15f0beaa672adbcea9db8d2a71b275d48c115862b7952ba2d5b36e736e72cb48b9ae8b236b329d712a74083 +"hermes-estree@npm:0.23.1": + version: 0.23.1 + resolution: "hermes-estree@npm:0.23.1" + checksum: 0f63edc365099304f4cd8e91a3666a4fb5a2a47baee751dc120df9201640112865944cae93617f554af71be9827e96547f9989f4972d6964ecc121527295fec6 languageName: node linkType: hard -"hermes-estree@npm:0.23.0": - version: 0.23.0 - resolution: "hermes-estree@npm:0.23.0" - checksum: 8c1777b4276b1abaf685e8b4a434e22d95a68e2601016493f93b26732284f6eaa02133833830ee49913a915a53712e67593da1c6039b11667ff52ef012dc2129 +"hermes-estree@npm:0.25.1": + version: 0.25.1 + resolution: "hermes-estree@npm:0.25.1" + checksum: 97f42e9178dff61db017810b4f79f5a2cdbb3cde94b7d99ba84ed632ee2adfcae2244555587951b3151fc036676c68f48f57fbe2b49e253eb1f3f904d284a8b0 languageName: node linkType: hard -"hermes-parser@npm:0.22.0": - version: 0.22.0 - resolution: "hermes-parser@npm:0.22.0" +"hermes-parser@npm:0.23.1": + version: 0.23.1 + resolution: "hermes-parser@npm:0.23.1" dependencies: - hermes-estree: 0.22.0 - checksum: b2d5c0730dc9845606a5b4a045fbf67e4985c62eb0f9baa21e204576274227ddfb52da0d2a29f7858293557f3a229448625118a382154337487c7bee610a290c + hermes-estree: 0.23.1 + checksum: a08008928aea9ea9a2cab2c0fac3cffa21f7869ab3fabb68e5add0fe057737a0c352d7a446426f7956172ccc8f2d4a215b4fc20d1d08354fc8dc16772c248fce languageName: node linkType: hard -"hermes-parser@npm:0.23.0": - version: 0.23.0 - resolution: "hermes-parser@npm:0.23.0" +"hermes-parser@npm:0.25.1": + version: 0.25.1 + resolution: "hermes-parser@npm:0.25.1" dependencies: - hermes-estree: 0.23.0 - checksum: 4dc0ddcabdf4c505ca56dc8ee73e11f5653bd16095b03264c46fa342d1669e3ef56532fec7578def043f7c9b5483f01657fa5c7909e4a4f129ddf77d8d373007 + hermes-estree: 0.25.1 + checksum: 4edcfaa3030931343b540182b83c432aba4cdcb1925952521ab4cfb7ab90c2c1543dfcb042ccd51d5e81e4bfe2809420e85902c2ff95ef7c6c64644ce17138ea languageName: node linkType: hard @@ -7128,7 +6708,7 @@ __metadata: languageName: node linkType: hard -"hosted-git-info@npm:^4.0.0, hosted-git-info@npm:^4.0.1": +"hosted-git-info@npm:^4.0.1": version: 4.1.0 resolution: "hosted-git-info@npm:4.1.0" dependencies: @@ -7137,6 +6717,15 @@ __metadata: languageName: node linkType: hard +"hosted-git-info@npm:^7.0.0": + version: 7.0.2 + resolution: "hosted-git-info@npm:7.0.2" + dependencies: + lru-cache: ^10.0.1 + checksum: 467cf908a56556417b18e86ae3b8dee03c2360ef1d51e61c4028fe87f6f309b6ff038589c94b5666af207da9d972d5107698906aabeb78aca134641962a5c6f8 + languageName: node + linkType: hard + "html-escaper@npm:^2.0.0": version: 2.0.2 resolution: "html-escaper@npm:2.0.2" @@ -7164,7 +6753,7 @@ __metadata: languageName: node linkType: hard -"http-proxy-agent@npm:^7.0.0": +"http-proxy-agent@npm:^7.0.0, http-proxy-agent@npm:^7.0.1": version: 7.0.2 resolution: "http-proxy-agent@npm:7.0.2" dependencies: @@ -7174,23 +6763,13 @@ __metadata: languageName: node linkType: hard -"http2-wrapper@npm:^2.1.10": - version: 2.2.1 - resolution: "http2-wrapper@npm:2.2.1" - dependencies: - quick-lru: ^5.1.1 - resolve-alpn: ^1.2.0 - checksum: e95e55e22c6fd61182ce81fecb9b7da3af680d479febe8ad870d05f7ebbc9f076e455193766f4e7934e50913bf1d8da3ba121fb5cd2928892390b58cf9d5c509 - languageName: node - linkType: hard - -"https-proxy-agent@npm:^7.0.0, https-proxy-agent@npm:^7.0.1": - version: 7.0.5 - resolution: "https-proxy-agent@npm:7.0.5" +"https-proxy-agent@npm:^7.0.1, https-proxy-agent@npm:^7.0.6": + version: 7.0.6 + resolution: "https-proxy-agent@npm:7.0.6" dependencies: - agent-base: ^7.0.2 + agent-base: ^7.1.2 debug: 4 - checksum: 2e1a28960f13b041a50702ee74f240add8e75146a5c37fc98f1960f0496710f6918b3a9fe1e5aba41e50f58e6df48d107edd9c405c5f0d73ac260dabf2210857 + checksum: b882377a120aa0544846172e5db021fa8afbf83fea2a897d397bd2ddd8095ab268c24bc462f40a15f2a8c600bf4aa05ce52927f70038d4014e68aefecfa94e8d languageName: node linkType: hard @@ -7208,10 +6787,10 @@ __metadata: languageName: node linkType: hard -"human-signals@npm:^4.3.0": - version: 4.3.1 - resolution: "human-signals@npm:4.3.1" - checksum: 6f12958df3f21b6fdaf02d90896c271df00636a31e2bbea05bddf817a35c66b38a6fdac5863e2df85bd52f34958997f1f50350ff97249e1dff8452865d5235d1 +"human-signals@npm:^5.0.0": + version: 5.0.0 + resolution: "human-signals@npm:5.0.0" + checksum: 6504560d5ed91444f16bea3bd9dfc66110a339442084e56c3e7fa7bbdf3f406426d6563d662bdce67064b165eac31eeabfc0857ed170aaa612cf14ec9f9a464c languageName: node linkType: hard @@ -7233,7 +6812,7 @@ __metadata: languageName: node linkType: hard -"ieee754@npm:^1.1.13, ieee754@npm:^1.2.1": +"ieee754@npm:^1.1.13": version: 1.2.1 resolution: "ieee754@npm:1.2.1" checksum: 5144c0c9815e54ada181d80a0b810221a253562422e7c6c3a60b1901154184f49326ec239d618c416c1c5945a2e197107aee8d986a3dd836b53dffefd99b5e7e @@ -7248,13 +6827,13 @@ __metadata: linkType: hard "image-size@npm:^1.0.2": - version: 1.1.1 - resolution: "image-size@npm:1.1.1" + version: 1.2.0 + resolution: "image-size@npm:1.2.0" dependencies: queue: 6.0.2 bin: image-size: bin/image-size.js - checksum: 23b3a515dded89e7f967d52b885b430d6a5a903da954fce703130bfb6069d738d80e6588efd29acfaf5b6933424a56535aa7bf06867e4ebd0250c2ee51f19a4a + checksum: 6264ae22ea6f349480c5305f84cd1e64f9757442abf4baac79e29519cba38f7ccab90488996e5e4d0c232b2f44dc720576fdf3e7e63c161e49eb1d099e563f82 languageName: node linkType: hard @@ -7269,19 +6848,12 @@ __metadata: linkType: hard "import-fresh@npm:^3.0.0, import-fresh@npm:^3.2.1, import-fresh@npm:^3.3.0": - version: 3.3.0 - resolution: "import-fresh@npm:3.3.0" + version: 3.3.1 + resolution: "import-fresh@npm:3.3.1" dependencies: parent-module: ^1.0.0 resolve-from: ^4.0.0 - checksum: 2cacfad06e652b1edc50be650f7ec3be08c5e5a6f6d12d035c440a42a8cc028e60a5b99ca08a77ab4d6b1346da7d971915828f33cdab730d3d42f08242d09baa - languageName: node - linkType: hard - -"import-lazy@npm:^4.0.0": - version: 4.0.0 - resolution: "import-lazy@npm:4.0.0" - checksum: 22f5e51702134aef78890156738454f620e5fe7044b204ebc057c614888a1dd6fdf2ede0fdcca44d5c173fd64f65c985f19a51775b06967ef58cc3d26898df07 + checksum: a06b19461b4879cc654d46f8a6244eb55eb053437afd4cbb6613cad6be203811849ed3e4ea038783092879487299fda24af932b86bdfff67c9055ba3612b8c87 languageName: node linkType: hard @@ -7318,6 +6890,13 @@ __metadata: languageName: node linkType: hard +"index-to-position@npm:^0.1.2": + version: 0.1.2 + resolution: "index-to-position@npm:0.1.2" + checksum: ce0ab15544b154d6821b4f8b3fdb5dc410d560d20e43bcb0fb8ea2ccc5f93dc04caeee6b3ebd4abc7091e437156db4caaaef934ce20f05f079a1dbc73755f7e7 + languageName: node + linkType: hard + "inflight@npm:^1.0.4": version: 1.0.6 resolution: "inflight@npm:1.0.6" @@ -7335,51 +6914,48 @@ __metadata: languageName: node linkType: hard -"ini@npm:2.0.0": - version: 2.0.0 - resolution: "ini@npm:2.0.0" - checksum: e7aadc5fb2e4aefc666d74ee2160c073995a4061556b1b5b4241ecb19ad609243b9cceafe91bae49c219519394bbd31512516cb22a3b1ca6e66d869e0447e84e +"ini@npm:4.1.1": + version: 4.1.1 + resolution: "ini@npm:4.1.1" + checksum: 0e5909554074fbc31824fa5415b0f604de4a665514c96a897a77bf77353a7ad4743927321270e9d0610a9d510ccd1f3cd77422f7cc80d8f4542dbce75476fb6d languageName: node linkType: hard -"ini@npm:^1.3.2, ini@npm:^1.3.4, ini@npm:~1.3.0": +"ini@npm:^1.3.4, ini@npm:~1.3.0": version: 1.3.8 resolution: "ini@npm:1.3.8" checksum: dfd98b0ca3a4fc1e323e38a6c8eb8936e31a97a918d3b377649ea15bdb15d481207a0dda1021efbd86b464cae29a0d33c1d7dcaf6c5672bee17fa849bc50a1b3 languageName: node linkType: hard -"inquirer@npm:9.2.6": - version: 9.2.6 - resolution: "inquirer@npm:9.2.6" +"inquirer@npm:9.3.2": + version: 9.3.2 + resolution: "inquirer@npm:9.3.2" dependencies: + "@inquirer/figures": ^1.0.3 ansi-escapes: ^4.3.2 - chalk: ^5.2.0 - cli-cursor: ^3.1.0 - cli-width: ^4.0.0 - external-editor: ^3.0.3 - figures: ^5.0.0 - lodash: ^4.17.21 + cli-width: ^4.1.0 + external-editor: ^3.1.0 mute-stream: 1.0.0 ora: ^5.4.1 run-async: ^3.0.0 rxjs: ^7.8.1 string-width: ^4.2.3 strip-ansi: ^6.0.1 - through: ^2.3.6 - wrap-ansi: ^6.0.1 - checksum: caf3e9da66a0b3809952e8425a36435afccba8fdfeea4c9d42ce362d465b72f22a201f37a1badf52dd355c6054e5e6f073d45258fec477238dba13d24a6e77d6 + wrap-ansi: ^6.2.0 + yoctocolors-cjs: ^2.1.1 + checksum: 8a606d400bfc8ce5a3fd70ce38a158327d7f65274cadce25acdfdf93e90aedfaa7b705b7929a10510b928c76c70bb39ca4e566e23620d45ce5c91b2334190f95 languageName: node linkType: hard -"internal-slot@npm:^1.0.4, internal-slot@npm:^1.0.7": - version: 1.0.7 - resolution: "internal-slot@npm:1.0.7" +"internal-slot@npm:^1.1.0": + version: 1.1.0 + resolution: "internal-slot@npm:1.1.0" dependencies: es-errors: ^1.3.0 - hasown: ^2.0.0 - side-channel: ^1.0.4 - checksum: cadc5eea5d7d9bc2342e93aae9f31f04c196afebb11bde97448327049f492cd7081e18623ae71388aac9cd237b692ca3a105be9c68ac39c1dec679d7409e33eb + hasown: ^2.0.2 + side-channel: ^1.1.0 + checksum: 8e0991c2d048cc08dab0a91f573c99f6a4215075887517ea4fa32203ce8aea60fa03f95b177977fa27eb502e5168366d0f3e02c762b799691411d49900611861 languageName: node linkType: hard @@ -7409,13 +6985,6 @@ __metadata: languageName: node linkType: hard -"ip@npm:^1.1.8": - version: 1.1.9 - resolution: "ip@npm:1.1.9" - checksum: b6d91fd45a856e3bd6d4f601ea0619d90f3517638f6918ebd079f959a8a6308568d8db5ef4fdf037e0d9cfdcf264f46833dfeea81ca31309cf0a7eb4b1307b84 - languageName: node - linkType: hard - "is-absolute@npm:^1.0.0": version: 1.0.0 resolution: "is-absolute@npm:1.0.0" @@ -7426,23 +6995,14 @@ __metadata: languageName: node linkType: hard -"is-arguments@npm:^1.1.1": - version: 1.1.1 - resolution: "is-arguments@npm:1.1.1" - dependencies: - call-bind: ^1.0.2 - has-tostringtag: ^1.0.0 - checksum: 7f02700ec2171b691ef3e4d0e3e6c0ba408e8434368504bb593d0d7c891c0dbfda6d19d30808b904a6cb1929bca648c061ba438c39f296c2a8ca083229c49f27 - languageName: node - linkType: hard - -"is-array-buffer@npm:^3.0.4": - version: 3.0.4 - resolution: "is-array-buffer@npm:3.0.4" +"is-array-buffer@npm:^3.0.4, is-array-buffer@npm:^3.0.5": + version: 3.0.5 + resolution: "is-array-buffer@npm:3.0.5" dependencies: - call-bind: ^1.0.2 - get-intrinsic: ^1.2.1 - checksum: e4e3e6ef0ff2239e75371d221f74bc3c26a03564a22efb39f6bb02609b598917ddeecef4e8c877df2a25888f247a98198959842a5e73236bc7f22cabdf6351a7 + call-bind: ^1.0.8 + call-bound: ^1.0.3 + get-intrinsic: ^1.2.6 + checksum: f137a2a6e77af682cdbffef1e633c140cf596f72321baf8bba0f4ef22685eb4339dde23dfe9e9ca430b5f961dee4d46577dcf12b792b68518c8449b134fb9156 languageName: node linkType: hard @@ -7454,75 +7014,71 @@ __metadata: linkType: hard "is-async-function@npm:^2.0.0": - version: 2.0.0 - resolution: "is-async-function@npm:2.0.0" + version: 2.1.1 + resolution: "is-async-function@npm:2.1.1" dependencies: - has-tostringtag: ^1.0.0 - checksum: e3471d95e6c014bf37cad8a93f2f4b6aac962178e0a5041e8903147166964fdc1c5c1d2ef87e86d77322c370ca18f2ea004fa7420581fa747bcaf7c223069dbd + async-function: ^1.0.0 + call-bound: ^1.0.3 + get-proto: ^1.0.1 + has-tostringtag: ^1.0.2 + safe-regex-test: ^1.1.0 + checksum: 9bece45133da26636488ca127d7686b85ad3ca18927e2850cff1937a650059e90be1c71a48623f8791646bb7a241b0cabf602a0b9252dcfa5ab273f2399000e6 languageName: node linkType: hard -"is-bigint@npm:^1.0.1": - version: 1.0.4 - resolution: "is-bigint@npm:1.0.4" +"is-bigint@npm:^1.1.0": + version: 1.1.0 + resolution: "is-bigint@npm:1.1.0" dependencies: - has-bigints: ^1.0.1 - checksum: c56edfe09b1154f8668e53ebe8252b6f185ee852a50f9b41e8d921cb2bed425652049fbe438723f6cb48a63ca1aa051e948e7e401e093477c99c84eba244f666 + has-bigints: ^1.0.2 + checksum: ee1544f0e664f253306786ed1dce494b8cf242ef415d6375d8545b4d8816b0f054bd9f948a8988ae2c6325d1c28260dd02978236b2f7b8fb70dfc4838a6c9fa7 languageName: node linkType: hard -"is-boolean-object@npm:^1.1.0": - version: 1.1.2 - resolution: "is-boolean-object@npm:1.1.2" +"is-boolean-object@npm:^1.2.1": + version: 1.2.2 + resolution: "is-boolean-object@npm:1.2.2" dependencies: - call-bind: ^1.0.2 - has-tostringtag: ^1.0.0 - checksum: c03b23dbaacadc18940defb12c1c0e3aaece7553ef58b162a0f6bba0c2a7e1551b59f365b91e00d2dbac0522392d576ef322628cb1d036a0fe51eb466db67222 + call-bound: ^1.0.3 + has-tostringtag: ^1.0.2 + checksum: 0415b181e8f1bfd5d3f8a20f8108e64d372a72131674eea9c2923f39d065b6ad08d654765553bdbffbd92c3746f1007986c34087db1bd89a31f71be8359ccdaa languageName: node linkType: hard -"is-callable@npm:^1.1.3, is-callable@npm:^1.1.4, is-callable@npm:^1.2.7": +"is-callable@npm:^1.2.7": version: 1.2.7 resolution: "is-callable@npm:1.2.7" checksum: 61fd57d03b0d984e2ed3720fb1c7a897827ea174bd44402878e059542ea8c4aeedee0ea0985998aa5cc2736b2fa6e271c08587addb5b3959ac52cf665173d1ac languageName: node linkType: hard -"is-ci@npm:3.0.1, is-ci@npm:^3.0.1": - version: 3.0.1 - resolution: "is-ci@npm:3.0.1" - dependencies: - ci-info: ^3.2.0 - bin: - is-ci: bin.js - checksum: 192c66dc7826d58f803ecae624860dccf1899fc1f3ac5505284c0a5cf5f889046ffeb958fa651e5725d5705c5bcb14f055b79150ea5fcad7456a9569de60260e - languageName: node - linkType: hard - -"is-core-module@npm:^2.13.0, is-core-module@npm:^2.5.0": - version: 2.15.1 - resolution: "is-core-module@npm:2.15.1" +"is-core-module@npm:^2.13.0, is-core-module@npm:^2.16.0, is-core-module@npm:^2.5.0": + version: 2.16.1 + resolution: "is-core-module@npm:2.16.1" dependencies: hasown: ^2.0.2 - checksum: df134c168115690724b62018c37b2f5bba0d5745fa16960b329c5a00883a8bea6a5632fdb1e3efcce237c201826ba09f93197b7cd95577ea56b0df335be23633 + checksum: 6ec5b3c42d9cbf1ac23f164b16b8a140c3cec338bf8f884c076ca89950c7cc04c33e78f02b8cae7ff4751f3247e3174b2330f1fe4de194c7210deb8b1ea316a7 languageName: node linkType: hard -"is-data-view@npm:^1.0.1": - version: 1.0.1 - resolution: "is-data-view@npm:1.0.1" +"is-data-view@npm:^1.0.1, is-data-view@npm:^1.0.2": + version: 1.0.2 + resolution: "is-data-view@npm:1.0.2" dependencies: + call-bound: ^1.0.2 + get-intrinsic: ^1.2.6 is-typed-array: ^1.1.13 - checksum: 4ba4562ac2b2ec005fefe48269d6bd0152785458cd253c746154ffb8a8ab506a29d0cfb3b74af87513843776a88e4981ae25c89457bf640a33748eab1a7216b5 + checksum: 31600dd19932eae7fd304567e465709ffbfa17fa236427c9c864148e1b54eb2146357fcf3aed9b686dee13c217e1bb5a649cb3b9c479e1004c0648e9febde1b2 languageName: node linkType: hard -"is-date-object@npm:^1.0.1, is-date-object@npm:^1.0.5": - version: 1.0.5 - resolution: "is-date-object@npm:1.0.5" +"is-date-object@npm:^1.0.5, is-date-object@npm:^1.1.0": + version: 1.1.0 + resolution: "is-date-object@npm:1.1.0" dependencies: - has-tostringtag: ^1.0.0 - checksum: baa9077cdf15eb7b58c79398604ca57379b2fc4cf9aa7a9b9e295278648f628c9b201400c01c5e0f7afae56507d741185730307cbe7cad3b9f90a77e5ee342fc + call-bound: ^1.0.2 + has-tostringtag: ^1.0.2 + checksum: d6c36ab9d20971d65f3fc64cef940d57a4900a2ac85fb488a46d164c2072a33da1cb51eefcc039e3e5c208acbce343d3480b84ab5ff0983f617512da2742562a languageName: node linkType: hard @@ -7558,12 +7114,12 @@ __metadata: languageName: node linkType: hard -"is-finalizationregistry@npm:^1.0.2": - version: 1.0.2 - resolution: "is-finalizationregistry@npm:1.0.2" +"is-finalizationregistry@npm:^1.1.0": + version: 1.1.1 + resolution: "is-finalizationregistry@npm:1.1.1" dependencies: - call-bind: ^1.0.2 - checksum: 4f243a8e06228cd45bdab8608d2cb7abfc20f6f0189c8ac21ea8d603f1f196eabd531ce0bb8e08cbab047e9845ef2c191a3761c9a17ad5cabf8b35499c4ad35d + call-bound: ^1.0.3 + checksum: 38c646c506e64ead41a36c182d91639833311970b6b6c6268634f109eef0a1a9d2f1f2e499ef4cb43c744a13443c4cdd2f0812d5afdcee5e9b65b72b28c48557 languageName: node linkType: hard @@ -7589,11 +7145,14 @@ __metadata: linkType: hard "is-generator-function@npm:^1.0.10": - version: 1.0.10 - resolution: "is-generator-function@npm:1.0.10" + version: 1.1.0 + resolution: "is-generator-function@npm:1.1.0" dependencies: - has-tostringtag: ^1.0.0 - checksum: d54644e7dbaccef15ceb1e5d91d680eb5068c9ee9f9eb0a9e04173eb5542c9b51b5ab52c5537f5703e48d5fddfd376817c1ca07a84a407b7115b769d4bdde72b + call-bound: ^1.0.3 + get-proto: ^1.0.0 + has-tostringtag: ^1.0.2 + safe-regex-test: ^1.1.0 + checksum: f7f7276131bdf7e28169b86ac55a5b080012a597f9d85a0cbef6fe202a7133fa450a3b453e394870e3cb3685c5a764c64a9f12f614684b46969b1e6f297bed6b languageName: node linkType: hard @@ -7626,6 +7185,15 @@ __metadata: languageName: node linkType: hard +"is-in-ci@npm:^1.0.0": + version: 1.0.0 + resolution: "is-in-ci@npm:1.0.0" + bin: + is-in-ci: cli.js + checksum: a2e82d04aa729008e31e4b3dda56266f02ffa44109525a9cb2f521f44a2538d2f86227a32ca4f855b0ebd24f976561c368105cacb477ca34b16acb0b766e9103 + languageName: node + linkType: hard + "is-inside-container@npm:^1.0.0": version: 1.0.0 resolution: "is-inside-container@npm:1.0.0" @@ -7637,13 +7205,13 @@ __metadata: languageName: node linkType: hard -"is-installed-globally@npm:^0.4.0": - version: 0.4.0 - resolution: "is-installed-globally@npm:0.4.0" +"is-installed-globally@npm:^1.0.0": + version: 1.0.0 + resolution: "is-installed-globally@npm:1.0.0" dependencies: - global-dirs: ^3.0.0 - is-path-inside: ^3.0.2 - checksum: 3359840d5982d22e9b350034237b2cda2a12bac1b48a721912e1ab8e0631dd07d45a2797a120b7b87552759a65ba03e819f1bd63f2d7ab8657ec0b44ee0bf399 + global-directory: ^4.0.1 + is-path-inside: ^4.0.0 + checksum: 713bd28acc24b4b0744d8d73001a36a4c8225fad6cb51e5236e615f06393ad665b5e5eacab962d1b1101d7a8f89216ccb13d4be39b46758ad7b646c4f54a248d languageName: node linkType: hard @@ -7661,27 +7229,13 @@ __metadata: languageName: node linkType: hard -"is-lambda@npm:^1.0.1": - version: 1.0.1 - resolution: "is-lambda@npm:1.0.1" - checksum: 93a32f01940220532e5948538699ad610d5924ac86093fcee83022252b363eb0cc99ba53ab084a04e4fb62bf7b5731f55496257a4c38adf87af9c4d352c71c35 - languageName: node - linkType: hard - -"is-map@npm:^2.0.2, is-map@npm:^2.0.3": +"is-map@npm:^2.0.3": version: 2.0.3 resolution: "is-map@npm:2.0.3" checksum: e6ce5f6380f32b141b3153e6ba9074892bbbbd655e92e7ba5ff195239777e767a976dcd4e22f864accaf30e53ebf961ab1995424aef91af68788f0591b7396cc languageName: node linkType: hard -"is-negative-zero@npm:^2.0.3": - version: 2.0.3 - resolution: "is-negative-zero@npm:2.0.3" - checksum: c1e6b23d2070c0539d7b36022d5a94407132411d01aba39ec549af824231f3804b1aea90b5e4e58e807a65d23ceb538ed6e355ce76b267bdd86edb757ffcbdcd - languageName: node - linkType: hard - "is-npm@npm:^6.0.0": version: 6.0.0 resolution: "is-npm@npm:6.0.0" @@ -7689,12 +7243,13 @@ __metadata: languageName: node linkType: hard -"is-number-object@npm:^1.0.4": - version: 1.0.7 - resolution: "is-number-object@npm:1.0.7" +"is-number-object@npm:^1.1.1": + version: 1.1.1 + resolution: "is-number-object@npm:1.1.1" dependencies: - has-tostringtag: ^1.0.0 - checksum: d1e8d01bb0a7134c74649c4e62da0c6118a0bfc6771ea3c560914d52a627873e6920dd0fd0ebc0e12ad2ff4687eac4c308f7e80320b973b2c8a2c8f97a7524f7 + call-bound: ^1.0.3 + has-tostringtag: ^1.0.2 + checksum: 6517f0a0e8c4b197a21afb45cd3053dc711e79d45d8878aa3565de38d0102b130ca8732485122c7b336e98c27dacd5236854e3e6526e0eb30cae64956535662f languageName: node linkType: hard @@ -7756,20 +7311,15 @@ __metadata: languageName: node linkType: hard -"is-plain-object@npm:^5.0.0": - version: 5.0.0 - resolution: "is-plain-object@npm:5.0.0" - checksum: e32d27061eef62c0847d303125440a38660517e586f2f3db7c9d179ae5b6674ab0f469d519b2e25c147a1a3bc87156d0d5f4d8821e0ce4a9ee7fe1fcf11ce45c - languageName: node - linkType: hard - -"is-regex@npm:^1.1.4": - version: 1.1.4 - resolution: "is-regex@npm:1.1.4" +"is-regex@npm:^1.2.1": + version: 1.2.1 + resolution: "is-regex@npm:1.2.1" dependencies: - call-bind: ^1.0.2 - has-tostringtag: ^1.0.0 - checksum: 362399b33535bc8f386d96c45c9feb04cf7f8b41c182f54174c1a45c9abbbe5e31290bbad09a458583ff6bf3b2048672cdb1881b13289569a7c548370856a652 + call-bound: ^1.0.2 + gopd: ^1.2.0 + has-tostringtag: ^1.0.2 + hasown: ^2.0.2 + checksum: 99ee0b6d30ef1bb61fa4b22fae7056c6c9b3c693803c0c284ff7a8570f83075a7d38cda53b06b7996d441215c27895ea5d1af62124562e13d91b3dbec41a5e13 languageName: node linkType: hard @@ -7782,28 +7332,28 @@ __metadata: languageName: node linkType: hard -"is-set@npm:^2.0.2, is-set@npm:^2.0.3": +"is-set@npm:^2.0.3": version: 2.0.3 resolution: "is-set@npm:2.0.3" checksum: 36e3f8c44bdbe9496c9689762cc4110f6a6a12b767c5d74c0398176aa2678d4467e3bf07595556f2dba897751bde1422480212b97d973c7b08a343100b0c0dfe languageName: node linkType: hard -"is-shared-array-buffer@npm:^1.0.2, is-shared-array-buffer@npm:^1.0.3": - version: 1.0.3 - resolution: "is-shared-array-buffer@npm:1.0.3" +"is-shared-array-buffer@npm:^1.0.4": + version: 1.0.4 + resolution: "is-shared-array-buffer@npm:1.0.4" dependencies: - call-bind: ^1.0.7 - checksum: a4fff602c309e64ccaa83b859255a43bb011145a42d3f56f67d9268b55bc7e6d98a5981a1d834186ad3105d6739d21547083fe7259c76c0468483fc538e716d8 + call-bound: ^1.0.3 + checksum: 1611fedc175796eebb88f4dfc393dd969a4a8e6c69cadaff424ee9d4464f9f026399a5f84a90f7c62d6d7ee04e3626a912149726de102b0bd6c1ee6a9868fa5a languageName: node linkType: hard "is-ssh@npm:^1.4.0": - version: 1.4.0 - resolution: "is-ssh@npm:1.4.0" + version: 1.4.1 + resolution: "is-ssh@npm:1.4.1" dependencies: protocols: ^2.0.1 - checksum: 75eaa17b538bee24b661fbeb0f140226ac77e904a6039f787bea418431e2162f1f9c4c4ccad3bd169e036cd701cc631406e8c505d9fa7e20164e74b47f86f40f + checksum: 005b461ac444398eb8b7cd2f489288e49dd18c8b6cbf1eb20767f9b79f330ab6e3308b2dac8ec6ca2a950d2a368912e0e992e2474bc1b5204693abb6226c1431 languageName: node linkType: hard @@ -7821,21 +7371,24 @@ __metadata: languageName: node linkType: hard -"is-string@npm:^1.0.5, is-string@npm:^1.0.7": - version: 1.0.7 - resolution: "is-string@npm:1.0.7" +"is-string@npm:^1.0.7, is-string@npm:^1.1.1": + version: 1.1.1 + resolution: "is-string@npm:1.1.1" dependencies: - has-tostringtag: ^1.0.0 - checksum: 323b3d04622f78d45077cf89aab783b2f49d24dc641aa89b5ad1a72114cfeff2585efc8c12ef42466dff32bde93d839ad321b26884cf75e5a7892a938b089989 + call-bound: ^1.0.3 + has-tostringtag: ^1.0.2 + checksum: 2eeaaff605250f5e836ea3500d33d1a5d3aa98d008641d9d42fb941e929ffd25972326c2ef912987e54c95b6f10416281aaf1b35cdf81992cfb7524c5de8e193 languageName: node linkType: hard -"is-symbol@npm:^1.0.2, is-symbol@npm:^1.0.3": - version: 1.0.4 - resolution: "is-symbol@npm:1.0.4" +"is-symbol@npm:^1.0.4, is-symbol@npm:^1.1.1": + version: 1.1.1 + resolution: "is-symbol@npm:1.1.1" dependencies: - has-symbols: ^1.0.2 - checksum: 92805812ef590738d9de49d677cd17dfd486794773fb6fa0032d16452af46e9b91bb43ffe82c983570f015b37136f4b53b28b8523bfb10b0ece7a66c31a54510 + call-bound: ^1.0.2 + has-symbols: ^1.1.0 + safe-regex-test: ^1.1.0 + checksum: bfafacf037af6f3c9d68820b74be4ae8a736a658a3344072df9642a090016e281797ba8edbeb1c83425879aae55d1cb1f30b38bf132d703692b2570367358032 languageName: node linkType: hard @@ -7848,19 +7401,12 @@ __metadata: languageName: node linkType: hard -"is-typed-array@npm:^1.1.13": - version: 1.1.13 - resolution: "is-typed-array@npm:1.1.13" +"is-typed-array@npm:^1.1.13, is-typed-array@npm:^1.1.14, is-typed-array@npm:^1.1.15": + version: 1.1.15 + resolution: "is-typed-array@npm:1.1.15" dependencies: - which-typed-array: ^1.1.14 - checksum: 150f9ada183a61554c91e1c4290086d2c100b0dff45f60b028519be72a8db964da403c48760723bf5253979b8dffe7b544246e0e5351dcd05c5fdb1dcc1dc0f0 - languageName: node - linkType: hard - -"is-typedarray@npm:^1.0.0": - version: 1.0.0 - resolution: "is-typedarray@npm:1.0.0" - checksum: 3508c6cd0a9ee2e0df2fa2e9baabcdc89e911c7bd5cf64604586697212feec525aa21050e48affb5ffc3df20f0f5d2e2cf79b08caa64e1ccc9578e251763aef7 + which-typed-array: ^1.1.16 + checksum: ea7cfc46c282f805d19a9ab2084fd4542fed99219ee9dbfbc26284728bd713a51eac66daa74eca00ae0a43b61322920ba334793607dc39907465913e921e0892 languageName: node linkType: hard @@ -7880,13 +7426,20 @@ __metadata: languageName: node linkType: hard -"is-unicode-supported@npm:^1.1.0, is-unicode-supported@npm:^1.2.0": +"is-unicode-supported@npm:^1.3.0": version: 1.3.0 resolution: "is-unicode-supported@npm:1.3.0" checksum: 20a1fc161afafaf49243551a5ac33b6c4cf0bbcce369fcd8f2951fbdd000c30698ce320de3ee6830497310a8f41880f8066d440aa3eb0a853e2aa4836dd89abc languageName: node linkType: hard +"is-unicode-supported@npm:^2.0.0": + version: 2.1.0 + resolution: "is-unicode-supported@npm:2.1.0" + checksum: f254e3da6b0ab1a57a94f7273a7798dd35d1d45b227759f600d0fa9d5649f9c07fa8d3c8a6360b0e376adf916d151ec24fc9a50c5295c58bae7ca54a76a063f9 + languageName: node + linkType: hard + "is-weakmap@npm:^2.0.2": version: 2.0.2 resolution: "is-weakmap@npm:2.0.2" @@ -7894,22 +7447,22 @@ __metadata: languageName: node linkType: hard -"is-weakref@npm:^1.0.2": - version: 1.0.2 - resolution: "is-weakref@npm:1.0.2" +"is-weakref@npm:^1.0.2, is-weakref@npm:^1.1.0": + version: 1.1.1 + resolution: "is-weakref@npm:1.1.1" dependencies: - call-bind: ^1.0.2 - checksum: 95bd9a57cdcb58c63b1c401c60a474b0f45b94719c30f548c891860f051bc2231575c290a6b420c6bc6e7ed99459d424c652bd5bf9a1d5259505dc35b4bf83de + call-bound: ^1.0.3 + checksum: 1769b9aed5d435a3a989ffc18fc4ad1947d2acdaf530eb2bd6af844861b545047ea51102f75901f89043bed0267ed61d914ee21e6e8b9aa734ec201cdfc0726f languageName: node linkType: hard "is-weakset@npm:^2.0.3": - version: 2.0.3 - resolution: "is-weakset@npm:2.0.3" + version: 2.0.4 + resolution: "is-weakset@npm:2.0.4" dependencies: - call-bind: ^1.0.7 - get-intrinsic: ^1.2.4 - checksum: 8b6a20ee9f844613ff8f10962cfee49d981d584525f2357fee0a04dfbcde9fd607ed60cb6dab626dbcc470018ae6392e1ff74c0c1aced2d487271411ad9d85ae + call-bound: ^1.0.3 + get-intrinsic: ^1.2.6 + checksum: 5c6c8415a06065d78bdd5e3a771483aa1cd928df19138aa73c4c51333226f203f22117b4325df55cc8b3085a6716870a320c2d757efee92d7a7091a039082041 languageName: node linkType: hard @@ -7936,10 +7489,12 @@ __metadata: languageName: node linkType: hard -"is-yarn-global@npm:^0.4.0": - version: 0.4.1 - resolution: "is-yarn-global@npm:0.4.1" - checksum: 79ec4e6f581c53d4fefdf5f6c237f9a3ad8db29c85cdc4659e76ae345659317552052a97b7e56952aa5d94a23c798ebec8ccad72fb14d3b26dc647ddceddd716 +"is-wsl@npm:^3.1.0": + version: 3.1.0 + resolution: "is-wsl@npm:3.1.0" + dependencies: + is-inside-container: ^1.0.0 + checksum: f9734c81f2f9cf9877c5db8356bfe1ff61680f1f4c1011e91278a9c0564b395ae796addb4bf33956871041476ec82c3e5260ed57b22ac91794d4ae70a1d2f0a9 languageName: node linkType: hard @@ -7978,16 +7533,16 @@ __metadata: languageName: node linkType: hard -"issue-parser@npm:6.0.0": - version: 6.0.0 - resolution: "issue-parser@npm:6.0.0" +"issue-parser@npm:7.0.1": + version: 7.0.1 + resolution: "issue-parser@npm:7.0.1" dependencies: lodash.capitalize: ^4.2.1 lodash.escaperegexp: ^4.1.2 lodash.isplainobject: ^4.0.6 lodash.isstring: ^4.0.1 lodash.uniqby: ^4.7.0 - checksum: 3357928af6c78c4803340f978bd55dc922b6b15b3f6c76aaa78a08999d39002729502ce1650863d1a9d728a7e31ccc0a865087244225ef6e8fc85aaf2f9c0f67 + checksum: baf2831baa84c214a8c9f095889476f2ad7a6511fef7d096941ecf4666a822fbce298baac38510c4be782fc562488d4909535e81fb7a28c55779fcc88e3ec595 languageName: node linkType: hard @@ -8056,33 +7611,17 @@ __metadata: languageName: node linkType: hard -"iterate-iterator@npm:^1.0.1": - version: 1.0.2 - resolution: "iterate-iterator@npm:1.0.2" - checksum: 97b3ed4f2bebe038be57d03277879e406b2c537ceeeab7f82d4167f9a3cff872cc2cc5da3dc9920ff544ca247329d2a4d44121bb8ef8d0807a72176bdbc17c84 - languageName: node - linkType: hard - -"iterate-value@npm:^1.0.2": - version: 1.0.2 - resolution: "iterate-value@npm:1.0.2" - dependencies: - es-get-iterator: ^1.0.2 - iterate-iterator: ^1.0.1 - checksum: 446a4181657df1872e5020713206806757157db6ab375dee05eb4565b66e1244d7a99cd36ce06862261ad4bd059e66ba8192f62b5d1ff41d788c3b61953af6c3 - languageName: node - linkType: hard - -"iterator.prototype@npm:^1.1.2": - version: 1.1.2 - resolution: "iterator.prototype@npm:1.1.2" +"iterator.prototype@npm:^1.1.4": + version: 1.1.5 + resolution: "iterator.prototype@npm:1.1.5" dependencies: - define-properties: ^1.2.1 - get-intrinsic: ^1.2.1 - has-symbols: ^1.0.3 - reflect.getprototypeof: ^1.0.4 - set-function-name: ^2.0.1 - checksum: d8a507e2ccdc2ce762e8a1d3f4438c5669160ac72b88b648e59a688eec6bc4e64b22338e74000518418d9e693faf2a092d2af21b9ec7dbf7763b037a54701168 + define-data-property: ^1.1.4 + es-object-atoms: ^1.0.0 + get-intrinsic: ^1.2.6 + get-proto: ^1.0.0 + has-symbols: ^1.1.0 + set-function-name: ^2.0.2 + checksum: 7db23c42629ba4790e6e15f78b555f41dbd08818c85af306988364bd19d86716a1187cb333444f3a0036bfc078a0e9cb7ec67fef3a61662736d16410d7f77869 languageName: node linkType: hard @@ -8570,7 +8109,7 @@ __metadata: languageName: node linkType: hard -"js-yaml@npm:^4.0.0, js-yaml@npm:^4.1.0": +"js-yaml@npm:^4.1.0": version: 4.1.0 resolution: "js-yaml@npm:4.1.0" dependencies: @@ -8588,13 +8127,6 @@ __metadata: languageName: node linkType: hard -"jsc-android@npm:^250231.0.0": - version: 250231.0.0 - resolution: "jsc-android@npm:250231.0.0" - checksum: 6c3f0f6f02fa37a19935b2fbe651e9d6ecc370eb30f2ecee76379337bbf084abb568a1ef1133fe622c5b76f43cf54bb7716f92a94dca010985da38edc48841e2 - languageName: node - linkType: hard - "jsc-safe-url@npm:^0.2.2": version: 0.2.4 resolution: "jsc-safe-url@npm:0.2.4" @@ -8602,52 +8134,54 @@ __metadata: languageName: node linkType: hard -"jscodeshift@npm:^0.14.0": - version: 0.14.0 - resolution: "jscodeshift@npm:0.14.0" +"jscodeshift@npm:^17.0.0": + version: 17.1.2 + resolution: "jscodeshift@npm:17.1.2" dependencies: - "@babel/core": ^7.13.16 - "@babel/parser": ^7.13.16 - "@babel/plugin-proposal-class-properties": ^7.13.0 - "@babel/plugin-proposal-nullish-coalescing-operator": ^7.13.8 - "@babel/plugin-proposal-optional-chaining": ^7.13.12 - "@babel/plugin-transform-modules-commonjs": ^7.13.8 - "@babel/preset-flow": ^7.13.13 - "@babel/preset-typescript": ^7.13.0 - "@babel/register": ^7.13.16 - babel-core: ^7.0.0-bridge.0 - chalk: ^4.1.2 + "@babel/core": ^7.24.7 + "@babel/parser": ^7.24.7 + "@babel/plugin-transform-class-properties": ^7.24.7 + "@babel/plugin-transform-modules-commonjs": ^7.24.7 + "@babel/plugin-transform-nullish-coalescing-operator": ^7.24.7 + "@babel/plugin-transform-optional-chaining": ^7.24.7 + "@babel/plugin-transform-private-methods": ^7.24.7 + "@babel/preset-flow": ^7.24.7 + "@babel/preset-typescript": ^7.24.7 + "@babel/register": ^7.24.6 flow-parser: 0.* graceful-fs: ^4.2.4 - micromatch: ^4.0.4 + micromatch: ^4.0.7 neo-async: ^2.5.0 - node-dir: ^0.1.17 - recast: ^0.21.0 - temp: ^0.8.4 - write-file-atomic: ^2.3.0 + picocolors: ^1.0.1 + recast: ^0.23.9 + tmp: ^0.2.3 + write-file-atomic: ^5.0.1 peerDependencies: "@babel/preset-env": ^7.1.6 + peerDependenciesMeta: + "@babel/preset-env": + optional: true bin: jscodeshift: bin/jscodeshift.js - checksum: 54ea6d639455883336f80b38a70648821c88b7942315dc0fbab01bc34a9ad0f0f78e3bd69304b5ab167e4262d6ed7e6284c6d32525ab01c89d9118df89b3e2a0 + checksum: b4e04a950c416a3f071d847d3c9446996ddef67876cec18d99acbf3a640e9d5a18982bb8da306b454ad16ab63206aac31d16c16e8042fda85025b7366847984e languageName: node linkType: hard -"jsesc@npm:^2.5.1": - version: 2.5.2 - resolution: "jsesc@npm:2.5.2" +"jsesc@npm:^3.0.2": + version: 3.1.0 + resolution: "jsesc@npm:3.1.0" bin: jsesc: bin/jsesc - checksum: 4dc190771129e12023f729ce20e1e0bfceac84d73a85bc3119f7f938843fe25a4aeccb54b6494dce26fcf263d815f5f31acdefac7cc9329efb8422a4f4d9fa9d + checksum: 19c94095ea026725540c0d29da33ab03144f6bcf2d4159e4833d534976e99e0c09c38cefa9a575279a51fc36b31166f8d6d05c9fe2645d5f15851d690b41f17f languageName: node linkType: hard -"jsesc@npm:~0.5.0": - version: 0.5.0 - resolution: "jsesc@npm:0.5.0" +"jsesc@npm:~3.0.2": + version: 3.0.2 + resolution: "jsesc@npm:3.0.2" bin: jsesc: bin/jsesc - checksum: b8b44cbfc92f198ad972fba706ee6a1dfa7485321ee8c0b25f5cedd538dcb20cde3197de16a7265430fce8277a12db066219369e3d51055038946039f6e20e17 + checksum: a36d3ca40574a974d9c2063bf68c2b6141c20da8f2a36bd3279fc802563f35f0527a6c828801295bdfb2803952cf2cf387786c2c90ed564f88d5782475abfe3c languageName: node linkType: hard @@ -8693,13 +8227,6 @@ __metadata: languageName: node linkType: hard -"json-stringify-safe@npm:^5.0.1": - version: 5.0.1 - resolution: "json-stringify-safe@npm:5.0.1" - checksum: 48ec0adad5280b8a96bb93f4563aa1667fd7a36334f79149abd42446d0989f2ddc58274b479f4819f1f00617957e6344c886c55d05a4e15ebb4ab931e4a6a8ee - languageName: node - linkType: hard - "json5@npm:^2.2.1, json5@npm:^2.2.3": version: 2.2.3 resolution: "json5@npm:2.2.3" @@ -8783,12 +8310,19 @@ __metadata: languageName: node linkType: hard -"latest-version@npm:^7.0.0": - version: 7.0.0 - resolution: "latest-version@npm:7.0.0" +"ky@npm:^1.2.0": + version: 1.7.5 + resolution: "ky@npm:1.7.5" + checksum: 868793ff364b64b24a18c9b0484ef133b762cd0a824e0e06b45cbb2e34ee465c3ce3b88218422f7ce0413bc3900edebbfc564cecf5f5d29f208e3c7de8300169 + languageName: node + linkType: hard + +"latest-version@npm:^9.0.0": + version: 9.0.0 + resolution: "latest-version@npm:9.0.0" dependencies: - package-json: ^8.1.0 - checksum: 1f0deba00d5a34394cce4463c938811f51bbb539b131674f4bb2062c63f2cc3b80bccd56ecade3bd5932d04a34cf0a5a8a2ccc4ec9e5e6b285a9a7b3e27d0d66 + package-json: ^10.0.0 + checksum: 98f0a33bcba8f77e3627d7febe896287cde2e631d39844b447e900b3bc954f5ffa2a353fbb343c6cf2827009f21f4b11ca36a54c03f6d989ed0e36a68606d422 languageName: node linkType: hard @@ -8809,16 +8343,6 @@ __metadata: languageName: node linkType: hard -"levn@npm:~0.3.0": - version: 0.3.0 - resolution: "levn@npm:0.3.0" - dependencies: - prelude-ls: ~1.1.2 - type-check: ~0.3.2 - checksum: 0d084a524231a8246bb10fec48cdbb35282099f6954838604f3c7fc66f2e16fa66fd9cc2f3f20a541a113c4dafdf181e822c887c8a319c9195444e6c64ac395e - languageName: node - linkType: hard - "lighthouse-logger@npm:^1.0.0": version: 1.4.2 resolution: "lighthouse-logger@npm:1.4.2" @@ -8836,28 +8360,6 @@ __metadata: languageName: node linkType: hard -"load-json-file@npm:^4.0.0": - version: 4.0.0 - resolution: "load-json-file@npm:4.0.0" - dependencies: - graceful-fs: ^4.1.2 - parse-json: ^4.0.0 - pify: ^3.0.0 - strip-bom: ^3.0.0 - checksum: 8f5d6d93ba64a9620445ee9bde4d98b1eac32cf6c8c2d20d44abfa41a6945e7969456ab5f1ca2fb06ee32e206c9769a20eec7002fe290de462e8c884b6b8b356 - languageName: node - linkType: hard - -"locate-path@npm:^2.0.0": - version: 2.0.0 - resolution: "locate-path@npm:2.0.0" - dependencies: - p-locate: ^2.0.0 - path-exists: ^3.0.0 - checksum: 02d581edbbbb0fa292e28d96b7de36b5b62c2fa8b5a7e82638ebb33afa74284acf022d3b1e9ae10e3ffb7658fbc49163fcd5e76e7d1baaa7801c3e05a81da755 - languageName: node - linkType: hard - "locate-path@npm:^3.0.0": version: 3.0.0 resolution: "locate-path@npm:3.0.0" @@ -8921,13 +8423,6 @@ __metadata: languageName: node linkType: hard -"lodash.ismatch@npm:^4.4.0": - version: 4.4.0 - resolution: "lodash.ismatch@npm:4.4.0" - checksum: a393917578842705c7fc1a30fb80613d1ac42d20b67eb26a2a6004d6d61ee90b419f9eb320508ddcd608e328d91eeaa2651411727eaa9a12534ed6ccb02fc705 - languageName: node - linkType: hard - "lodash.isplainobject@npm:^4.0.6": version: 4.0.6 resolution: "lodash.isplainobject@npm:4.0.6" @@ -9022,13 +8517,13 @@ __metadata: languageName: node linkType: hard -"log-symbols@npm:^5.1.0": - version: 5.1.0 - resolution: "log-symbols@npm:5.1.0" +"log-symbols@npm:^6.0.0": + version: 6.0.0 + resolution: "log-symbols@npm:6.0.0" dependencies: - chalk: ^5.0.0 - is-unicode-supported: ^1.1.0 - checksum: 7291b6e7f1b3df6865bdaeb9b59605c832668ac2fa0965c63b1e7dd3700349aec09c1d7d40c368d5041ff58b7f89461a56e4009471921301af7b3609cbff9a29 + chalk: ^5.3.0 + is-unicode-supported: ^1.3.0 + checksum: 510cdda36700cbcd87a2a691ea08d310a6c6b449084018f7f2ec4f732ca5e51b301ff1327aadd96f53c08318e616276c65f7fe22f2a16704fb0715d788bc3c33 languageName: node linkType: hard @@ -9045,7 +8540,7 @@ __metadata: languageName: node linkType: hard -"loose-envify@npm:^1.0.0, loose-envify@npm:^1.1.0, loose-envify@npm:^1.4.0": +"loose-envify@npm:^1.0.0, loose-envify@npm:^1.4.0": version: 1.4.0 resolution: "loose-envify@npm:1.4.0" dependencies: @@ -9056,13 +8551,6 @@ __metadata: languageName: node linkType: hard -"lowercase-keys@npm:^3.0.0": - version: 3.0.0 - resolution: "lowercase-keys@npm:3.0.0" - checksum: 67a3f81409af969bc0c4ca0e76cd7d16adb1e25aa1c197229587eaf8671275c8c067cd421795dbca4c81be0098e4c426a086a05e30de8a9c587b7a13c0c7ccc5 - languageName: node - linkType: hard - "lru-cache@npm:^10.0.1, lru-cache@npm:^10.2.0": version: 10.4.3 resolution: "lru-cache@npm:10.4.3" @@ -9095,32 +8583,15 @@ __metadata: languageName: node linkType: hard -"lwk-rn-example@workspace:example": - version: 0.0.0-use.local - resolution: "lwk-rn-example@workspace:example" - dependencies: - "@babel/core": ^7.20.0 - "@babel/preset-env": ^7.20.0 - "@babel/runtime": ^7.20.0 - "@react-native/babel-preset": 0.75.2 - "@react-native/metro-config": 0.75.2 - "@react-native/typescript-config": 0.75.2 - "@rnx-kit/metro-config": ^1.3.17 - react: 18.3.1 - react-native: 0.75.2 - react-native-builder-bob: ^0.30.0 - react-native-test-app: ^3.10.1 - languageName: unknown - linkType: soft - "lwk-rn@workspace:.": version: 0.0.0-use.local resolution: "lwk-rn@workspace:." dependencies: "@commitlint/config-conventional": ^17.0.2 "@evilmartians/lefthook": ^1.5.0 + "@react-native-community/cli": 15.0.1 "@react-native/eslint-config": ^0.73.1 - "@release-it/conventional-changelog": ^5.0.0 + "@release-it/conventional-changelog": ^9.0.2 "@types/jest": ^29.5.5 "@types/react": ^18.2.44 commitlint: ^17.0.2 @@ -9130,12 +8601,13 @@ __metadata: eslint-plugin-prettier: ^5.0.1 jest: ^29.7.0 prettier: ^3.0.3 - react: 18.3.1 - react-native: 0.75.2 - react-native-builder-bob: ^0.30.0 - release-it: ^15.0.0 + react: 19.0.0 + react-native: 0.78.0 + react-native-builder-bob: ^0.36.0 + release-it: ^17.10.0 turbo: ^1.10.7 typescript: ^5.2.2 + uniffi-bindgen-react-native: ^0.28.3-1 peerDependencies: react: "*" react-native: "*" @@ -9175,23 +8647,22 @@ __metadata: languageName: node linkType: hard -"make-fetch-happen@npm:^13.0.0": - version: 13.0.1 - resolution: "make-fetch-happen@npm:13.0.1" +"make-fetch-happen@npm:^14.0.3": + version: 14.0.3 + resolution: "make-fetch-happen@npm:14.0.3" dependencies: - "@npmcli/agent": ^2.0.0 - cacache: ^18.0.0 + "@npmcli/agent": ^3.0.0 + cacache: ^19.0.1 http-cache-semantics: ^4.1.1 - is-lambda: ^1.0.1 minipass: ^7.0.2 - minipass-fetch: ^3.0.0 + minipass-fetch: ^4.0.0 minipass-flush: ^1.0.5 minipass-pipeline: ^1.2.4 - negotiator: ^0.6.3 - proc-log: ^4.2.0 + negotiator: ^1.0.0 + proc-log: ^5.0.0 promise-retry: ^2.0.1 - ssri: ^10.0.0 - checksum: 5c9fad695579b79488fa100da05777213dd9365222f85e4757630f8dd2a21a79ddd3206c78cfd6f9b37346819681782b67900ac847a57cf04190f52dda5343fd + ssri: ^12.0.0 + checksum: 6fb2fee6da3d98f1953b03d315826b5c5a4ea1f908481afc113782d8027e19f080c85ae998454de4e5f27a681d3ec58d57278f0868d4e0b736f51d396b661691 languageName: node linkType: hard @@ -9225,6 +8696,13 @@ __metadata: languageName: node linkType: hard +"math-intrinsics@npm:^1.1.0": + version: 1.1.0 + resolution: "math-intrinsics@npm:1.1.0" + checksum: 0e513b29d120f478c85a70f49da0b8b19bc638975eca466f2eeae0071f3ad00454c621bf66e16dd435896c208e719fc91ad79bbfba4e400fe0b372e7c1c9c9a2 + languageName: node + linkType: hard + "memoize-one@npm:^5.0.0": version: 5.2.1 resolution: "memoize-one@npm:5.2.1" @@ -9252,6 +8730,13 @@ __metadata: languageName: node linkType: hard +"meow@npm:^13.0.0": + version: 13.2.0 + resolution: "meow@npm:13.2.0" + checksum: 79c61dc02ad448ff5c29bbaf1ef42181f1eae9947112c0e23db93e84cbc2708ecda53e54bfc6689f1e55255b2cea26840ec76e57a5773a16ca45f4fe2163ec1c + languageName: node + linkType: hard + "meow@npm:^8.0.0, meow@npm:^8.1.2": version: 8.1.2 resolution: "meow@npm:8.1.2" @@ -9285,68 +8770,127 @@ __metadata: languageName: node linkType: hard -"metro-babel-transformer@npm:0.80.10": - version: 0.80.10 - resolution: "metro-babel-transformer@npm:0.80.10" +"metro-babel-transformer@npm:0.80.12": + version: 0.80.12 + resolution: "metro-babel-transformer@npm:0.80.12" dependencies: "@babel/core": ^7.20.0 flow-enums-runtime: ^0.0.6 - hermes-parser: 0.23.0 + hermes-parser: 0.23.1 + nullthrows: ^1.1.1 + checksum: 1ea8bce0c169f3d8bf46f56da126ca52f4c8ba5ca9ffeaca987c34d269b0a3e2a54d0544bd44bfa5d0322e37f0171a52d2a2160defcbcd91ec1fd96f62b0eece + languageName: node + linkType: hard + +"metro-babel-transformer@npm:0.81.3": + version: 0.81.3 + resolution: "metro-babel-transformer@npm:0.81.3" + dependencies: + "@babel/core": ^7.25.2 + flow-enums-runtime: ^0.0.6 + hermes-parser: 0.25.1 nullthrows: ^1.1.1 - checksum: f6a161e88b31a0d9d91b2ba3a0b213faeec5d2c83a4f0d1b010323c19488ef258bf499b67ee1ca391e7576ba0a7d0ee4a79256972f78f1dfb44efef0754bed0b + checksum: d893fa1a73f7a337772acb308a03f2223f0760fabd573c542dec1618f2bc7a0f45c2746586c5dce4ca1c7d941fde43b87cdfb35c0f37bcea0295c24fb7e16caa + languageName: node + linkType: hard + +"metro-cache-key@npm:0.80.12": + version: 0.80.12 + resolution: "metro-cache-key@npm:0.80.12" + dependencies: + flow-enums-runtime: ^0.0.6 + checksum: 7a06601180604361339d19eb833d61b79cc188a4e6ebe73188cc10fbf3a33e711d74c81d1d19a14b6581bd9dfeebe1b253684360682d033ab55909c9995b6a18 languageName: node linkType: hard -"metro-cache-key@npm:0.80.10": - version: 0.80.10 - resolution: "metro-cache-key@npm:0.80.10" +"metro-cache-key@npm:0.81.3": + version: 0.81.3 + resolution: "metro-cache-key@npm:0.81.3" dependencies: flow-enums-runtime: ^0.0.6 - checksum: 2ec891ae0817b2bfde69a936c488432c93352c0aba0ea23e51111e5812130f0a6be870beca50ee221ba48b4f04c5e2479f86b55fd8fef056344c9a4f8b3a5453 + checksum: dd524555179a1a31872e23b99b1172aa3b5c933d26a07911b84fd33cdb5742888d09b98c0a5f5b7a74667723c20181201f5d8f018dabe6dc6a31b897b1a36bb9 languageName: node linkType: hard -"metro-cache@npm:0.80.10": - version: 0.80.10 - resolution: "metro-cache@npm:0.80.10" +"metro-cache@npm:0.80.12": + version: 0.80.12 + resolution: "metro-cache@npm:0.80.12" dependencies: exponential-backoff: ^3.1.1 flow-enums-runtime: ^0.0.6 - metro-core: 0.80.10 - checksum: d7e567c58f3d4e957ce55d0c90ac4e74e6ce6768b1ebea052cc6be0f3296a9c7a94f4c20cc557af291039a606558021e693788586c7c716895f8be32fd860980 + metro-core: 0.80.12 + checksum: 724e33fdda6a3568572c36a3f2d3465ad1b5f3e8ded5ec116b98e0038826187ebdadd05f77e91ddc17fa71ff4dd91281793a940e7b619cac36044ed868abc01d languageName: node linkType: hard -"metro-config@npm:0.80.10, metro-config@npm:^0.80.3, metro-config@npm:^0.80.9": - version: 0.80.10 - resolution: "metro-config@npm:0.80.10" +"metro-cache@npm:0.81.3": + version: 0.81.3 + resolution: "metro-cache@npm:0.81.3" + dependencies: + exponential-backoff: ^3.1.1 + flow-enums-runtime: ^0.0.6 + metro-core: 0.81.3 + checksum: 9a45adb519e43e3fa09e2da186b3fe5a6a865f33276f7bd4dc1fc7d34368d2a2986b4610c3f34a5ee2c51db3f0711b258b0d65b994d2e82d105c1f3bd3ad0d01 + languageName: node + linkType: hard + +"metro-config@npm:0.80.12, metro-config@npm:^0.80.9": + version: 0.80.12 + resolution: "metro-config@npm:0.80.12" dependencies: connect: ^3.6.5 cosmiconfig: ^5.0.5 flow-enums-runtime: ^0.0.6 jest-validate: ^29.6.3 - metro: 0.80.10 - metro-cache: 0.80.10 - metro-core: 0.80.10 - metro-runtime: 0.80.10 - checksum: 7e2f2a3fc8346455a705daee1852359a737aea4b30e68c3bb680bbf498952d5a2507d3f4d04bdea8ae38dfb30678221031208bb20e347f45457feac49d2115b8 + metro: 0.80.12 + metro-cache: 0.80.12 + metro-core: 0.80.12 + metro-runtime: 0.80.12 + checksum: 49496d2bc875fbb8c89639979753377888f5ce779742a4ef487d812e7c5f3f6c87dd6ae129727f614d2fe3210f7fde08041055d29772b8c86c018e2ef08e7785 + languageName: node + linkType: hard + +"metro-config@npm:0.81.3, metro-config@npm:^0.81.0": + version: 0.81.3 + resolution: "metro-config@npm:0.81.3" + dependencies: + connect: ^3.6.5 + cosmiconfig: ^5.0.5 + flow-enums-runtime: ^0.0.6 + jest-validate: ^29.7.0 + metro: 0.81.3 + metro-cache: 0.81.3 + metro-core: 0.81.3 + metro-runtime: 0.81.3 + checksum: e8d249b46ffec27ce51d93bba214cb1008e83df75ec14dcf03cb37aa06ecedb8585d7fe8c1185fe1650ed6d6e119ac6154cdb0e8ece4be84efeb1e91242ec317 + languageName: node + linkType: hard + +"metro-core@npm:0.80.12": + version: 0.80.12 + resolution: "metro-core@npm:0.80.12" + dependencies: + flow-enums-runtime: ^0.0.6 + lodash.throttle: ^4.1.1 + metro-resolver: 0.80.12 + checksum: 319f3965fa76fc08987cbd0228024bdbb0eaad7406e384e48929674188f1066cbc7a233053615ebd84b3ce1bbae28f59c114885fd0a0c179a580319ed69f717e languageName: node linkType: hard -"metro-core@npm:0.80.10, metro-core@npm:^0.80.3": - version: 0.80.10 - resolution: "metro-core@npm:0.80.10" +"metro-core@npm:0.81.3, metro-core@npm:^0.81.0": + version: 0.81.3 + resolution: "metro-core@npm:0.81.3" dependencies: flow-enums-runtime: ^0.0.6 lodash.throttle: ^4.1.1 - metro-resolver: 0.80.10 - checksum: 3a33d3e1fb1563a99a87b4cc11866cf3bfa193f7c1448af55dc1dce5c7d242168fa4f37a16e72fed02e5c5d4ec3e386ef5749e73aebc0bbca7cbd0f54cb48d21 + metro-resolver: 0.81.3 + checksum: 778db2c71e88c0214b167bfb3af519d998fccb4471ad3e987aafab18d5d861c66c104bfca5f164054a1fe3e5a59c1e7a52c1dc4be735ffb9aa5ac7ca2be12c08 languageName: node linkType: hard -"metro-file-map@npm:0.80.10": - version: 0.80.10 - resolution: "metro-file-map@npm:0.80.10" +"metro-file-map@npm:0.80.12": + version: 0.80.12 + resolution: "metro-file-map@npm:0.80.12" dependencies: anymatch: ^3.0.3 debug: ^2.2.0 @@ -9363,76 +8907,156 @@ __metadata: dependenciesMeta: fsevents: optional: true - checksum: a434f02cd28afdd46b010b73e8622145eaa6820b26260a25c18799093c7ed9536c73e323ff36524766ef3e75378a700e44ddc8435dd64f37d010d28b3f1cfd08 + checksum: 5e6eafcfafe55fd8a9a6e5613394a20ed2a0ad433a394dcb830f017b8fc9d82ddcd715391e36abe5e98c651c074b99a806d3b04d76f2cadb225f9f5b1c92daef + languageName: node + linkType: hard + +"metro-file-map@npm:0.81.3": + version: 0.81.3 + resolution: "metro-file-map@npm:0.81.3" + dependencies: + debug: ^2.2.0 + fb-watchman: ^2.0.0 + flow-enums-runtime: ^0.0.6 + graceful-fs: ^4.2.4 + invariant: ^2.2.4 + jest-worker: ^29.7.0 + micromatch: ^4.0.4 + nullthrows: ^1.1.1 + walker: ^1.0.7 + checksum: 4165cfb812da41859a604b16973db61b66456d4e6ecd6347d9de14ca3ebc75eb10dd2b565fe95bf3616eeada2faca2f5f8a9825acbd73f966dcea0a84057fdd9 + languageName: node + linkType: hard + +"metro-minify-terser@npm:0.80.12": + version: 0.80.12 + resolution: "metro-minify-terser@npm:0.80.12" + dependencies: + flow-enums-runtime: ^0.0.6 + terser: ^5.15.0 + checksum: ff527b3f04c5814db139e55ceb7689aaaf0af5c7fbb0eb5d4a6f22044932dfb10bd385d388fa7b352acd03a2d078edaf43a6b5cd11cbc87a7c5502a34fc12735 languageName: node linkType: hard -"metro-minify-terser@npm:0.80.10": - version: 0.80.10 - resolution: "metro-minify-terser@npm:0.80.10" +"metro-minify-terser@npm:0.81.3": + version: 0.81.3 + resolution: "metro-minify-terser@npm:0.81.3" dependencies: flow-enums-runtime: ^0.0.6 terser: ^5.15.0 - checksum: c9cc5bb0f84eade735428bd27ca225424c74cf91ed898baf7b173c74f08c898fd599f450e09bfc92fff4a5da6f52ef48ad62eeeb7bc9bef24ea1bcb25c0ab937 + checksum: 824c95e6500900647d1f142babe6e30098063972baa8623aa9a42ccdb52998dec7591cea322f6a188a4848a5e954044d71cea36611c01495c253d20c3df57256 + languageName: node + linkType: hard + +"metro-resolver@npm:0.80.12": + version: 0.80.12 + resolution: "metro-resolver@npm:0.80.12" + dependencies: + flow-enums-runtime: ^0.0.6 + checksum: a520030a65afab2f3282604ef6dec802051899a356910606b8ffbc5b82a722008d9d416c8ba3d9ef9527912206586b713733b776803a6b76adac72bcb31870cd + languageName: node + linkType: hard + +"metro-resolver@npm:0.81.3": + version: 0.81.3 + resolution: "metro-resolver@npm:0.81.3" + dependencies: + flow-enums-runtime: ^0.0.6 + checksum: bca83a3a6088ef5fbecd70846adffabe8059249d94520cf9f35b14e10155c8a8805ed094e28b978be21f44cb6fea6e90e6a604bcec4112b5927c7bd1b1b3d6be languageName: node linkType: hard -"metro-resolver@npm:0.80.10": - version: 0.80.10 - resolution: "metro-resolver@npm:0.80.10" +"metro-runtime@npm:0.80.12": + version: 0.80.12 + resolution: "metro-runtime@npm:0.80.12" dependencies: + "@babel/runtime": ^7.25.0 flow-enums-runtime: ^0.0.6 - checksum: 6236825c28fd3edcfa9e00becb11d63f25cc86faa4c67e2971e66a770f2b9db3a8ca7e18d710df5759d22986d177dd2556e63651f8d40b39fb47f8b4379d0c25 + checksum: 11a6d36c7dcf9d221f7de6989556f45d4d64cd1cdd225ec96273b584138b4aa77b7afdc9e9a9488d1dc9a3d90f8e94bb68ab149079cc6ebdb8f8f8b03462cb4f languageName: node linkType: hard -"metro-runtime@npm:0.80.10, metro-runtime@npm:^0.80.3": - version: 0.80.10 - resolution: "metro-runtime@npm:0.80.10" +"metro-runtime@npm:0.81.3, metro-runtime@npm:^0.81.0": + version: 0.81.3 + resolution: "metro-runtime@npm:0.81.3" dependencies: - "@babel/runtime": ^7.0.0 + "@babel/runtime": ^7.25.0 flow-enums-runtime: ^0.0.6 - checksum: fc137a99123895091cb627e39d2ac27cf769ae28be6d09c553fb0052ba6e3bdf31378e1d095e0fc5e9535caf2ecaa7c820add93223509b2eb1aa50f58ff87bbc + checksum: 8c7f71e36d3ecf9534d69fcd972f9db8376331a3819eadaa7296b821751da6076d6d515c123a142cc1cb7ae14dc97aef165dbee71bd8078be7d130cb63a7e7e4 languageName: node linkType: hard -"metro-source-map@npm:0.80.10, metro-source-map@npm:^0.80.3": - version: 0.80.10 - resolution: "metro-source-map@npm:0.80.10" +"metro-source-map@npm:0.80.12": + version: 0.80.12 + resolution: "metro-source-map@npm:0.80.12" dependencies: "@babel/traverse": ^7.20.0 "@babel/types": ^7.20.0 flow-enums-runtime: ^0.0.6 invariant: ^2.2.4 - metro-symbolicate: 0.80.10 + metro-symbolicate: 0.80.12 + nullthrows: ^1.1.1 + ob1: 0.80.12 + source-map: ^0.5.6 + vlq: ^1.0.0 + checksum: 39575bff8666abd0944ec71e01a0c0eacbeab48277528608e894ffa6691c4267c389ee51ad86d5cd8e96f13782b66e1f693a3c60786bb201268678232dce6130 + languageName: node + linkType: hard + +"metro-source-map@npm:0.81.3, metro-source-map@npm:^0.81.0": + version: 0.81.3 + resolution: "metro-source-map@npm:0.81.3" + dependencies: + "@babel/traverse": ^7.25.3 + "@babel/traverse--for-generate-function-map": "npm:@babel/traverse@^7.25.3" + "@babel/types": ^7.25.2 + flow-enums-runtime: ^0.0.6 + invariant: ^2.2.4 + metro-symbolicate: 0.81.3 nullthrows: ^1.1.1 - ob1: 0.80.10 + ob1: 0.81.3 source-map: ^0.5.6 vlq: ^1.0.0 - checksum: 035328df827e828d7cc105ec77d520e1da41597bd578da9cd8438f841ac1711c88896c58163b0fb2b19ee1346bbb0e7e21345c3dc537a8c7abf8b5fccb1ebfb2 + checksum: 83838e74342e034f834d24cbf83aae5ab82a420cd4f16002656ffe630515282d02dbb5e8b1163343f93c64d54b593d73a3bf2192024f40d4901f7f90a5378fc8 languageName: node linkType: hard -"metro-symbolicate@npm:0.80.10": - version: 0.80.10 - resolution: "metro-symbolicate@npm:0.80.10" +"metro-symbolicate@npm:0.80.12": + version: 0.80.12 + resolution: "metro-symbolicate@npm:0.80.12" dependencies: flow-enums-runtime: ^0.0.6 invariant: ^2.2.4 - metro-source-map: 0.80.10 + metro-source-map: 0.80.12 nullthrows: ^1.1.1 source-map: ^0.5.6 through2: ^2.0.1 vlq: ^1.0.0 bin: metro-symbolicate: src/index.js - checksum: b0f54b3d78680e74d595498ccb5c082fee1d876ec038b8bcef5e228c08e9d093dcd073cc3e7d25380f3be097ecea9b038de82735f654d0be14a6583272e9616a + checksum: b775e4613deec421f6287918d0055c50bb2a38fe3f72581eb70b9441e4497c9c7413c2929c579b24fb76893737b6d5af83a5f6cd8c032e2a83957091f82ec5de + languageName: node + linkType: hard + +"metro-symbolicate@npm:0.81.3": + version: 0.81.3 + resolution: "metro-symbolicate@npm:0.81.3" + dependencies: + flow-enums-runtime: ^0.0.6 + invariant: ^2.2.4 + metro-source-map: 0.81.3 + nullthrows: ^1.1.1 + source-map: ^0.5.6 + vlq: ^1.0.0 + bin: + metro-symbolicate: src/index.js + checksum: 90b48bf47294f74a91fa073345a12d2f3c8eeb018b1cb615a31f0252bd449b089cf75f34162e70c6a487f2470b53f0628a5884cc45912c2b0a201ba21d5430e8 languageName: node linkType: hard -"metro-transform-plugins@npm:0.80.10": - version: 0.80.10 - resolution: "metro-transform-plugins@npm:0.80.10" +"metro-transform-plugins@npm:0.80.12": + version: 0.80.12 + resolution: "metro-transform-plugins@npm:0.80.12" dependencies: "@babel/core": ^7.20.0 "@babel/generator": ^7.20.0 @@ -9440,34 +9064,69 @@ __metadata: "@babel/traverse": ^7.20.0 flow-enums-runtime: ^0.0.6 nullthrows: ^1.1.1 - checksum: 93485dd932afdb6120a9bc774191005dd532e3aba09e2a7af51ef3eafb438706a144aa6d3ade0515fb4d2e1ba1afebfab2adc0c18a2887d555f2d65b1c23bc56 + checksum: 85c99c367d6c0b9721af744fc980372329c6d37711177660e2d5e2dbe5e92e2cd853604eb8a513ad824eafbed84663472fa304cbbe2036957ee8688b72c2324c + languageName: node + linkType: hard + +"metro-transform-plugins@npm:0.81.3": + version: 0.81.3 + resolution: "metro-transform-plugins@npm:0.81.3" + dependencies: + "@babel/core": ^7.25.2 + "@babel/generator": ^7.25.0 + "@babel/template": ^7.25.0 + "@babel/traverse": ^7.25.3 + flow-enums-runtime: ^0.0.6 + nullthrows: ^1.1.1 + checksum: 18a732d6aa14b0dd67729b845d4cbe0e8c8ace2f044b00260c2181a82cbbd45a95130699537db88fafc79530c79139bb4f319d435bfe04eeccc8ef88d6dcf9cd languageName: node linkType: hard -"metro-transform-worker@npm:0.80.10": - version: 0.80.10 - resolution: "metro-transform-worker@npm:0.80.10" +"metro-transform-worker@npm:0.80.12": + version: 0.80.12 + resolution: "metro-transform-worker@npm:0.80.12" dependencies: "@babel/core": ^7.20.0 "@babel/generator": ^7.20.0 "@babel/parser": ^7.20.0 "@babel/types": ^7.20.0 flow-enums-runtime: ^0.0.6 - metro: 0.80.10 - metro-babel-transformer: 0.80.10 - metro-cache: 0.80.10 - metro-cache-key: 0.80.10 - metro-minify-terser: 0.80.10 - metro-source-map: 0.80.10 - metro-transform-plugins: 0.80.10 + metro: 0.80.12 + metro-babel-transformer: 0.80.12 + metro-cache: 0.80.12 + metro-cache-key: 0.80.12 + metro-minify-terser: 0.80.12 + metro-source-map: 0.80.12 + metro-transform-plugins: 0.80.12 + nullthrows: ^1.1.1 + checksum: 90684b1f1163bfc84b11bfc01082a38de2a5dd9f7bcabc524bc84f1faff32222954f686a60bc0f464d3e46e86c4c01435111e2ed0e9767a5efbfaf205f55245e + languageName: node + linkType: hard + +"metro-transform-worker@npm:0.81.3": + version: 0.81.3 + resolution: "metro-transform-worker@npm:0.81.3" + dependencies: + "@babel/core": ^7.25.2 + "@babel/generator": ^7.25.0 + "@babel/parser": ^7.25.3 + "@babel/types": ^7.25.2 + flow-enums-runtime: ^0.0.6 + metro: 0.81.3 + metro-babel-transformer: 0.81.3 + metro-cache: 0.81.3 + metro-cache-key: 0.81.3 + metro-minify-terser: 0.81.3 + metro-source-map: 0.81.3 + metro-transform-plugins: 0.81.3 nullthrows: ^1.1.1 - checksum: 31141b41069ffe2e70ea7a88aa7a65c2fe8e9b085a557b8863df9e6233d3999acfa403af9cff00acc97ee27a867f7791f63c46d195d8c84e282c99897c83dd57 + checksum: 698ee7fa3a2a8fea069bc4e62054c50ecd672601ca3d973217f05a293329e70fbb6fd5b4a6cd2d9f17f49ee736aeece1581035162f4de750bddcccf6ec79f1bc languageName: node linkType: hard -"metro@npm:0.80.10, metro@npm:^0.80.3": - version: 0.80.10 - resolution: "metro@npm:0.80.10" +"metro@npm:0.80.12": + version: 0.80.12 + resolution: "metro@npm:0.80.12" dependencies: "@babel/code-frame": ^7.0.0 "@babel/core": ^7.20.0 @@ -9485,26 +9144,25 @@ __metadata: error-stack-parser: ^2.0.6 flow-enums-runtime: ^0.0.6 graceful-fs: ^4.2.4 - hermes-parser: 0.23.0 + hermes-parser: 0.23.1 image-size: ^1.0.2 invariant: ^2.2.4 jest-worker: ^29.6.3 jsc-safe-url: ^0.2.2 lodash.throttle: ^4.1.1 - metro-babel-transformer: 0.80.10 - metro-cache: 0.80.10 - metro-cache-key: 0.80.10 - metro-config: 0.80.10 - metro-core: 0.80.10 - metro-file-map: 0.80.10 - metro-resolver: 0.80.10 - metro-runtime: 0.80.10 - metro-source-map: 0.80.10 - metro-symbolicate: 0.80.10 - metro-transform-plugins: 0.80.10 - metro-transform-worker: 0.80.10 + metro-babel-transformer: 0.80.12 + metro-cache: 0.80.12 + metro-cache-key: 0.80.12 + metro-config: 0.80.12 + metro-core: 0.80.12 + metro-file-map: 0.80.12 + metro-resolver: 0.80.12 + metro-runtime: 0.80.12 + metro-source-map: 0.80.12 + metro-symbolicate: 0.80.12 + metro-transform-plugins: 0.80.12 + metro-transform-worker: 0.80.12 mime-types: ^2.1.27 - node-fetch: ^2.2.0 nullthrows: ^1.1.1 serialize-error: ^2.1.0 source-map: ^0.5.6 @@ -9514,11 +9172,61 @@ __metadata: yargs: ^17.6.2 bin: metro: src/cli.js - checksum: b481fdd6befe11d2d5c9403e20397faab80a870507225184931d2322e534696d9a4745dbca9fbf9de90290c32f5bae1f9af8d041057921e903ffd11b2147a459 + checksum: 8016f7448e6e0947bd38633c01c3daad47b5a29d4a7294ebe922fa3c505430f78861d85965ecfc6f41d9b209e2663cac0f23c99a80a3f941a19de564203fcdb8 + languageName: node + linkType: hard + +"metro@npm:0.81.3, metro@npm:^0.81.0": + version: 0.81.3 + resolution: "metro@npm:0.81.3" + dependencies: + "@babel/code-frame": ^7.24.7 + "@babel/core": ^7.25.2 + "@babel/generator": ^7.25.0 + "@babel/parser": ^7.25.3 + "@babel/template": ^7.25.0 + "@babel/traverse": ^7.25.3 + "@babel/types": ^7.25.2 + accepts: ^1.3.7 + chalk: ^4.0.0 + ci-info: ^2.0.0 + connect: ^3.6.5 + debug: ^2.2.0 + error-stack-parser: ^2.0.6 + flow-enums-runtime: ^0.0.6 + graceful-fs: ^4.2.4 + hermes-parser: 0.25.1 + image-size: ^1.0.2 + invariant: ^2.2.4 + jest-worker: ^29.7.0 + jsc-safe-url: ^0.2.2 + lodash.throttle: ^4.1.1 + metro-babel-transformer: 0.81.3 + metro-cache: 0.81.3 + metro-cache-key: 0.81.3 + metro-config: 0.81.3 + metro-core: 0.81.3 + metro-file-map: 0.81.3 + metro-resolver: 0.81.3 + metro-runtime: 0.81.3 + metro-source-map: 0.81.3 + metro-symbolicate: 0.81.3 + metro-transform-plugins: 0.81.3 + metro-transform-worker: 0.81.3 + mime-types: ^2.1.27 + nullthrows: ^1.1.1 + serialize-error: ^2.1.0 + source-map: ^0.5.6 + throat: ^5.0.0 + ws: ^7.5.10 + yargs: ^17.6.2 + bin: + metro: src/cli.js + checksum: 3306e453bbe315fb8646fea110607ee03c556556ec5317b85e76840911455d0d7d069e189d1949f2454182a34effb7389052d53eae8f3b2f26f5f146d47574b5 languageName: node linkType: hard -"micromatch@npm:^4.0.4": +"micromatch@npm:^4.0.4, micromatch@npm:^4.0.7, micromatch@npm:^4.0.8": version: 4.0.8 resolution: "micromatch@npm:4.0.8" dependencies: @@ -9583,17 +9291,10 @@ __metadata: languageName: node linkType: hard -"mimic-response@npm:^3.1.0": - version: 3.1.0 - resolution: "mimic-response@npm:3.1.0" - checksum: 25739fee32c17f433626bf19f016df9036b75b3d84a3046c7d156e72ec963dd29d7fc8a302f55a3d6c5a4ff24259676b15d915aad6480815a969ff2ec0836867 - languageName: node - linkType: hard - -"mimic-response@npm:^4.0.0": - version: 4.0.0 - resolution: "mimic-response@npm:4.0.0" - checksum: 33b804cc961efe206efdb1fca6a22540decdcfce6c14eb5c0c50e5ae9022267ab22ce8f5568b1f7247ba67500fe20d523d81e0e9f009b321ccd9d472e78d1850 +"mimic-function@npm:^5.0.0": + version: 5.0.1 + resolution: "mimic-function@npm:5.0.1" + checksum: eb5893c99e902ccebbc267c6c6b83092966af84682957f79313311edb95e8bb5f39fb048d77132b700474d1c86d90ccc211e99bae0935447a4834eb4c882982c languageName: node linkType: hard @@ -9604,7 +9305,7 @@ __metadata: languageName: node linkType: hard -"minimatch@npm:^3.0.2, minimatch@npm:^3.0.4, minimatch@npm:^3.0.5, minimatch@npm:^3.1.1, minimatch@npm:^3.1.2": +"minimatch@npm:^3.0.4, minimatch@npm:^3.0.5, minimatch@npm:^3.1.1, minimatch@npm:^3.1.2": version: 3.1.2 resolution: "minimatch@npm:3.1.2" dependencies: @@ -9667,18 +9368,18 @@ __metadata: languageName: node linkType: hard -"minipass-fetch@npm:^3.0.0": - version: 3.0.5 - resolution: "minipass-fetch@npm:3.0.5" +"minipass-fetch@npm:^4.0.0": + version: 4.0.1 + resolution: "minipass-fetch@npm:4.0.1" dependencies: encoding: ^0.1.13 minipass: ^7.0.3 minipass-sized: ^1.0.3 - minizlib: ^2.1.2 + minizlib: ^3.0.1 dependenciesMeta: encoding: optional: true - checksum: 8047d273236157aab27ab7cd8eab7ea79e6ecd63e8f80c3366ec076cb9a0fed550a6935bab51764369027c414647fd8256c2a20c5445fb250c483de43350de83 + checksum: 3dfca705ce887ca9ff14d73e8d8593996dea1a1ecd8101fdbb9c10549d1f9670bc8fb66ad0192769ead4c2dc01b4f9ca1cf567ded365adff17827a303b948140 languageName: node linkType: hard @@ -9725,42 +9426,24 @@ __metadata: languageName: node linkType: hard -"minipass@npm:^5.0.0": - version: 5.0.0 - resolution: "minipass@npm:5.0.0" - checksum: 425dab288738853fded43da3314a0b5c035844d6f3097a8e3b5b29b328da8f3c1af6fc70618b32c29ff906284cf6406b6841376f21caaadd0793c1d5a6a620ea - languageName: node - linkType: hard - -"minipass@npm:^5.0.0 || ^6.0.2 || ^7.0.0, minipass@npm:^7.0.2, minipass@npm:^7.0.3, minipass@npm:^7.1.2": +"minipass@npm:^5.0.0 || ^6.0.2 || ^7.0.0, minipass@npm:^7.0.2, minipass@npm:^7.0.3, minipass@npm:^7.0.4, minipass@npm:^7.1.2": version: 7.1.2 resolution: "minipass@npm:7.1.2" checksum: 2bfd325b95c555f2b4d2814d49325691c7bee937d753814861b0b49d5edcda55cbbf22b6b6a60bb91eddac8668771f03c5ff647dcd9d0f798e9548b9cdc46ee3 languageName: node linkType: hard -"minizlib@npm:^2.1.1, minizlib@npm:^2.1.2": - version: 2.1.2 - resolution: "minizlib@npm:2.1.2" - dependencies: - minipass: ^3.0.0 - yallist: ^4.0.0 - checksum: f1fdeac0b07cf8f30fcf12f4b586795b97be856edea22b5e9072707be51fc95d41487faec3f265b42973a304fe3a64acd91a44a3826a963e37b37bafde0212c3 - languageName: node - linkType: hard - -"mkdirp@npm:^0.5.1": - version: 0.5.6 - resolution: "mkdirp@npm:0.5.6" +"minizlib@npm:^3.0.1": + version: 3.0.1 + resolution: "minizlib@npm:3.0.1" dependencies: - minimist: ^1.2.6 - bin: - mkdirp: bin/cmd.js - checksum: 0c91b721bb12c3f9af4b77ebf73604baf350e64d80df91754dc509491ae93bf238581e59c7188360cec7cb62fc4100959245a42cfe01834efedc5e9d068376c2 + minipass: ^7.0.4 + rimraf: ^5.0.5 + checksum: da0a53899252380475240c587e52c824f8998d9720982ba5c4693c68e89230718884a209858c156c6e08d51aad35700a3589987e540593c36f6713fe30cd7338 languageName: node linkType: hard -"mkdirp@npm:^1.0.3, mkdirp@npm:^1.0.4": +"mkdirp@npm:^1.0.4": version: 1.0.4 resolution: "mkdirp@npm:1.0.4" bin: @@ -9769,10 +9452,12 @@ __metadata: languageName: node linkType: hard -"modify-values@npm:^1.0.0": - version: 1.0.1 - resolution: "modify-values@npm:1.0.1" - checksum: 8296610c608bc97b03c2cf889c6cdf4517e32fa2d836440096374c2209f6b7b3e256c209493a0b32584b9cb32d528e99d0dd19dcd9a14d2d915a312d391cc7e9 +"mkdirp@npm:^3.0.1": + version: 3.0.1 + resolution: "mkdirp@npm:3.0.1" + bin: + mkdirp: dist/cjs/src/bin.js + checksum: 972deb188e8fb55547f1e58d66bd6b4a3623bf0c7137802582602d73e6480c1c2268dcbafbfb1be466e00cc7e56ac514d7fd9334b7cf33e3e2ab547c16f83a8d languageName: node linkType: hard @@ -9783,14 +9468,7 @@ __metadata: languageName: node linkType: hard -"ms@npm:2.1.2": - version: 2.1.2 - resolution: "ms@npm:2.1.2" - checksum: 673cdb2c3133eb050c745908d8ce632ed2c02d85640e2edb3ace856a2266a813b30c613569bf3354fdf4ea7d1a1494add3bfa95e2713baa27d0c2c71fc44f58f - languageName: node - linkType: hard - -"ms@npm:2.1.3": +"ms@npm:2.1.3, ms@npm:^2.1.3": version: 2.1.3 resolution: "ms@npm:2.1.3" checksum: aa92de608021b242401676e35cfa5aa42dd70cbdc082b916da7fb925c542173e36bce97ea3e804923fe92c0ad991434e4a38327e15a1b5b5f945d66df615ae6d @@ -9818,10 +9496,24 @@ __metadata: languageName: node linkType: hard -"negotiator@npm:0.6.3, negotiator@npm:^0.6.3": - version: 0.6.3 - resolution: "negotiator@npm:0.6.3" - checksum: b8ffeb1e262eff7968fc90a2b6767b04cfd9842582a9d0ece0af7049537266e7b2506dfb1d107a32f06dd849ab2aea834d5830f7f4d0e5cb7d36e1ae55d021d9 +"negotiator@npm:0.6.3": + version: 0.6.3 + resolution: "negotiator@npm:0.6.3" + checksum: b8ffeb1e262eff7968fc90a2b6767b04cfd9842582a9d0ece0af7049537266e7b2506dfb1d107a32f06dd849ab2aea834d5830f7f4d0e5cb7d36e1ae55d021d9 + languageName: node + linkType: hard + +"negotiator@npm:^1.0.0": + version: 1.0.0 + resolution: "negotiator@npm:1.0.0" + checksum: 20ebfe79b2d2e7cf9cbc8239a72662b584f71164096e6e8896c8325055497c96f6b80cd22c258e8a2f2aa382a787795ec3ee8b37b422a302c7d4381b0d5ecfbb + languageName: node + linkType: hard + +"negotiator@npm:~0.6.4": + version: 0.6.4 + resolution: "negotiator@npm:0.6.4" + checksum: 7ded10aa02a0707d1d12a9973fdb5954f98547ca7beb60e31cb3a403cc6e8f11138db7a3b0128425cf836fc85d145ec4ce983b2bdf83dca436af879c2d683510 languageName: node linkType: hard @@ -9862,47 +9554,6 @@ __metadata: languageName: node linkType: hard -"node-dir@npm:^0.1.17": - version: 0.1.17 - resolution: "node-dir@npm:0.1.17" - dependencies: - minimatch: ^3.0.2 - checksum: 29de9560e52cdac8d3f794d38d782f6799e13d4d11aaf96d3da8c28458e1c5e33bb5f8edfb42dc34172ec5516c50c5b8850c9e1526542616757a969267263328 - languageName: node - linkType: hard - -"node-domexception@npm:^1.0.0": - version: 1.0.0 - resolution: "node-domexception@npm:1.0.0" - checksum: ee1d37dd2a4eb26a8a92cd6b64dfc29caec72bff5e1ed9aba80c294f57a31ba4895a60fd48347cf17dd6e766da0ae87d75657dfd1f384ebfa60462c2283f5c7f - languageName: node - linkType: hard - -"node-fetch@npm:3.3.1": - version: 3.3.1 - resolution: "node-fetch@npm:3.3.1" - dependencies: - data-uri-to-buffer: ^4.0.0 - fetch-blob: ^3.1.4 - formdata-polyfill: ^4.0.10 - checksum: 62145fd3ba4770a76110bc31fdc0054ab2f5442b5ce96e9c4b39fc9e94a3d305560eec76e1165d9259eab866e02a8eecf9301062bb5dfc9f08a4d08b69d223dd - languageName: node - linkType: hard - -"node-fetch@npm:^2.2.0, node-fetch@npm:^2.6.7": - version: 2.7.0 - resolution: "node-fetch@npm:2.7.0" - dependencies: - whatwg-url: ^5.0.0 - peerDependencies: - encoding: ^0.1.0 - peerDependenciesMeta: - encoding: - optional: true - checksum: d76d2f5edb451a3f05b15115ec89fc6be39de37c6089f1b6368df03b91e1633fd379a7e01b7ab05089a25034b2023d959b47e59759cb38d88341b2459e89d6e5 - languageName: node - linkType: hard - "node-forge@npm:^1": version: 1.3.1 resolution: "node-forge@npm:1.3.1" @@ -9911,22 +9562,22 @@ __metadata: linkType: hard "node-gyp@npm:latest": - version: 10.2.0 - resolution: "node-gyp@npm:10.2.0" + version: 11.1.0 + resolution: "node-gyp@npm:11.1.0" dependencies: env-paths: ^2.2.0 exponential-backoff: ^3.1.1 glob: ^10.3.10 graceful-fs: ^4.2.6 - make-fetch-happen: ^13.0.0 - nopt: ^7.0.0 - proc-log: ^4.1.0 + make-fetch-happen: ^14.0.3 + nopt: ^8.0.0 + proc-log: ^5.0.0 semver: ^7.3.5 - tar: ^6.2.1 - which: ^4.0.0 + tar: ^7.4.3 + which: ^5.0.0 bin: node-gyp: bin/node-gyp.js - checksum: 0233759d8c19765f7fdc259a35eb046ad86c3d09e22f7384613ae2b89647dd27fcf833fdf5293d9335041e91f9b1c539494225959cdb312a5c8080b7534b926f + checksum: b196da39a7a45f302d6e03cfdb579eeecbfffa1ab3796de45652c2c0dcbf46b83fde715b054e4d00aa53da5f33033ac5791e20cbb7cc11267dac4f8975ef276c languageName: node linkType: hard @@ -9937,10 +9588,10 @@ __metadata: languageName: node linkType: hard -"node-releases@npm:^2.0.18": - version: 2.0.18 - resolution: "node-releases@npm:2.0.18" - checksum: ef55a3d853e1269a6d6279b7692cd6ff3e40bc74947945101138745bfdc9a5edabfe72cb19a31a8e45752e1910c4c65c77d931866af6357f242b172b7283f5b3 +"node-releases@npm:^2.0.19": + version: 2.0.19 + resolution: "node-releases@npm:2.0.19" + checksum: 917dbced519f48c6289a44830a0ca6dc944c3ee9243c468ebd8515a41c97c8b2c256edb7f3f750416bc37952cc9608684e6483c7b6c6f39f6bd8d86c52cfe658 languageName: node linkType: hard @@ -9951,18 +9602,18 @@ __metadata: languageName: node linkType: hard -"nopt@npm:^7.0.0": - version: 7.2.1 - resolution: "nopt@npm:7.2.1" +"nopt@npm:^8.0.0": + version: 8.1.0 + resolution: "nopt@npm:8.1.0" dependencies: - abbrev: ^2.0.0 + abbrev: ^3.0.0 bin: nopt: bin/nopt.js - checksum: 6fa729cc77ce4162cfad8abbc9ba31d4a0ff6850c3af61d59b505653bef4781ec059f8890ecfe93ee8aa0c511093369cca88bfc998101616a2904e715bbbb7c9 + checksum: 49cfd3eb6f565e292bf61f2ff1373a457238804d5a5a63a8d786c923007498cba89f3648e3b952bc10203e3e7285752abf5b14eaf012edb821e84f24e881a92a languageName: node linkType: hard -"normalize-package-data@npm:^2.3.2, normalize-package-data@npm:^2.5.0": +"normalize-package-data@npm:^2.5.0": version: 2.5.0 resolution: "normalize-package-data@npm:2.5.0" dependencies: @@ -9986,6 +9637,17 @@ __metadata: languageName: node linkType: hard +"normalize-package-data@npm:^6.0.0": + version: 6.0.2 + resolution: "normalize-package-data@npm:6.0.2" + dependencies: + hosted-git-info: ^7.0.0 + semver: ^7.3.5 + validate-npm-package-license: ^3.0.4 + checksum: ea35f8de68e03fc845f545c8197857c0cd256207fdb809ca63c2b39fe76ae77765ee939eb21811fb6c3b533296abf49ebe3cd617064f98a775adaccb24ff2e03 + languageName: node + linkType: hard + "normalize-path@npm:^3.0.0": version: 3.0.0 resolution: "normalize-path@npm:3.0.0" @@ -9993,13 +9655,6 @@ __metadata: languageName: node linkType: hard -"normalize-url@npm:^8.0.0": - version: 8.0.1 - resolution: "normalize-url@npm:8.0.1" - checksum: 43ea9ef0d6d135dd1556ab67aa4b74820f0d9d15aa504b59fa35647c729f1147dfce48d3ad504998fd1010f089cfb82c86c6d9126eb5c5bd2e9bd25f3a97749b - languageName: node - linkType: hard - "npm-run-path@npm:^4.0.0, npm-run-path@npm:^4.0.1": version: 4.0.1 resolution: "npm-run-path@npm:4.0.1" @@ -10025,12 +9680,21 @@ __metadata: languageName: node linkType: hard -"ob1@npm:0.80.10": - version: 0.80.10 - resolution: "ob1@npm:0.80.10" +"ob1@npm:0.80.12": + version: 0.80.12 + resolution: "ob1@npm:0.80.12" + dependencies: + flow-enums-runtime: ^0.0.6 + checksum: c78af51d6ecf47ba5198bc7eb27d0456a287589533f1445e6d595e2d067f6f8038da02a98e5faa4a6c3d0c04f77c570bc9b29c652fec55518884c40c73212f17 + languageName: node + linkType: hard + +"ob1@npm:0.81.3": + version: 0.81.3 + resolution: "ob1@npm:0.81.3" dependencies: flow-enums-runtime: ^0.0.6 - checksum: 1f07c817681f312a32ccffbf758482f70605d0d386c894284476923fb8153f2bae474482ff796eef04855dad0678eabfda0808613270605ffeef290621b37a7b + checksum: 562726c5bd82e002fd039f1a94df49424cf4e3ec24183448163b0043f064497bb06dc6cbb4b306f19868061dcfbcb0e3426afcd6acada76a3ff1b2d07c7d2a08 languageName: node linkType: hard @@ -10041,10 +9705,10 @@ __metadata: languageName: node linkType: hard -"object-inspect@npm:^1.13.1": - version: 1.13.2 - resolution: "object-inspect@npm:1.13.2" - checksum: 9f850b3c045db60e0e97746e809ee4090d6ce62195af17dd1e9438ac761394a7d8ec4f7906559aea5424eaf61e35d3e53feded2ccd5f62fcc7d9670d3c8eb353 +"object-inspect@npm:^1.13.3": + version: 1.13.4 + resolution: "object-inspect@npm:1.13.4" + checksum: 582810c6a8d2ef988ea0a39e69e115a138dad8f42dd445383b394877e5816eb4268489f316a6f74ee9c4e0a984b3eab1028e3e79d62b1ed67c726661d55c7a8b languageName: node linkType: hard @@ -10055,15 +9719,17 @@ __metadata: languageName: node linkType: hard -"object.assign@npm:^4.1.4, object.assign@npm:^4.1.5": - version: 4.1.5 - resolution: "object.assign@npm:4.1.5" +"object.assign@npm:^4.1.4, object.assign@npm:^4.1.7": + version: 4.1.7 + resolution: "object.assign@npm:4.1.7" dependencies: - call-bind: ^1.0.5 + call-bind: ^1.0.8 + call-bound: ^1.0.3 define-properties: ^1.2.1 - has-symbols: ^1.0.3 + es-object-atoms: ^1.0.0 + has-symbols: ^1.1.0 object-keys: ^1.1.1 - checksum: f9aeac0541661370a1fc86e6a8065eb1668d3e771f7dbb33ee54578201336c057b21ee61207a186dd42db0c62201d91aac703d20d12a79fc79c353eed44d4e25 + checksum: 60e07d2651cf4f5528c485f1aa4dbded9b384c47d80e8187cefd11320abb1aebebf78df5483451dfa549059f8281c21f7b4bf7d19e9e5e97d8d617df0df298de languageName: node linkType: hard @@ -10090,14 +9756,15 @@ __metadata: languageName: node linkType: hard -"object.values@npm:^1.1.6, object.values@npm:^1.2.0": - version: 1.2.0 - resolution: "object.values@npm:1.2.0" +"object.values@npm:^1.1.6, object.values@npm:^1.2.1": + version: 1.2.1 + resolution: "object.values@npm:1.2.1" dependencies: - call-bind: ^1.0.7 + call-bind: ^1.0.8 + call-bound: ^1.0.3 define-properties: ^1.2.1 es-object-atoms: ^1.0.0 - checksum: 51fef456c2a544275cb1766897f34ded968b22adfc13ba13b5e4815fdaf4304a90d42a3aee114b1f1ede048a4890381d47a5594d84296f2767c6a0364b9da8fa + checksum: f9b9a2a125ccf8ded29414d7c056ae0d187b833ee74919821fc60d7e216626db220d9cb3cf33f965c84aaaa96133626ca13b80f3c158b673976dc8cfcfcd26bb languageName: node linkType: hard @@ -10153,15 +9820,24 @@ __metadata: languageName: node linkType: hard -"open@npm:9.1.0": - version: 9.1.0 - resolution: "open@npm:9.1.0" +"onetime@npm:^7.0.0": + version: 7.0.0 + resolution: "onetime@npm:7.0.0" + dependencies: + mimic-function: ^5.0.0 + checksum: eb08d2da9339819e2f9d52cab9caf2557d80e9af8c7d1ae86e1a0fef027d00a88e9f5bd67494d350df360f7c559fbb44e800b32f310fb989c860214eacbb561c + languageName: node + linkType: hard + +"open@npm:10.1.0": + version: 10.1.0 + resolution: "open@npm:10.1.0" dependencies: - default-browser: ^4.0.0 + default-browser: ^5.2.1 define-lazy-prop: ^3.0.0 is-inside-container: ^1.0.0 - is-wsl: ^2.2.0 - checksum: 3993c0f61d51fed8ac290e99c9c3cf45d3b6cfb3e2aa2b74cafd312c3486c22fd81df16ac8f3ab91dd8a4e3e729a16fc2480cfc406c4833416cf908acf1ae7c9 + is-wsl: ^3.1.0 + checksum: 079b0771616bac13b08129b0300032dc9328d72f345e460dd0416b8a8196a5bdf5e0251fefec8aa2a6a97c736734ac65dd8f1d29ab3fc9a13e85624aa5bc4470 languageName: node linkType: hard @@ -10184,20 +9860,6 @@ __metadata: languageName: node linkType: hard -"optionator@npm:^0.8.1": - version: 0.8.3 - resolution: "optionator@npm:0.8.3" - dependencies: - deep-is: ~0.1.3 - fast-levenshtein: ~2.0.6 - levn: ~0.3.0 - prelude-ls: ~1.1.2 - type-check: ~0.3.2 - word-wrap: ~1.2.3 - checksum: b8695ddf3d593203e25ab0900e265d860038486c943ff8b774f596a310f8ceebdb30c6832407a8198ba3ec9debe1abe1f51d4aad94843612db3b76d690c61d34 - languageName: node - linkType: hard - "optionator@npm:^0.9.3": version: 0.9.4 resolution: "optionator@npm:0.9.4" @@ -10212,20 +9874,20 @@ __metadata: languageName: node linkType: hard -"ora@npm:6.3.1": - version: 6.3.1 - resolution: "ora@npm:6.3.1" +"ora@npm:8.1.1": + version: 8.1.1 + resolution: "ora@npm:8.1.1" dependencies: - chalk: ^5.0.0 - cli-cursor: ^4.0.0 - cli-spinners: ^2.6.1 + chalk: ^5.3.0 + cli-cursor: ^5.0.0 + cli-spinners: ^2.9.2 is-interactive: ^2.0.0 - is-unicode-supported: ^1.1.0 - log-symbols: ^5.1.0 - stdin-discarder: ^0.1.0 - strip-ansi: ^7.0.1 - wcwidth: ^1.0.1 - checksum: 474c0596a35c1be1e836bb836bea8a2d9e37458fc63b020e1435c8fe2030ab224454bfb263618e3ec09fcab2008dd525e9047f4c61548c4ace7b6490a766fc1c + is-unicode-supported: ^2.0.0 + log-symbols: ^6.0.0 + stdin-discarder: ^0.2.2 + string-width: ^7.2.0 + strip-ansi: ^7.1.0 + checksum: 0cb79b9d8458ef0878e43d692fddb078c0885c82bbfa45e46de366f71fd506a75d8f9d5df71859624f7f0fe488c17d2e6882d7a35126214cf1a0e0c0f51248c4 languageName: node linkType: hard @@ -10263,19 +9925,14 @@ __metadata: languageName: node linkType: hard -"p-cancelable@npm:^3.0.0": - version: 3.0.0 - resolution: "p-cancelable@npm:3.0.0" - checksum: 2b5ae34218f9c2cf7a7c18e5d9a726ef9b165ef07e6c959f6738371509e747334b5f78f3bcdeb03d8a12dcb978faf641fd87eb21486ed7d36fb823b8ddef3219 - languageName: node - linkType: hard - -"p-limit@npm:^1.1.0": - version: 1.3.0 - resolution: "p-limit@npm:1.3.0" +"own-keys@npm:^1.0.1": + version: 1.0.1 + resolution: "own-keys@npm:1.0.1" dependencies: - p-try: ^1.0.0 - checksum: 281c1c0b8c82e1ac9f81acd72a2e35d402bf572e09721ce5520164e9de07d8274451378a3470707179ad13240535558f4b277f02405ad752e08c7d5b0d54fbfd + get-intrinsic: ^1.2.6 + object-keys: ^1.1.1 + safe-push-apply: ^1.0.0 + checksum: cc9dd7d85c4ccfbe8109fce307d581ac7ede7b26de892b537873fbce2dc6a206d89aea0630dbb98e47ce0873517cefeaa7be15fcf94aaf4764a3b34b474a5b61 languageName: node linkType: hard @@ -10297,15 +9954,6 @@ __metadata: languageName: node linkType: hard -"p-locate@npm:^2.0.0": - version: 2.0.0 - resolution: "p-locate@npm:2.0.0" - dependencies: - p-limit: ^1.1.0 - checksum: e2dceb9b49b96d5513d90f715780f6f4972f46987dc32a0e18bc6c3fc74a1a5d73ec5f81b1398af5e58b99ea1ad03fd41e9181c01fa81b4af2833958696e3081 - languageName: node - linkType: hard - "p-locate@npm:^3.0.0": version: 3.0.0 resolution: "p-locate@npm:3.0.0" @@ -10351,10 +9999,10 @@ __metadata: languageName: node linkType: hard -"p-try@npm:^1.0.0": - version: 1.0.0 - resolution: "p-try@npm:1.0.0" - checksum: 3b5303f77eb7722144154288bfd96f799f8ff3e2b2b39330efe38db5dd359e4fb27012464cd85cb0a76e9b7edd1b443568cb3192c22e7cffc34989df0bafd605 +"p-map@npm:^7.0.2": + version: 7.0.3 + resolution: "p-map@npm:7.0.3" + checksum: 8c92d533acf82f0d12f7e196edccff773f384098bbb048acdd55a08778ce4fc8889d8f1bde72969487bd96f9c63212698d79744c20bedfce36c5b00b46d369f8 languageName: node linkType: hard @@ -10365,48 +10013,48 @@ __metadata: languageName: node linkType: hard -"pac-proxy-agent@npm:^6.0.3": - version: 6.0.4 - resolution: "pac-proxy-agent@npm:6.0.4" +"pac-proxy-agent@npm:^7.1.0": + version: 7.2.0 + resolution: "pac-proxy-agent@npm:7.2.0" dependencies: - agent-base: ^7.0.2 + "@tootallnate/quickjs-emscripten": ^0.23.0 + agent-base: ^7.1.2 debug: ^4.3.4 get-uri: ^6.0.1 http-proxy-agent: ^7.0.0 - https-proxy-agent: ^7.0.0 - pac-resolver: ^6.0.1 - socks-proxy-agent: ^8.0.1 - checksum: 8133b367bf257040117c29249e6b05bb9aa8d5ffc84c009a8c266e6cf66b0bcbd57412a1e600da9bd904d0719b75bb08f2366ece6c621ade2839b74b530aed6e + https-proxy-agent: ^7.0.6 + pac-resolver: ^7.0.1 + socks-proxy-agent: ^8.0.5 + checksum: 099c1bc8944da6a98e8b7de1fbf23e4014bc3063f66a7c29478bd852c1162e1d086a4f80f874f40961ebd5c516e736aed25852db97b79360cbdcc9db38086981 languageName: node linkType: hard -"pac-resolver@npm:^6.0.1": - version: 6.0.2 - resolution: "pac-resolver@npm:6.0.2" +"pac-resolver@npm:^7.0.1": + version: 7.0.1 + resolution: "pac-resolver@npm:7.0.1" dependencies: - degenerator: ^4.0.4 - ip: ^1.1.8 + degenerator: ^5.0.0 netmask: ^2.0.2 - checksum: 5b751fbd8b9bec25204d0fc8c7114c65c5aa30492e851a2ee9bfc47cd4bbb555d4e315ddbda2b4071fc97098504a7e55c3e57d32f19ebb9bbaa189f94b050ed5 + checksum: 839134328781b80d49f9684eae1f5c74f50a1d4482076d44c84fc2f3ca93da66fa11245a4725a057231e06b311c20c989fd0681e662a0792d17f644d8fe62a5e languageName: node linkType: hard "package-json-from-dist@npm:^1.0.0": - version: 1.0.0 - resolution: "package-json-from-dist@npm:1.0.0" - checksum: ac706ec856a5a03f5261e4e48fa974f24feb044d51f84f8332e2af0af04fbdbdd5bbbfb9cbbe354190409bc8307c83a9e38c6672c3c8855f709afb0006a009ea + version: 1.0.1 + resolution: "package-json-from-dist@npm:1.0.1" + checksum: 58ee9538f2f762988433da00e26acc788036914d57c71c246bf0be1b60cdbd77dd60b6a3e1a30465f0b248aeb80079e0b34cb6050b1dfa18c06953bb1cbc7602 languageName: node linkType: hard -"package-json@npm:^8.1.0": - version: 8.1.1 - resolution: "package-json@npm:8.1.1" +"package-json@npm:^10.0.0": + version: 10.0.1 + resolution: "package-json@npm:10.0.1" dependencies: - got: ^12.1.0 - registry-auth-token: ^5.0.1 - registry-url: ^6.0.0 - semver: ^7.3.7 - checksum: 28bec6f42bf9fba66b7c8fea07576fc23d08ec7923433f7835d6cd8654e72169d74f9738b3785107d18a476ae76712e0daeb1dddcd6930e69f9e4b47eba7c0ca + ky: ^1.2.0 + registry-auth-token: ^5.0.2 + registry-url: ^6.0.1 + semver: ^7.6.0 + checksum: bb197441910f065b1d644f7f0cfc532ed8bf8ae7fa777c2c626e0ccb1a10992e8538fca4b338d365a70a7a44a648b1583ecd7c57d564c1a2a3715f60440a0489 languageName: node linkType: hard @@ -10441,12 +10089,23 @@ __metadata: languageName: node linkType: hard +"parse-json@npm:^8.0.0": + version: 8.1.0 + resolution: "parse-json@npm:8.1.0" + dependencies: + "@babel/code-frame": ^7.22.13 + index-to-position: ^0.1.2 + type-fest: ^4.7.1 + checksum: efc4256c91e835b1340e2b4f535272247f174fcba85eead15ff938be23b3ca2d521a04c76e564d1dc2f61c0c9ebcb6157d5433d459c7e736c81d014b49577b31 + languageName: node + linkType: hard + "parse-path@npm:^7.0.0": - version: 7.0.0 - resolution: "parse-path@npm:7.0.0" + version: 7.0.1 + resolution: "parse-path@npm:7.0.1" dependencies: protocols: ^2.0.0 - checksum: 244b46523a58181d251dda9b888efde35d8afb957436598d948852f416d8c76ddb4f2010f9fc94218b4be3e5c0f716aa0d2026194a781e3b8981924142009302 + checksum: a3aa6776df12f26b09bc9f6e510f3e4b27d7a38d8f13081e696059d415eea2d5a073fc4a8d3b9d1b6818591a986198a7f0016ae70fe75410af4c439a3a12b56a languageName: node linkType: hard @@ -10518,15 +10177,6 @@ __metadata: languageName: node linkType: hard -"path-type@npm:^3.0.0": - version: 3.0.0 - resolution: "path-type@npm:3.0.0" - dependencies: - pify: ^3.0.0 - checksum: 735b35e256bad181f38fa021033b1c33cfbe62ead42bb2222b56c210e42938eecb272ae1949f3b6db4ac39597a61b44edd8384623ec4d79bfdc9a9c0f12537a6 - languageName: node - linkType: hard - "path-type@npm:^4.0.0": version: 4.0.0 resolution: "path-type@npm:4.0.0" @@ -10534,10 +10184,17 @@ __metadata: languageName: node linkType: hard -"picocolors@npm:^1.0.0, picocolors@npm:^1.0.1": - version: 1.0.1 - resolution: "picocolors@npm:1.0.1" - checksum: fa68166d1f56009fc02a34cdfd112b0dd3cf1ef57667ac57281f714065558c01828cdf4f18600ad6851cbe0093952ed0660b1e0156bddf2184b6aaf5817553a5 +"path-type@npm:^5.0.0": + version: 5.0.0 + resolution: "path-type@npm:5.0.0" + checksum: 15ec24050e8932c2c98d085b72cfa0d6b4eeb4cbde151a0a05726d8afae85784fc5544f733d8dfc68536587d5143d29c0bd793623fad03d7e61cc00067291cd5 + languageName: node + linkType: hard + +"picocolors@npm:^1.0.0, picocolors@npm:^1.0.1, picocolors@npm:^1.1.1": + version: 1.1.1 + resolution: "picocolors@npm:1.1.1" + checksum: e1cf46bf84886c79055fdfa9dcb3e4711ad259949e3565154b004b260cd356c5d54b31a1437ce9782624bf766272fe6b0154f5f0c744fb7af5d454d2b60db045 languageName: node linkType: hard @@ -10548,20 +10205,6 @@ __metadata: languageName: node linkType: hard -"pify@npm:^2.3.0": - version: 2.3.0 - resolution: "pify@npm:2.3.0" - checksum: 9503aaeaf4577acc58642ad1d25c45c6d90288596238fb68f82811c08104c800e5a7870398e9f015d82b44ecbcbef3dc3d4251a1cbb582f6e5959fe09884b2ba - languageName: node - linkType: hard - -"pify@npm:^3.0.0": - version: 3.0.0 - resolution: "pify@npm:3.0.0" - checksum: 6cdcbc3567d5c412450c53261a3f10991665d660961e06605decf4544a61a97a54fefe70a68d5c37080ff9d6f4cf51444c90198d1ba9f9309a6c0d6e9f5c4fde - languageName: node - linkType: hard - "pify@npm:^4.0.1": version: 4.0.1 resolution: "pify@npm:4.0.1" @@ -10604,9 +10247,9 @@ __metadata: linkType: hard "possible-typed-array-names@npm:^1.0.0": - version: 1.0.0 - resolution: "possible-typed-array-names@npm:1.0.0" - checksum: b32d403ece71e042385cc7856385cecf1cd8e144fa74d2f1de40d1e16035dba097bc189715925e79b67bdd1472796ff168d3a90d296356c9c94d272d5b95f3ae + version: 1.1.0 + resolution: "possible-typed-array-names@npm:1.1.0" + checksum: cfcd4f05264eee8fd184cd4897a17890561d1d473434b43ab66ad3673d9c9128981ec01e0cb1d65a52cd6b1eebfb2eae1e53e39b2e0eca86afc823ede7a4f41b languageName: node linkType: hard @@ -10617,13 +10260,6 @@ __metadata: languageName: node linkType: hard -"prelude-ls@npm:~1.1.2": - version: 1.1.2 - resolution: "prelude-ls@npm:1.1.2" - checksum: c4867c87488e4a0c233e158e4d0d5565b609b105d75e4c05dc760840475f06b731332eb93cc8c9cecb840aa8ec323ca3c9a56ad7820ad2e63f0261dadcb154e4 - languageName: node - linkType: hard - "prettier-linter-helpers@npm:^1.0.0": version: 1.0.0 resolution: "prettier-linter-helpers@npm:1.0.0" @@ -10634,15 +10270,15 @@ __metadata: linkType: hard "prettier@npm:^3.0.3": - version: 3.3.3 - resolution: "prettier@npm:3.3.3" + version: 3.5.3 + resolution: "prettier@npm:3.5.3" bin: prettier: bin/prettier.cjs - checksum: bc8604354805acfdde6106852d14b045bb20827ad76a5ffc2455b71a8257f94de93f17f14e463fe844808d2ccc87248364a5691488a3304f1031326e62d9276e + checksum: 61e97bb8e71a95d8f9c71f1fd5229c9aaa9d1e184dedb12399f76aa802fb6fdc8954ecac9df25a7f82ee7311cf8ddbd06baf5507388fc98e5b44036cc6a88a1b languageName: node linkType: hard -"pretty-format@npm:^26.5.2, pretty-format@npm:^26.6.2": +"pretty-format@npm:^26.6.2": version: 26.6.2 resolution: "pretty-format@npm:26.6.2" dependencies: @@ -10665,10 +10301,10 @@ __metadata: languageName: node linkType: hard -"proc-log@npm:^4.1.0, proc-log@npm:^4.2.0": - version: 4.2.0 - resolution: "proc-log@npm:4.2.0" - checksum: 98f6cd012d54b5334144c5255ecb941ee171744f45fca8b43b58ae5a0c1af07352475f481cadd9848e7f0250376ee584f6aa0951a856ff8f021bdfbff4eb33fc +"proc-log@npm:^5.0.0": + version: 5.0.0 + resolution: "proc-log@npm:5.0.0" + checksum: c78b26ecef6d5cce4a7489a1e9923d7b4b1679028c8654aef0463b27f4a90b0946cd598f55799da602895c52feb085ec76381d007ab8dcceebd40b89c2f9dfe0 languageName: node linkType: hard @@ -10689,20 +10325,6 @@ __metadata: languageName: node linkType: hard -"promise.allsettled@npm:1.0.6": - version: 1.0.6 - resolution: "promise.allsettled@npm:1.0.6" - dependencies: - array.prototype.map: ^1.0.5 - call-bind: ^1.0.2 - define-properties: ^1.1.4 - es-abstract: ^1.20.4 - get-intrinsic: ^1.1.3 - iterate-value: ^1.0.2 - checksum: 5de80c33f41b23387be49229e47ade2fbeb86ad9b2066e5e093c21dbd5a3e7a8e4eb8e420cbf58386e2af976cc4677950092f855b677b16771191599f493d035 - languageName: node - linkType: hard - "promise@npm:^8.3.0": version: 8.3.0 resolution: "promise@npm:8.3.0" @@ -10712,7 +10334,7 @@ __metadata: languageName: node linkType: hard -"prompts@npm:^2.0.1, prompts@npm:^2.4.0, prompts@npm:^2.4.2": +"prompts@npm:^2.0.1, prompts@npm:^2.4.2": version: 2.4.2 resolution: "prompts@npm:2.4.2" dependencies: @@ -10741,25 +10363,25 @@ __metadata: linkType: hard "protocols@npm:^2.0.0, protocols@npm:^2.0.1": - version: 2.0.1 - resolution: "protocols@npm:2.0.1" - checksum: 4a9bef6aa0449a0245ded319ac3cbfd032c3e76ebb562777037a3a832c99253d0e8bc2847f7be350236df620a11f7d4fe683ea7f59a2cc14c69f746b6259eda4 + version: 2.0.2 + resolution: "protocols@npm:2.0.2" + checksum: 031cc068eb800468a50eb7c1e1c528bf142fb8314f5df9b9ea3c3f9df1697a19f97b9915b1229cef694d156812393172d9c3051ef7878d26eaa8c6faa5cccec4 languageName: node linkType: hard -"proxy-agent@npm:6.2.1": - version: 6.2.1 - resolution: "proxy-agent@npm:6.2.1" +"proxy-agent@npm:6.5.0": + version: 6.5.0 + resolution: "proxy-agent@npm:6.5.0" dependencies: - agent-base: ^7.0.2 + agent-base: ^7.1.2 debug: ^4.3.4 - http-proxy-agent: ^7.0.0 - https-proxy-agent: ^7.0.0 + http-proxy-agent: ^7.0.1 + https-proxy-agent: ^7.0.6 lru-cache: ^7.14.1 - pac-proxy-agent: ^6.0.3 + pac-proxy-agent: ^7.1.0 proxy-from-env: ^1.1.0 - socks-proxy-agent: ^8.0.1 - checksum: f1ef5a4089318e926d4ec741dd11d42c9e271c2ad28cc969c22ec99f62e178c483cb4cefb0c8b361f4a348ea5d471fd7916eb2e9e78e90b4451288a811694f6b + socks-proxy-agent: ^8.0.5 + checksum: d03ad2d171c2768280ade7ea6a7c5b1d0746215d70c0a16e02780c26e1d347edd27b3f48374661ae54ec0f7b41e6e45175b687baf333b36b1fd109a525154806 languageName: node linkType: hard @@ -10771,12 +10393,12 @@ __metadata: linkType: hard "pump@npm:^3.0.0": - version: 3.0.0 - resolution: "pump@npm:3.0.0" + version: 3.0.2 + resolution: "pump@npm:3.0.2" dependencies: end-of-stream: ^1.1.0 once: ^1.3.1 - checksum: e42e9229fba14732593a718b04cb5e1cfef8254544870997e0ecd9732b189a48e1256e4e5478148ecb47c8511dca2b09eae56b4d0aad8009e6fac8072923cfc9 + checksum: e0c4216874b96bd25ddf31a0b61a5613e26cc7afa32379217cf39d3915b0509def3565f5f6968fafdad2894c8bbdbd67d340e84f3634b2a29b950cffb6442d9f languageName: node linkType: hard @@ -10803,20 +10425,6 @@ __metadata: languageName: node linkType: hard -"q@npm:^1.5.1": - version: 1.5.1 - resolution: "q@npm:1.5.1" - checksum: 147baa93c805bc1200ed698bdf9c72e9e42c05f96d007e33a558b5fdfd63e5ea130e99313f28efc1783e90e6bdb4e48b67a36fcc026b7b09202437ae88a1fb12 - languageName: node - linkType: hard - -"querystring@npm:^0.2.1": - version: 0.2.1 - resolution: "querystring@npm:0.2.1" - checksum: 7b83b45d641e75fd39cd6625ddfd44e7618e741c61e95281b57bbae8fde0afcc12cf851924559e5cc1ef9baa3b1e06e22b164ea1397d65dd94b801f678d9c8ce - languageName: node - linkType: hard - "queue-microtask@npm:^1.2.2": version: 1.2.3 resolution: "queue-microtask@npm:1.2.3" @@ -10868,13 +10476,13 @@ __metadata: languageName: node linkType: hard -"react-devtools-core@npm:^5.3.1": - version: 5.3.1 - resolution: "react-devtools-core@npm:5.3.1" +"react-devtools-core@npm:^6.0.1": + version: 6.1.1 + resolution: "react-devtools-core@npm:6.1.1" dependencies: shell-quote: ^1.6.1 ws: ^7 - checksum: a68434a6af8261f5eb7defd823ebc77cc86f42a93521755bc58e5925956af579a312e109f9b27f652d016c2d580ef28f6e8d1643502624c0fe7913c93c743170 + checksum: 18b6d11a11a23b67eb1ff7d44b45adb914a18d9b26cdb378d8f3146834eda5d9bdefc131bb7fb793f3057f166c309681651e865814bbf491f2ea0d0bf06a2922 languageName: node linkType: hard @@ -10899,9 +10507,9 @@ __metadata: languageName: node linkType: hard -"react-native-builder-bob@npm:^0.30.0": - version: 0.30.0 - resolution: "react-native-builder-bob@npm:0.30.0" +"react-native-builder-bob@npm:^0.36.0": + version: 0.36.0 + resolution: "react-native-builder-bob@npm:0.36.0" dependencies: "@babel/core": ^7.25.2 "@babel/plugin-transform-strict-mode": ^7.24.7 @@ -10927,97 +10535,59 @@ __metadata: yargs: ^17.5.1 bin: bob: bin/bob - checksum: fe4092547308d946756f0c41b1cde970781d00e22d8f3ae235a3d0e3ab8e7c8dfcb2e3b313af593986d07c672058b071f9f7397284b548139d4b9dc81f1b7a7e - languageName: node - linkType: hard - -"react-native-test-app@npm:^3.10.1": - version: 3.10.1 - resolution: "react-native-test-app@npm:3.10.1" - dependencies: - "@rnx-kit/react-native-host": ^0.4.12 - ajv: ^8.0.0 - cliui: ^8.0.0 - fast-xml-parser: ^4.0.0 - prompts: ^2.4.0 - semver: ^7.3.5 - uuid: ^10.0.0 - peerDependencies: - "@callstack/react-native-visionos": 0.73 - 0.75 - "@expo/config-plugins": ">=5.0" - react: 17.0.1 - 19.0 - react-native: 0.66 - 0.75 || >=0.76.0-0 <0.76.0 - react-native-macos: ^0.0.0-0 || 0.66 || 0.68 || 0.71 - 0.75 - react-native-windows: ^0.0.0-0 || 0.66 - 0.75 - peerDependenciesMeta: - "@callstack/react-native-visionos": - optional: true - "@expo/config-plugins": - optional: true - react-native-macos: - optional: true - react-native-windows: - optional: true - bin: - configure-test-app: scripts/configure.mjs - init: scripts/init.mjs - init-test-app: scripts/init.mjs - install-windows-test-app: windows/test-app.mjs - checksum: e02e361047475d3830a75539dd43a7d624427ad0cbf8ec5eae6d95a0847906c5dcddd8f5d987dbce347fad03c3bba3a916f14997e5c090aa63f47446c3c6df62 + checksum: 2d47c039e3d6f90cd6a074cbe35c2dfc96868a73a6aee503fb981aace1c1ec2830517ce4910f5e368a558ed2f10302f60361cb1bf37ef341a913d125020bd2ee languageName: node linkType: hard -"react-native@npm:0.75.2": - version: 0.75.2 - resolution: "react-native@npm:0.75.2" +"react-native@npm:0.78.0": + version: 0.78.0 + resolution: "react-native@npm:0.78.0" dependencies: "@jest/create-cache-key-function": ^29.6.3 - "@react-native-community/cli": 14.0.0 - "@react-native-community/cli-platform-android": 14.0.0 - "@react-native-community/cli-platform-ios": 14.0.0 - "@react-native/assets-registry": 0.75.2 - "@react-native/codegen": 0.75.2 - "@react-native/community-cli-plugin": 0.75.2 - "@react-native/gradle-plugin": 0.75.2 - "@react-native/js-polyfills": 0.75.2 - "@react-native/normalize-colors": 0.75.2 - "@react-native/virtualized-lists": 0.75.2 + "@react-native/assets-registry": 0.78.0 + "@react-native/codegen": 0.78.0 + "@react-native/community-cli-plugin": 0.78.0 + "@react-native/gradle-plugin": 0.78.0 + "@react-native/js-polyfills": 0.78.0 + "@react-native/normalize-colors": 0.78.0 + "@react-native/virtualized-lists": 0.78.0 abort-controller: ^3.0.0 anser: ^1.4.9 ansi-regex: ^5.0.0 + babel-jest: ^29.7.0 + babel-plugin-syntax-hermes-parser: 0.25.1 base64-js: ^1.5.1 chalk: ^4.0.0 + commander: ^12.0.0 event-target-shim: ^5.0.1 flow-enums-runtime: ^0.0.6 glob: ^7.1.1 invariant: ^2.2.4 jest-environment-node: ^29.6.3 - jsc-android: ^250231.0.0 memoize-one: ^5.0.0 - metro-runtime: ^0.80.3 - metro-source-map: ^0.80.3 - mkdirp: ^0.5.1 + metro-runtime: ^0.81.0 + metro-source-map: ^0.81.0 nullthrows: ^1.1.1 - pretty-format: ^26.5.2 + pretty-format: ^29.7.0 promise: ^8.3.0 - react-devtools-core: ^5.3.1 + react-devtools-core: ^6.0.1 react-refresh: ^0.14.0 regenerator-runtime: ^0.13.2 - scheduler: 0.24.0-canary-efb381bbf-20230505 + scheduler: 0.25.0 semver: ^7.1.3 stacktrace-parser: ^0.1.10 whatwg-fetch: ^3.0.0 - ws: ^6.2.2 + ws: ^6.2.3 yargs: ^17.6.2 peerDependencies: - "@types/react": ^18.2.6 - react: ^18.2.0 + "@types/react": ^19.0.0 + react: ^19.0.0 peerDependenciesMeta: "@types/react": optional: true bin: react-native: cli.js - checksum: f8a02e08886455bed78d461ad2a8f83547267e271f6d291eaed976482ad33e2b32364f5de5f778e02cfc574621e85291530c9326a472fd8c9fbf1efa92a41a64 + checksum: c339279abedb16656d2c02cf4073bf8cd679736ece4f505f7adaef5d7a94ba6bb7b2ac517a698b3982e2bb8619a19f7ac0117592ebecddc3aef5a41131014b97 languageName: node linkType: hard @@ -11028,22 +10598,21 @@ __metadata: languageName: node linkType: hard -"react@npm:18.3.1": - version: 18.3.1 - resolution: "react@npm:18.3.1" - dependencies: - loose-envify: ^1.1.0 - checksum: a27bcfa8ff7c15a1e50244ad0d0c1cb2ad4375eeffefd266a64889beea6f6b64c4966c9b37d14ee32d6c9fcd5aa6ba183b6988167ab4d127d13e7cb5b386a376 +"react@npm:19.0.0": + version: 19.0.0 + resolution: "react@npm:19.0.0" + checksum: 86de15d85b2465feb40297a90319c325cb07cf27191a361d47bcfe8c6126c973d660125aa67b8f4cbbe39f15a2f32efd0c814e98196d8e5b68c567ba40a399c6 languageName: node linkType: hard -"read-pkg-up@npm:^3.0.0": - version: 3.0.0 - resolution: "read-pkg-up@npm:3.0.0" +"read-package-up@npm:^11.0.0": + version: 11.0.0 + resolution: "read-package-up@npm:11.0.0" dependencies: - find-up: ^2.0.0 - read-pkg: ^3.0.0 - checksum: 16175573f2914ab9788897bcbe2a62b5728d0075e62285b3680cebe97059e2911e0134a062cf6e51ebe3e3775312bc788ac2039ed6af38ec68d2c10c6f2b30fb + find-up-simple: ^1.0.0 + read-pkg: ^9.0.0 + type-fest: ^4.6.0 + checksum: 535b7554d47fae5fb5c2e7aceebd48b5de4142cdfe7b21f942fa9a0f56db03d3b53cce298e19438e1149292279c285e6ba6722eca741d590fd242519c4bdbc17 languageName: node linkType: hard @@ -11069,17 +10638,6 @@ __metadata: languageName: node linkType: hard -"read-pkg@npm:^3.0.0": - version: 3.0.0 - resolution: "read-pkg@npm:3.0.0" - dependencies: - load-json-file: ^4.0.0 - normalize-package-data: ^2.3.2 - path-type: ^3.0.0 - checksum: 398903ebae6c7e9965419a1062924436cc0b6f516c42c4679a90290d2f87448ed8f977e7aa2dbba4aa1ac09248628c43e493ac25b2bc76640e946035200e34c6 - languageName: node - linkType: hard - "read-pkg@npm:^5.2.0": version: 5.2.0 resolution: "read-pkg@npm:5.2.0" @@ -11104,13 +10662,16 @@ __metadata: languageName: node linkType: hard -"read-yaml-file@npm:^2.1.0": - version: 2.1.0 - resolution: "read-yaml-file@npm:2.1.0" +"read-pkg@npm:^9.0.0": + version: 9.0.1 + resolution: "read-pkg@npm:9.0.1" dependencies: - js-yaml: ^4.0.0 - strip-bom: ^4.0.0 - checksum: 52765eb183e79466f51eebeb19b933cc0f0e907052d062d67300b97e79910064a24b370cdb0b5dd8b05afff3d0ec57282670fd9070dc608e13b11820ac79183d + "@types/normalize-package-data": ^2.4.3 + normalize-package-data: ^6.0.0 + parse-json: ^8.0.0 + type-fest: ^4.6.0 + unicorn-magic: ^0.1.0 + checksum: 5544bea2a58c6e5706db49a96137e8f0768c69395f25363f934064fbba00bdcdaa326fcd2f4281741df38cf81dbf27b76138240dc6de0ed718cf650475e0de3c languageName: node linkType: hard @@ -11147,15 +10708,16 @@ __metadata: languageName: node linkType: hard -"recast@npm:^0.21.0": - version: 0.21.5 - resolution: "recast@npm:0.21.5" +"recast@npm:^0.23.9": + version: 0.23.11 + resolution: "recast@npm:0.23.11" dependencies: - ast-types: 0.15.2 + ast-types: ^0.16.1 esprima: ~4.0.0 source-map: ~0.6.1 + tiny-invariant: ^1.3.3 tslib: ^2.0.1 - checksum: 03cc7f57562238ba258d468be67bf7446ce7a707bc87a087891dad15afead46c36e9aaeedf2130e2ab5a465244a9c62bfd4127849761cf8f4085abe2f3e5f485 + checksum: 1807159b1c33bc4a2d146e4ffea13b658e54bdcfab04fc4f9c9d7f1b4626c931e2ce41323e214516ec1e02a119037d686d825fc62f28072db27962b85e5b481d languageName: node linkType: hard @@ -11188,27 +10750,28 @@ __metadata: languageName: node linkType: hard -"reflect.getprototypeof@npm:^1.0.4": - version: 1.0.6 - resolution: "reflect.getprototypeof@npm:1.0.6" +"reflect.getprototypeof@npm:^1.0.6, reflect.getprototypeof@npm:^1.0.9": + version: 1.0.10 + resolution: "reflect.getprototypeof@npm:1.0.10" dependencies: - call-bind: ^1.0.7 + call-bind: ^1.0.8 define-properties: ^1.2.1 - es-abstract: ^1.23.1 + es-abstract: ^1.23.9 es-errors: ^1.3.0 - get-intrinsic: ^1.2.4 - globalthis: ^1.0.3 - which-builtin-type: ^1.1.3 - checksum: 88e9e65a7eaa0bf8e9a8bbf8ac07571363bc333ba8b6769ed5e013e0042ed7c385e97fae9049510b3b5fe4b42472d8f32de9ce8ce84902bc4297d4bbe3777dba + es-object-atoms: ^1.0.0 + get-intrinsic: ^1.2.7 + get-proto: ^1.0.1 + which-builtin-type: ^1.2.1 + checksum: ccc5debeb66125e276ae73909cecb27e47c35d9bb79d9cc8d8d055f008c58010ab8cb401299786e505e4aab733a64cba9daf5f312a58e96a43df66adad221870 languageName: node linkType: hard -"regenerate-unicode-properties@npm:^10.1.0": - version: 10.1.1 - resolution: "regenerate-unicode-properties@npm:10.1.1" +"regenerate-unicode-properties@npm:^10.2.0": + version: 10.2.0 + resolution: "regenerate-unicode-properties@npm:10.2.0" dependencies: regenerate: ^1.4.2 - checksum: b80958ef40f125275824c2c47d5081dfaefebd80bff26c76761e9236767c748a4a95a69c053fe29d2df881177f2ca85df4a71fe70a82360388b31159ef19adcf + checksum: d5c5fc13f8b8d7e16e791637a4bfef741f8d70e267d51845ee7d5404a32fa14c75b181c4efba33e4bff8b0000a2f13e9773593713dfe5b66597df4259275ce63 languageName: node linkType: hard @@ -11242,42 +10805,44 @@ __metadata: languageName: node linkType: hard -"regexp.prototype.flags@npm:^1.5.2": - version: 1.5.2 - resolution: "regexp.prototype.flags@npm:1.5.2" +"regexp.prototype.flags@npm:^1.5.3": + version: 1.5.4 + resolution: "regexp.prototype.flags@npm:1.5.4" dependencies: - call-bind: ^1.0.6 + call-bind: ^1.0.8 define-properties: ^1.2.1 es-errors: ^1.3.0 - set-function-name: ^2.0.1 - checksum: d7f333667d5c564e2d7a97c56c3075d64c722c9bb51b2b4df6822b2e8096d623a5e63088fb4c83df919b6951ef8113841de8b47de7224872fa6838bc5d8a7d64 + get-proto: ^1.0.1 + gopd: ^1.2.0 + set-function-name: ^2.0.2 + checksum: 18cb667e56cb328d2dda569d7f04e3ea78f2683135b866d606538cf7b1d4271f7f749f09608c877527799e6cf350e531368f3c7a20ccd1bb41048a48926bdeeb languageName: node linkType: hard -"regexpu-core@npm:^5.3.1": - version: 5.3.2 - resolution: "regexpu-core@npm:5.3.2" +"regexpu-core@npm:^6.2.0": + version: 6.2.0 + resolution: "regexpu-core@npm:6.2.0" dependencies: - "@babel/regjsgen": ^0.8.0 regenerate: ^1.4.2 - regenerate-unicode-properties: ^10.1.0 - regjsparser: ^0.9.1 + regenerate-unicode-properties: ^10.2.0 + regjsgen: ^0.8.0 + regjsparser: ^0.12.0 unicode-match-property-ecmascript: ^2.0.0 unicode-match-property-value-ecmascript: ^2.1.0 - checksum: 95bb97088419f5396e07769b7de96f995f58137ad75fac5811fb5fe53737766dfff35d66a0ee66babb1eb55386ef981feaef392f9df6d671f3c124812ba24da2 + checksum: 67d3c4a3f6c99bc80b5d690074a27e6f675be1c1739f8a9acf028fbc36f1a468472574ea65e331e217995198ba4404d7878f3cb3739a73552dd3c70d3fb7f8e6 languageName: node linkType: hard -"registry-auth-token@npm:^5.0.1": - version: 5.0.2 - resolution: "registry-auth-token@npm:5.0.2" +"registry-auth-token@npm:^5.0.2": + version: 5.1.0 + resolution: "registry-auth-token@npm:5.1.0" dependencies: "@pnpm/npm-conf": ^2.1.0 - checksum: 0d7683b71ee418993e7872b389024b13645c4295eb7bb850d10728eaf46065db24ea4d47dc6cbb71a60d1aa4bef077b0d8b7363c9ac9d355fdba47bebdfb01dd + checksum: 620c897167e2e0e9308b9cdd0288f70d651d9ec554348c39a96d398bb91d444e8cb4b3c0dc1e19d4a8f1c10ade85163baf606e5c09959baa31179bdfb1f7434e languageName: node linkType: hard -"registry-url@npm:^6.0.0": +"registry-url@npm:^6.0.1": version: 6.0.1 resolution: "registry-url@npm:6.0.1" dependencies: @@ -11286,51 +10851,55 @@ __metadata: languageName: node linkType: hard -"regjsparser@npm:^0.9.1": - version: 0.9.1 - resolution: "regjsparser@npm:0.9.1" +"regjsgen@npm:^0.8.0": + version: 0.8.0 + resolution: "regjsgen@npm:0.8.0" + checksum: a1d925ff14a4b2be774e45775ee6b33b256f89c42d480e6d85152d2133f18bd3d6af662161b226fa57466f7efec367eaf7ccd2a58c0ec2a1306667ba2ad07b0d + languageName: node + linkType: hard + +"regjsparser@npm:^0.12.0": + version: 0.12.0 + resolution: "regjsparser@npm:0.12.0" dependencies: - jsesc: ~0.5.0 + jsesc: ~3.0.2 bin: regjsparser: bin/parser - checksum: 5e1b76afe8f1d03c3beaf9e0d935dd467589c3625f6d65fb8ffa14f224d783a0fed4bf49c2c1b8211043ef92b6117313419edf055a098ed8342e340586741afc + checksum: 094b55b0ab3e1fd58f8ce5132a1d44dab08d91f7b0eea4132b0157b303ebb8ded20a9cbd893d25402d2aeddb23fac1f428ab4947b295d6fa51dd1c334a9e76f0 languageName: node linkType: hard -"release-it@npm:^15.0.0": - version: 15.11.0 - resolution: "release-it@npm:15.11.0" +"release-it@npm:^17.10.0": + version: 17.11.0 + resolution: "release-it@npm:17.11.0" dependencies: "@iarna/toml": 2.2.5 - "@octokit/rest": 19.0.11 + "@octokit/rest": 20.1.1 async-retry: 1.3.3 - chalk: 5.2.0 - cosmiconfig: 8.1.3 - execa: 7.1.1 - git-url-parse: 13.1.0 - globby: 13.1.4 - got: 12.6.1 - inquirer: 9.2.6 - is-ci: 3.0.1 - issue-parser: 6.0.0 + chalk: 5.4.1 + ci-info: ^4.1.0 + cosmiconfig: 9.0.0 + execa: 8.0.0 + git-url-parse: 14.0.0 + globby: 14.0.2 + inquirer: 9.3.2 + issue-parser: 7.0.1 lodash: 4.17.21 mime-types: 2.1.35 new-github-release-url: 2.0.0 - node-fetch: 3.3.1 - open: 9.1.0 - ora: 6.3.1 + open: 10.1.0 + ora: 8.1.1 os-name: 5.1.0 - promise.allsettled: 1.0.6 - proxy-agent: 6.2.1 - semver: 7.5.1 + proxy-agent: 6.5.0 + semver: 7.6.3 shelljs: 0.8.5 - update-notifier: 6.0.2 + update-notifier: 7.3.1 url-join: 5.0.0 - wildcard-match: 5.1.2 + wildcard-match: 5.1.4 yargs-parser: 21.1.1 bin: release-it: bin/release-it.js - checksum: 1a8b3be9c94afb44fd1b921bd15fb584887c78f4a29c3f4385901d42e9f14dbffe0e1a0f401dca235b93c3bd68c97f7e6fb4f6834a9ccf6cdb41de5ed76e557d + checksum: 0f1e43e23e4144901af9ffbc9ad9b4ab689198ee268d4c8c6b33e798c35c208f7d133a8a57ce95c67e12db4c1e752913e4af92d3dc31bdb9467be808f7b04729 languageName: node linkType: hard @@ -11362,13 +10931,6 @@ __metadata: languageName: node linkType: hard -"resolve-alpn@npm:^1.2.0": - version: 1.2.1 - resolution: "resolve-alpn@npm:1.2.1" - checksum: f558071fcb2c60b04054c99aebd572a2af97ef64128d59bef7ab73bd50d896a222a056de40ffc545b633d99b304c259ea9d0c06830d5c867c34f0bfa60b8eae0 - languageName: node - linkType: hard - "resolve-cwd@npm:^3.0.0": version: 3.0.0 resolution: "resolve-cwd@npm:3.0.0" @@ -11409,22 +10971,22 @@ __metadata: linkType: hard "resolve.exports@npm:^2.0.0": - version: 2.0.2 - resolution: "resolve.exports@npm:2.0.2" - checksum: 1c7778ca1b86a94f8ab4055d196c7d87d1874b96df4d7c3e67bbf793140f0717fd506dcafd62785b079cd6086b9264424ad634fb904409764c3509c3df1653f2 + version: 2.0.3 + resolution: "resolve.exports@npm:2.0.3" + checksum: abfb9f98278dcd0c19b8a49bb486abfafa23df4636d49128ea270dc982053c3ef230a530aecda1fae1322873fdfa6c97674fc539651ddfdb375ac58e0b8ef6df languageName: node linkType: hard "resolve@npm:^1.1.6, resolve@npm:^1.10.0, resolve@npm:^1.14.2, resolve@npm:^1.20.0, resolve@npm:^1.22.8": - version: 1.22.8 - resolution: "resolve@npm:1.22.8" + version: 1.22.10 + resolution: "resolve@npm:1.22.10" dependencies: - is-core-module: ^2.13.0 + is-core-module: ^2.16.0 path-parse: ^1.0.7 supports-preserve-symlinks-flag: ^1.0.0 bin: resolve: bin/resolve - checksum: f8a26958aa572c9b064562750b52131a37c29d072478ea32e129063e2da7f83e31f7f11e7087a18225a8561cfe8d2f0df9dbea7c9d331a897571c0a2527dbb4c + checksum: ab7a32ff4046fcd7c6fdd525b24a7527847d03c3650c733b909b01b757f92eb23510afa9cc3e9bf3f26a3e073b48c88c706dfd4c1d2fb4a16a96b73b6328ddcf languageName: node linkType: hard @@ -11442,15 +11004,15 @@ __metadata: linkType: hard "resolve@patch:resolve@^1.1.6#~builtin, resolve@patch:resolve@^1.10.0#~builtin, resolve@patch:resolve@^1.14.2#~builtin, resolve@patch:resolve@^1.20.0#~builtin, resolve@patch:resolve@^1.22.8#~builtin": - version: 1.22.8 - resolution: "resolve@patch:resolve@npm%3A1.22.8#~builtin::version=1.22.8&hash=c3c19d" + version: 1.22.10 + resolution: "resolve@patch:resolve@npm%3A1.22.10#~builtin::version=1.22.10&hash=c3c19d" dependencies: - is-core-module: ^2.13.0 + is-core-module: ^2.16.0 path-parse: ^1.0.7 supports-preserve-symlinks-flag: ^1.0.0 bin: resolve: bin/resolve - checksum: 5479b7d431cacd5185f8db64bfcb7286ae5e31eb299f4c4f404ad8aa6098b77599563ac4257cb2c37a42f59dfc06a1bec2bcf283bb448f319e37f0feb9a09847 + checksum: 8aac1e4e4628bd00bf4b94b23de137dd3fe44097a8d528fd66db74484be929936e20c696e1a3edf4488f37e14180b73df6f600992baea3e089e8674291f16c9d languageName: node linkType: hard @@ -11467,15 +11029,6 @@ __metadata: languageName: node linkType: hard -"responselike@npm:^3.0.0": - version: 3.0.0 - resolution: "responselike@npm:3.0.0" - dependencies: - lowercase-keys: ^3.0.0 - checksum: e0cc9be30df4f415d6d83cdede3c5c887cd4a73e7cc1708bcaab1d50a28d15acb68460ac5b02bcc55a42f3d493729c8856427dcf6e57e6e128ad05cba4cfb95e - languageName: node - linkType: hard - "restore-cursor@npm:^3.1.0": version: 3.1.0 resolution: "restore-cursor@npm:3.1.0" @@ -11486,13 +11039,13 @@ __metadata: languageName: node linkType: hard -"restore-cursor@npm:^4.0.0": - version: 4.0.0 - resolution: "restore-cursor@npm:4.0.0" +"restore-cursor@npm:^5.0.0": + version: 5.1.0 + resolution: "restore-cursor@npm:5.1.0" dependencies: - onetime: ^5.1.0 - signal-exit: ^3.0.2 - checksum: 5b675c5a59763bf26e604289eab35711525f11388d77f409453904e1e69c0d37ae5889295706b2c81d23bd780165084d040f9b68fffc32cc921519031c4fa4af + onetime: ^7.0.0 + signal-exit: ^4.1.0 + checksum: 838dd54e458d89cfbc1a923b343c1b0f170a04100b4ce1733e97531842d7b440463967e521216e8ab6c6f8e89df877acc7b7f4c18ec76e99fb9bf5a60d358d2c languageName: node linkType: hard @@ -11511,9 +11064,9 @@ __metadata: linkType: hard "reusify@npm:^1.0.4": - version: 1.0.4 - resolution: "reusify@npm:1.0.4" - checksum: c3076ebcc22a6bc252cb0b9c77561795256c22b757f40c0d8110b1300723f15ec0fc8685e8d4ea6d7666f36c79ccc793b1939c748bf36f18f542744a4e379fcc + version: 1.1.0 + resolution: "reusify@npm:1.1.0" + checksum: 64cb3142ac5e9ad689aca289585cb41d22521f4571f73e9488af39f6b1bd62f0cbb3d65e2ecc768ec6494052523f473f1eb4b55c3e9014b3590c17fc6a03e22a languageName: node linkType: hard @@ -11528,23 +11081,21 @@ __metadata: languageName: node linkType: hard -"rimraf@npm:~2.6.2": - version: 2.6.3 - resolution: "rimraf@npm:2.6.3" +"rimraf@npm:^5.0.5": + version: 5.0.10 + resolution: "rimraf@npm:5.0.10" dependencies: - glob: ^7.1.3 + glob: ^10.3.7 bin: - rimraf: ./bin.js - checksum: 3ea587b981a19016297edb96d1ffe48af7e6af69660e3b371dbfc73722a73a0b0e9be5c88089fbeeb866c389c1098e07f64929c7414290504b855f54f901ab10 + rimraf: dist/esm/bin.mjs + checksum: 50e27388dd2b3fa6677385fc1e2966e9157c89c86853b96d02e6915663a96b7ff4d590e14f6f70e90f9b554093aa5dbc05ac3012876be558c06a65437337bc05 languageName: node linkType: hard -"run-applescript@npm:^5.0.0": - version: 5.0.0 - resolution: "run-applescript@npm:5.0.0" - dependencies: - execa: ^5.0.0 - checksum: d00c2dbfa5b2d774de7451194b8b125f40f65fc183de7d9dcae97f57f59433586d3c39b9001e111c38bfa24c3436c99df1bb4066a2a0c90d39a8c4cd6889af77 +"run-applescript@npm:^7.0.0": + version: 7.0.0 + resolution: "run-applescript@npm:7.0.0" + checksum: b02462454d8b182ad4117e5d4626e9e6782eb2072925c9fac582170b0627ae3c1ea92ee9b2df7daf84b5e9ffe14eb1cf5fb70bc44b15c8a0bfcdb47987e2410c languageName: node linkType: hard @@ -11565,48 +11116,59 @@ __metadata: linkType: hard "rxjs@npm:^7.8.1": - version: 7.8.1 - resolution: "rxjs@npm:7.8.1" + version: 7.8.2 + resolution: "rxjs@npm:7.8.2" dependencies: tslib: ^2.1.0 - checksum: de4b53db1063e618ec2eca0f7965d9137cabe98cf6be9272efe6c86b47c17b987383df8574861bcced18ebd590764125a901d5506082be84a8b8e364bf05f119 + checksum: 2f233d7c832a6c255dabe0759014d7d9b1c9f1cb2f2f0d59690fd11c883c9826ea35a51740c06ab45b6ade0d9087bde9192f165cba20b6730d344b831ef80744 languageName: node linkType: hard -"safe-array-concat@npm:^1.1.2": - version: 1.1.2 - resolution: "safe-array-concat@npm:1.1.2" +"safe-array-concat@npm:^1.1.3": + version: 1.1.3 + resolution: "safe-array-concat@npm:1.1.3" dependencies: - call-bind: ^1.0.7 - get-intrinsic: ^1.2.4 - has-symbols: ^1.0.3 + call-bind: ^1.0.8 + call-bound: ^1.0.2 + get-intrinsic: ^1.2.6 + has-symbols: ^1.1.0 isarray: ^2.0.5 - checksum: a3b259694754ddfb73ae0663829e396977b99ff21cbe8607f35a469655656da8e271753497e59da8a7575baa94d2e684bea3e10ddd74ba046c0c9b4418ffa0c4 + checksum: 00f6a68140e67e813f3ad5e73e6dedcf3e42a9fa01f04d44b0d3f7b1f4b257af876832a9bfc82ac76f307e8a6cc652e3cf95876048a26cbec451847cf6ae3707 languageName: node linkType: hard -"safe-buffer@npm:5.1.2, safe-buffer@npm:~5.1.0, safe-buffer@npm:~5.1.1": +"safe-buffer@npm:5.2.1, safe-buffer@npm:~5.2.0": + version: 5.2.1 + resolution: "safe-buffer@npm:5.2.1" + checksum: b99c4b41fdd67a6aaf280fcd05e9ffb0813654894223afb78a31f14a19ad220bba8aba1cb14eddce1fcfb037155fe6de4e861784eb434f7d11ed58d1e70dd491 + languageName: node + linkType: hard + +"safe-buffer@npm:~5.1.0, safe-buffer@npm:~5.1.1": version: 5.1.2 resolution: "safe-buffer@npm:5.1.2" checksum: f2f1f7943ca44a594893a852894055cf619c1fbcb611237fc39e461ae751187e7baf4dc391a72125e0ac4fb2d8c5c0b3c71529622e6a58f46b960211e704903c languageName: node linkType: hard -"safe-buffer@npm:~5.2.0": - version: 5.2.1 - resolution: "safe-buffer@npm:5.2.1" - checksum: b99c4b41fdd67a6aaf280fcd05e9ffb0813654894223afb78a31f14a19ad220bba8aba1cb14eddce1fcfb037155fe6de4e861784eb434f7d11ed58d1e70dd491 +"safe-push-apply@npm:^1.0.0": + version: 1.0.0 + resolution: "safe-push-apply@npm:1.0.0" + dependencies: + es-errors: ^1.3.0 + isarray: ^2.0.5 + checksum: 8c11cbee6dc8ff5cc0f3d95eef7052e43494591384015902e4292aef4ae9e539908288520ed97179cee17d6ffb450fe5f05a46ce7a1749685f7524fd568ab5db languageName: node linkType: hard -"safe-regex-test@npm:^1.0.3": - version: 1.0.3 - resolution: "safe-regex-test@npm:1.0.3" +"safe-regex-test@npm:^1.1.0": + version: 1.1.0 + resolution: "safe-regex-test@npm:1.1.0" dependencies: - call-bind: ^1.0.6 + call-bound: ^1.0.2 es-errors: ^1.3.0 - is-regex: ^1.1.4 - checksum: 6c7d392ff1ae7a3ae85273450ed02d1d131f1d2c76e177d6b03eb88e6df8fa062639070e7d311802c1615f351f18dc58f9454501c58e28d5ffd9b8f502ba6489 + is-regex: ^1.2.1 + checksum: 3c809abeb81977c9ed6c869c83aca6873ea0f3ab0f806b8edbba5582d51713f8a6e9757d24d2b4b088f563801475ea946c8e77e7713e8c65cdd02305b6caedab languageName: node linkType: hard @@ -11617,12 +11179,10 @@ __metadata: languageName: node linkType: hard -"scheduler@npm:0.24.0-canary-efb381bbf-20230505": - version: 0.24.0-canary-efb381bbf-20230505 - resolution: "scheduler@npm:0.24.0-canary-efb381bbf-20230505" - dependencies: - loose-envify: ^1.1.0 - checksum: 232149125c10f10193b1340ec4bbf14a8e6a845152790d6fd6f58207642db801abdb5a21227561a0a93871b98ba47539a6233b4e6155aae72d6db6db9f9f09b3 +"scheduler@npm:0.25.0": + version: 0.25.0 + resolution: "scheduler@npm:0.25.0" + checksum: b7bb9fddbf743e521e9aaa5198a03ae823f5e104ebee0cb9ec625392bb7da0baa1c28ab29cee4b1e407a94e76acc6eee91eeb749614f91f853efda2613531566 languageName: node linkType: hard @@ -11631,48 +11191,17 @@ __metadata: resolution: "selfsigned@npm:2.4.1" dependencies: "@types/node-forge": ^1.3.0 - node-forge: ^1 - checksum: 38b91c56f1d7949c0b77f9bbe4545b19518475cae15e7d7f0043f87b1626710b011ce89879a88969651f650a19d213bb15b7d5b4c2877df9eeeff7ba8f8b9bfa - languageName: node - linkType: hard - -"semver-diff@npm:^4.0.0": - version: 4.0.0 - resolution: "semver-diff@npm:4.0.0" - dependencies: - semver: ^7.3.5 - checksum: 4a958d6f76c7e7858268e1e2cf936712542441c9e003e561b574167279eee0a9bd55cc7eae1bfb31d3e7ad06a9fc370e7dd412fcfefec8c0daf1ce5aea623559 - languageName: node - linkType: hard - -"semver@npm:2 || 3 || 4 || 5, semver@npm:^5.6.0": - version: 5.7.2 - resolution: "semver@npm:5.7.2" - bin: - semver: bin/semver - checksum: fb4ab5e0dd1c22ce0c937ea390b4a822147a9c53dbd2a9a0132f12fe382902beef4fbf12cf51bb955248d8d15874ce8cd89532569756384f994309825f10b686 - languageName: node - linkType: hard - -"semver@npm:7.3.8": - version: 7.3.8 - resolution: "semver@npm:7.3.8" - dependencies: - lru-cache: ^6.0.0 - bin: - semver: bin/semver.js - checksum: ba9c7cbbf2b7884696523450a61fee1a09930d888b7a8d7579025ad93d459b2d1949ee5bbfeb188b2be5f4ac163544c5e98491ad6152df34154feebc2cc337c1 + node-forge: ^1 + checksum: 38b91c56f1d7949c0b77f9bbe4545b19518475cae15e7d7f0043f87b1626710b011ce89879a88969651f650a19d213bb15b7d5b4c2877df9eeeff7ba8f8b9bfa languageName: node linkType: hard -"semver@npm:7.5.1": - version: 7.5.1 - resolution: "semver@npm:7.5.1" - dependencies: - lru-cache: ^6.0.0 +"semver@npm:2 || 3 || 4 || 5, semver@npm:^5.6.0": + version: 5.7.2 + resolution: "semver@npm:5.7.2" bin: - semver: bin/semver.js - checksum: d16dbedad53c65b086f79524b9ef766bf38670b2395bdad5c957f824dcc566b624988013564f4812bcace3f9d405355c3635e2007396a39d1bffc71cfec4a2fc + semver: bin/semver + checksum: fb4ab5e0dd1c22ce0c937ea390b4a822147a9c53dbd2a9a0132f12fe382902beef4fbf12cf51bb955248d8d15874ce8cd89532569756384f994309825f10b686 languageName: node linkType: hard @@ -11687,7 +11216,16 @@ __metadata: languageName: node linkType: hard -"semver@npm:^6.0.0, semver@npm:^6.3.0, semver@npm:^6.3.1": +"semver@npm:7.6.3": + version: 7.6.3 + resolution: "semver@npm:7.6.3" + bin: + semver: bin/semver.js + checksum: 4110ec5d015c9438f322257b1c51fe30276e5f766a3f64c09edd1d7ea7118ecbc3f379f3b69032bacf13116dc7abc4ad8ce0d7e2bd642e26b0d271b56b61a7d8 + languageName: node + linkType: hard + +"semver@npm:^6.3.0, semver@npm:^6.3.1": version: 6.3.1 resolution: "semver@npm:6.3.1" bin: @@ -11696,18 +11234,18 @@ __metadata: languageName: node linkType: hard -"semver@npm:^7.1.3, semver@npm:^7.3.4, semver@npm:^7.3.5, semver@npm:^7.3.7, semver@npm:^7.5.2, semver@npm:^7.5.3, semver@npm:^7.5.4": - version: 7.6.3 - resolution: "semver@npm:7.6.3" +"semver@npm:^7.1.3, semver@npm:^7.3.4, semver@npm:^7.3.5, semver@npm:^7.3.7, semver@npm:^7.5.2, semver@npm:^7.5.3, semver@npm:^7.5.4, semver@npm:^7.6.0, semver@npm:^7.6.3": + version: 7.7.1 + resolution: "semver@npm:7.7.1" bin: semver: bin/semver.js - checksum: 4110ec5d015c9438f322257b1c51fe30276e5f766a3f64c09edd1d7ea7118ecbc3f379f3b69032bacf13116dc7abc4ad8ce0d7e2bd642e26b0d271b56b61a7d8 + checksum: 586b825d36874007c9382d9e1ad8f93888d8670040add24a28e06a910aeebd673a2eb9e3bf169c6679d9245e66efb9057e0852e70d9daa6c27372aab1dda7104 languageName: node linkType: hard -"send@npm:0.18.0": - version: 0.18.0 - resolution: "send@npm:0.18.0" +"send@npm:0.19.0": + version: 0.19.0 + resolution: "send@npm:0.19.0" dependencies: debug: 2.6.9 depd: 2.0.0 @@ -11722,7 +11260,7 @@ __metadata: on-finished: 2.4.1 range-parser: ~1.2.1 statuses: 2.0.1 - checksum: 74fc07ebb58566b87b078ec63e5a3e41ecd987e4272ba67b7467e86c6ad51bc6b0b0154133b6d8b08a2ddda360464f71382f7ef864700f34844a76c8027817a8 + checksum: 5ae11bd900c1c2575525e2aa622e856804e2f96a09281ec1e39610d089f53aa69e13fd8db84b52f001d0318cf4bb0b3b904ad532fc4c0014eb90d32db0cff55f languageName: node linkType: hard @@ -11733,15 +11271,15 @@ __metadata: languageName: node linkType: hard -"serve-static@npm:^1.13.1": - version: 1.15.0 - resolution: "serve-static@npm:1.15.0" +"serve-static@npm:^1.13.1, serve-static@npm:^1.16.2": + version: 1.16.2 + resolution: "serve-static@npm:1.16.2" dependencies: - encodeurl: ~1.0.2 + encodeurl: ~2.0.0 escape-html: ~1.0.3 parseurl: ~1.3.3 - send: 0.18.0 - checksum: af57fc13be40d90a12562e98c0b7855cf6e8bd4c107fe9a45c212bf023058d54a1871b1c89511c3958f70626fff47faeb795f5d83f8cf88514dbaeb2b724464d + send: 0.19.0 + checksum: dffc52feb4cc5c68e66d0c7f3c1824d4e989f71050aefc9bd5f822a42c54c9b814f595fc5f2b717f4c7cc05396145f3e90422af31186a93f76cf15f707019759 languageName: node linkType: hard @@ -11752,7 +11290,7 @@ __metadata: languageName: node linkType: hard -"set-function-length@npm:^1.2.1": +"set-function-length@npm:^1.2.2": version: 1.2.2 resolution: "set-function-length@npm:1.2.2" dependencies: @@ -11766,7 +11304,7 @@ __metadata: languageName: node linkType: hard -"set-function-name@npm:^2.0.1, set-function-name@npm:^2.0.2": +"set-function-name@npm:^2.0.2": version: 2.0.2 resolution: "set-function-name@npm:2.0.2" dependencies: @@ -11778,6 +11316,17 @@ __metadata: languageName: node linkType: hard +"set-proto@npm:^1.0.0": + version: 1.0.0 + resolution: "set-proto@npm:1.0.0" + dependencies: + dunder-proto: ^1.0.1 + es-errors: ^1.3.0 + es-object-atoms: ^1.0.0 + checksum: ec27cbbe334598547e99024403e96da32aca3e530583e4dba7f5db1c43cbc4affa9adfbd77c7b2c210b9b8b2e7b2e600bad2a6c44fd62e804d8233f96bbb62f4 + languageName: node + linkType: hard + "setprototypeof@npm:1.2.0": version: 1.2.0 resolution: "setprototypeof@npm:1.2.0" @@ -11811,9 +11360,9 @@ __metadata: linkType: hard "shell-quote@npm:^1.6.1, shell-quote@npm:^1.7.3": - version: 1.8.1 - resolution: "shell-quote@npm:1.8.1" - checksum: 5f01201f4ef504d4c6a9d0d283fa17075f6770bfbe4c5850b074974c68062f37929ca61700d95ad2ac8822e14e8c4b990ca0e6e9272e64befd74ce5e19f0736b + version: 1.8.2 + resolution: "shell-quote@npm:1.8.2" + checksum: 1e97b62ced1c4c5135015978ebf273bed1f425a68cf84163e83fbb0f34b3ff9471e656720dab2b7cbb4ae0f58998e686d17d166c28dfb3662acd009e8bd7faed languageName: node linkType: hard @@ -11830,15 +11379,51 @@ __metadata: languageName: node linkType: hard -"side-channel@npm:^1.0.4, side-channel@npm:^1.0.6": - version: 1.0.6 - resolution: "side-channel@npm:1.0.6" +"side-channel-list@npm:^1.0.0": + version: 1.0.0 + resolution: "side-channel-list@npm:1.0.0" dependencies: - call-bind: ^1.0.7 es-errors: ^1.3.0 - get-intrinsic: ^1.2.4 - object-inspect: ^1.13.1 - checksum: bfc1afc1827d712271453e91b7cd3878ac0efd767495fd4e594c4c2afaa7963b7b510e249572bfd54b0527e66e4a12b61b80c061389e129755f34c493aad9b97 + object-inspect: ^1.13.3 + checksum: 603b928997abd21c5a5f02ae6b9cc36b72e3176ad6827fab0417ead74580cc4fb4d5c7d0a8a2ff4ead34d0f9e35701ed7a41853dac8a6d1a664fcce1a044f86f + languageName: node + linkType: hard + +"side-channel-map@npm:^1.0.1": + version: 1.0.1 + resolution: "side-channel-map@npm:1.0.1" + dependencies: + call-bound: ^1.0.2 + es-errors: ^1.3.0 + get-intrinsic: ^1.2.5 + object-inspect: ^1.13.3 + checksum: 42501371cdf71f4ccbbc9c9e2eb00aaaab80a4c1c429d5e8da713fd4d39ef3b8d4a4b37ed4f275798a65260a551a7131fd87fe67e922dba4ac18586d6aab8b06 + languageName: node + linkType: hard + +"side-channel-weakmap@npm:^1.0.2": + version: 1.0.2 + resolution: "side-channel-weakmap@npm:1.0.2" + dependencies: + call-bound: ^1.0.2 + es-errors: ^1.3.0 + get-intrinsic: ^1.2.5 + object-inspect: ^1.13.3 + side-channel-map: ^1.0.1 + checksum: a815c89bc78c5723c714ea1a77c938377ea710af20d4fb886d362b0d1f8ac73a17816a5f6640f354017d7e292a43da9c5e876c22145bac00b76cfb3468001736 + languageName: node + linkType: hard + +"side-channel@npm:^1.1.0": + version: 1.1.0 + resolution: "side-channel@npm:1.1.0" + dependencies: + es-errors: ^1.3.0 + object-inspect: ^1.13.3 + side-channel-list: ^1.0.0 + side-channel-map: ^1.0.1 + side-channel-weakmap: ^1.0.2 + checksum: bf73d6d6682034603eb8e99c63b50155017ed78a522d27c2acec0388a792c3ede3238b878b953a08157093b85d05797217d270b7666ba1f111345fbe933380ff languageName: node linkType: hard @@ -11849,7 +11434,7 @@ __metadata: languageName: node linkType: hard -"signal-exit@npm:^4.0.1": +"signal-exit@npm:^4.0.1, signal-exit@npm:^4.1.0": version: 4.1.0 resolution: "signal-exit@npm:4.1.0" checksum: 64c757b498cb8629ffa5f75485340594d2f8189e9b08700e69199069c8e3070fb3e255f7ab873c05dc0b3cec412aea7402e10a5990cb6a050bd33ba062a6c549 @@ -11877,6 +11462,13 @@ __metadata: languageName: node linkType: hard +"slash@npm:^5.1.0": + version: 5.1.0 + resolution: "slash@npm:5.1.0" + checksum: 70434b34c50eb21b741d37d455110258c42d2cf18c01e6518aeb7299f3c6e626330c889c0c552b5ca2ef54a8f5a74213ab48895f0640717cacefeef6830a1ba4 + languageName: node + linkType: hard + "slice-ansi@npm:^2.0.0": version: 2.1.0 resolution: "slice-ansi@npm:2.1.0" @@ -11895,24 +11487,24 @@ __metadata: languageName: node linkType: hard -"socks-proxy-agent@npm:^8.0.1, socks-proxy-agent@npm:^8.0.3": - version: 8.0.4 - resolution: "socks-proxy-agent@npm:8.0.4" +"socks-proxy-agent@npm:^8.0.3, socks-proxy-agent@npm:^8.0.5": + version: 8.0.5 + resolution: "socks-proxy-agent@npm:8.0.5" dependencies: - agent-base: ^7.1.1 + agent-base: ^7.1.2 debug: ^4.3.4 socks: ^2.8.3 - checksum: b2ec5051d85fe49072f9a250c427e0e9571fd09d5db133819192d078fd291276e1f0f50f6dbc04329b207738b1071314cee8bdbb4b12e27de42dbcf1d4233c67 + checksum: b4fbcdb7ad2d6eec445926e255a1fb95c975db0020543fbac8dfa6c47aecc6b3b619b7fb9c60a3f82c9b2969912a5e7e174a056ae4d98cb5322f3524d6036e1d languageName: node linkType: hard "socks@npm:^2.8.3": - version: 2.8.3 - resolution: "socks@npm:2.8.3" + version: 2.8.4 + resolution: "socks@npm:2.8.4" dependencies: ip-address: ^9.0.5 smart-buffer: ^4.2.0 - checksum: 7a6b7f6eedf7482b9e4597d9a20e09505824208006ea8f2c49b71657427f3c137ca2ae662089baa73e1971c62322d535d9d0cf1c9235cf6f55e315c18203eadd + checksum: cd1edc924475d5dfde534adf66038df7e62c7343e6b8c0113e52dc9bb6a0a10e25b2f136197f379d695f18e8f0f2b7f6e42977bf720ddbee912a851201c396ad languageName: node linkType: hard @@ -11978,9 +11570,9 @@ __metadata: linkType: hard "spdx-license-ids@npm:^3.0.0": - version: 3.0.20 - resolution: "spdx-license-ids@npm:3.0.20" - checksum: 0c57750bedbcff48f3d0e266fbbdaf0aab54217e182f669542ffe0b5a902dce69e8cdfa126a131e1ddd39a9bef4662e357b2b41315d7240b4a28c0a7e782bb40 + version: 3.0.21 + resolution: "spdx-license-ids@npm:3.0.21" + checksum: 681dfe26d250f48cc725c9118adf1eb0a175e3c298cd8553c039bfae37ed21bea30a27bc02dbb99b4a0d3a25c644c5dda952090e11ef4b3093f6ec7db4b93b58 languageName: node linkType: hard @@ -11993,15 +11585,6 @@ __metadata: languageName: node linkType: hard -"split@npm:^1.0.0": - version: 1.0.1 - resolution: "split@npm:1.0.1" - dependencies: - through: 2 - checksum: 12f4554a5792c7e98bb3e22b53c63bfa5ef89aa704353e1db608a55b51f5b12afaad6e4a8ecf7843c15f273f43cdadd67b3705cc43d48a75c2cf4641d51f7e7a - languageName: node - linkType: hard - "sprintf-js@npm:^1.1.3": version: 1.1.3 resolution: "sprintf-js@npm:1.1.3" @@ -12016,12 +11599,12 @@ __metadata: languageName: node linkType: hard -"ssri@npm:^10.0.0": - version: 10.0.6 - resolution: "ssri@npm:10.0.6" +"ssri@npm:^12.0.0": + version: 12.0.0 + resolution: "ssri@npm:12.0.0" dependencies: minipass: ^7.0.3 - checksum: 4603d53a05bcd44188747d38f1cc43833b9951b5a1ee43ba50535bdfc5fe4a0897472dbe69837570a5417c3c073377ef4f8c1a272683b401857f72738ee57299 + checksum: ef4b6b0ae47b4a69896f5f1c4375f953b9435388c053c36d27998bc3d73e046969ccde61ab659e679142971a0b08e50478a1228f62edb994105b280f17900c98 languageName: node linkType: hard @@ -12042,11 +11625,11 @@ __metadata: linkType: hard "stacktrace-parser@npm:^0.1.10": - version: 0.1.10 - resolution: "stacktrace-parser@npm:0.1.10" + version: 0.1.11 + resolution: "stacktrace-parser@npm:0.1.11" dependencies: type-fest: ^0.7.1 - checksum: f4fbddfc09121d91e587b60de4beb4941108e967d71ad3a171812dc839b010ca374d064ad0a296295fed13acd103609d99a4224a25b4e67de13cae131f1901ee + checksum: 1120cf716606ec6a8e25cc9b6ada79d7b91e6a599bba1a6664e6badc8b5f37987d7df7d9ad0344f717a042781fd8e1e999de08614a5afea451b68902421036b5 languageName: node linkType: hard @@ -12064,21 +11647,10 @@ __metadata: languageName: node linkType: hard -"stdin-discarder@npm:^0.1.0": - version: 0.1.0 - resolution: "stdin-discarder@npm:0.1.0" - dependencies: - bl: ^5.0.0 - checksum: 85131f70ae2830144133b7a6211d56f9ac2603573f4af3d0b66e828af5e13fcdea351f9192f86bb7fed2c64604c8097bf36d50cb77d54e898ce4604c3b7b6b8f - languageName: node - linkType: hard - -"stop-iteration-iterator@npm:^1.0.0": - version: 1.0.0 - resolution: "stop-iteration-iterator@npm:1.0.0" - dependencies: - internal-slot: ^1.0.4 - checksum: d04173690b2efa40e24ab70e5e51a3ff31d56d699550cfad084104ab3381390daccb36652b25755e420245f3b0737de66c1879eaa2a8d4fc0a78f9bf892fcb42 +"stdin-discarder@npm:^0.2.2": + version: 0.2.2 + resolution: "stdin-discarder@npm:0.2.2" + checksum: 642ffd05bd5b100819d6b24a613d83c6e3857c6de74eb02fc51506fa61dc1b0034665163831873868157c4538d71e31762bcf319be86cea04c3aba5336470478 languageName: node linkType: hard @@ -12121,23 +11693,35 @@ __metadata: languageName: node linkType: hard -"string.prototype.matchall@npm:^4.0.11": - version: 4.0.11 - resolution: "string.prototype.matchall@npm:4.0.11" +"string-width@npm:^7.0.0, string-width@npm:^7.2.0": + version: 7.2.0 + resolution: "string-width@npm:7.2.0" dependencies: - call-bind: ^1.0.7 + emoji-regex: ^10.3.0 + get-east-asian-width: ^1.0.0 + strip-ansi: ^7.1.0 + checksum: 42f9e82f61314904a81393f6ef75b832c39f39761797250de68c041d8ba4df2ef80db49ab6cd3a292923a6f0f409b8c9980d120f7d32c820b4a8a84a2598a295 + languageName: node + linkType: hard + +"string.prototype.matchall@npm:^4.0.12": + version: 4.0.12 + resolution: "string.prototype.matchall@npm:4.0.12" + dependencies: + call-bind: ^1.0.8 + call-bound: ^1.0.3 define-properties: ^1.2.1 - es-abstract: ^1.23.2 + es-abstract: ^1.23.6 es-errors: ^1.3.0 es-object-atoms: ^1.0.0 - get-intrinsic: ^1.2.4 - gopd: ^1.0.1 - has-symbols: ^1.0.3 - internal-slot: ^1.0.7 - regexp.prototype.flags: ^1.5.2 + get-intrinsic: ^1.2.6 + gopd: ^1.2.0 + has-symbols: ^1.1.0 + internal-slot: ^1.1.0 + regexp.prototype.flags: ^1.5.3 set-function-name: ^2.0.2 - side-channel: ^1.0.6 - checksum: 6ac6566ed065c0c8489c91156078ca077db8ff64d683fda97ae652d00c52dfa5f39aaab0a710d8243031a857fd2c7c511e38b45524796764d25472d10d7075ae + side-channel: ^1.1.0 + checksum: 98a09d6af91bfc6ee25556f3d7cd6646d02f5f08bda55d45528ed273d266d55a71af7291fe3fc76854deffb9168cc1a917d0b07a7d5a178c7e9537c99e6d2b57 languageName: node linkType: hard @@ -12151,26 +11735,30 @@ __metadata: languageName: node linkType: hard -"string.prototype.trim@npm:^1.2.9": - version: 1.2.9 - resolution: "string.prototype.trim@npm:1.2.9" +"string.prototype.trim@npm:^1.2.10": + version: 1.2.10 + resolution: "string.prototype.trim@npm:1.2.10" dependencies: - call-bind: ^1.0.7 + call-bind: ^1.0.8 + call-bound: ^1.0.2 + define-data-property: ^1.1.4 define-properties: ^1.2.1 - es-abstract: ^1.23.0 + es-abstract: ^1.23.5 es-object-atoms: ^1.0.0 - checksum: ea2df6ec1e914c9d4e2dc856fa08228e8b1be59b59e50b17578c94a66a176888f417264bb763d4aac638ad3b3dad56e7a03d9317086a178078d131aa293ba193 + has-property-descriptors: ^1.0.2 + checksum: 87659cd8561237b6c69f5376328fda934693aedde17bb7a2c57008e9d9ff992d0c253a391c7d8d50114e0e49ff7daf86a362f7961cf92f7564cd01342ca2e385 languageName: node linkType: hard -"string.prototype.trimend@npm:^1.0.8": - version: 1.0.8 - resolution: "string.prototype.trimend@npm:1.0.8" +"string.prototype.trimend@npm:^1.0.9": + version: 1.0.9 + resolution: "string.prototype.trimend@npm:1.0.9" dependencies: - call-bind: ^1.0.7 + call-bind: ^1.0.8 + call-bound: ^1.0.2 define-properties: ^1.2.1 es-object-atoms: ^1.0.0 - checksum: cc3bd2de08d8968a28787deba9a3cb3f17ca5f9f770c91e7e8fa3e7d47f079bad70fadce16f05dda9f261788be2c6e84a942f618c3bed31e42abc5c1084f8dfd + checksum: cb86f639f41d791a43627784be2175daa9ca3259c7cb83e7a207a729909b74f2ea0ec5d85de5761e6835e5f443e9420c6ff3f63a845378e4a61dd793177bc287 languageName: node linkType: hard @@ -12221,7 +11809,7 @@ __metadata: languageName: node linkType: hard -"strip-ansi@npm:^7.0.1": +"strip-ansi@npm:^7.0.1, strip-ansi@npm:^7.1.0": version: 7.1.0 resolution: "strip-ansi@npm:7.1.0" dependencies: @@ -12230,13 +11818,6 @@ __metadata: languageName: node linkType: hard -"strip-bom@npm:^3.0.0": - version: 3.0.0 - resolution: "strip-bom@npm:3.0.0" - checksum: 8d50ff27b7ebe5ecc78f1fe1e00fcdff7af014e73cf724b46fb81ef889eeb1015fc5184b64e81a2efe002180f3ba431bdd77e300da5c6685d702780fbf0c8d5b - languageName: node - linkType: hard - "strip-bom@npm:^4.0.0": version: 4.0.0 resolution: "strip-bom@npm:4.0.0" @@ -12290,10 +11871,17 @@ __metadata: languageName: node linkType: hard -"strnum@npm:^1.0.5": - version: 1.0.5 - resolution: "strnum@npm:1.0.5" - checksum: 651b2031db5da1bf4a77fdd2f116a8ac8055157c5420f5569f64879133825915ad461513e7202a16d7fec63c54fd822410d0962f8ca12385c4334891b9ae6dd2 +"strnum@npm:^1.1.1": + version: 1.1.2 + resolution: "strnum@npm:1.1.2" + checksum: a85219eda13e97151c95e343a9e5960eacfb0a0ff98104b4c9cb7a212e3008bddf0c9714c9c37c2e508be78e741a04afc80027c2dc18509d1b5ffd4c37191fc2 + languageName: node + linkType: hard + +"stubborn-fs@npm:^1.2.5": + version: 1.2.5 + resolution: "stubborn-fs@npm:1.2.5" + checksum: 28d197afec1ec21ce7ffb06a42f01db19beecdf491694c53393ff5d92ec8a300df9c357e09a16d5cf55747ee2a70bc3c788b9e5577696061ffb9ae279655a600 languageName: node linkType: hard @@ -12304,15 +11892,6 @@ __metadata: languageName: node linkType: hard -"supports-color@npm:^5.3.0": - version: 5.5.0 - resolution: "supports-color@npm:5.5.0" - dependencies: - has-flag: ^3.0.0 - checksum: 95f6f4ba5afdf92f495b5a912d4abee8dcba766ae719b975c56c084f5004845f6f5a5f7769f52d53f40e21952a6d87411bafe34af4a01e65f9926002e38e1dac - languageName: node - linkType: hard - "supports-color@npm:^7.1.0": version: 7.2.0 resolution: "supports-color@npm:7.2.0" @@ -12339,41 +11918,32 @@ __metadata: linkType: hard "synckit@npm:^0.9.1": - version: 0.9.1 - resolution: "synckit@npm:0.9.1" + version: 0.9.2 + resolution: "synckit@npm:0.9.2" dependencies: "@pkgr/core": ^0.1.0 tslib: ^2.6.2 - checksum: 4042941a4d939675f1d7b01124b8405b6ac616f3e3f396d00e46c67f38d0d5b7f9a1de05bc7ceea4ce80d967b450cfa2460e5f6aca81f7cea8f1a28be9392985 - languageName: node - linkType: hard - -"tar@npm:^6.1.11, tar@npm:^6.2.1": - version: 6.2.1 - resolution: "tar@npm:6.2.1" - dependencies: - chownr: ^2.0.0 - fs-minipass: ^2.0.0 - minipass: ^5.0.0 - minizlib: ^2.1.1 - mkdirp: ^1.0.3 - yallist: ^4.0.0 - checksum: f1322768c9741a25356c11373bce918483f40fa9a25c69c59410c8a1247632487edef5fe76c5f12ac51a6356d2f1829e96d2bc34098668a2fc34d76050ac2b6c + checksum: 3a30e828efbdcf3b50fccab4da6e90ea7ca24d8c5c2ad3ffe98e07d7c492df121e0f75227c6e510f96f976aae76f1fa4710cb7b1d69db881caf66ef9de89360e languageName: node linkType: hard -"temp@npm:^0.8.4": - version: 0.8.4 - resolution: "temp@npm:0.8.4" +"tar@npm:^7.4.3": + version: 7.4.3 + resolution: "tar@npm:7.4.3" dependencies: - rimraf: ~2.6.2 - checksum: f35bed78565355dfdf95f730b7b489728bd6b7e35071bcc6497af7c827fb6c111fbe9063afc7b8cbc19522a072c278679f9a0ee81e684aa2c8617cc0f2e9c191 + "@isaacs/fs-minipass": ^4.0.0 + chownr: ^3.0.0 + minipass: ^7.1.2 + minizlib: ^3.0.1 + mkdirp: ^3.0.1 + yallist: ^5.0.0 + checksum: 8485350c0688331c94493031f417df069b778aadb25598abdad51862e007c39d1dd5310702c7be4a6784731a174799d8885d2fde0484269aea205b724d7b2ffa languageName: node linkType: hard "terser@npm:^5.15.0": - version: 5.31.6 - resolution: "terser@npm:5.31.6" + version: 5.39.0 + resolution: "terser@npm:5.39.0" dependencies: "@jridgewell/source-map": ^0.3.3 acorn: ^8.8.2 @@ -12381,7 +11951,7 @@ __metadata: source-map-support: ~0.5.20 bin: terser: bin/terser - checksum: 60d3faf39c9ad7acc891e17888bbd206e0b777f442649cf49873a5fa317b8b8a17179a46970d884d5f93e8addde0206193ed1e2e4f1ccb1cafb167f7d1ddee96 + checksum: e39c302aed7a70273c8b03032c37c68c8d9d3b432a7b6abe89caf9d087f7dd94d743c01ee5ba1431a095ad347c4a680b60d258f298a097cf512346d6041eb661 languageName: node linkType: hard @@ -12417,7 +11987,7 @@ __metadata: languageName: node linkType: hard -"through2@npm:^2.0.0, through2@npm:^2.0.1": +"through2@npm:^2.0.1": version: 2.0.5 resolution: "through2@npm:2.0.5" dependencies: @@ -12436,17 +12006,17 @@ __metadata: languageName: node linkType: hard -"through@npm:2, through@npm:>=2.2.7 <3, through@npm:^2.3.6": +"through@npm:>=2.2.7 <3": version: 2.3.8 resolution: "through@npm:2.3.8" checksum: a38c3e059853c494af95d50c072b83f8b676a9ba2818dcc5b108ef252230735c54e0185437618596c790bbba8fcdaef5b290405981ffa09dce67b1f1bf190cbd languageName: node linkType: hard -"titleize@npm:^3.0.0": - version: 3.0.0 - resolution: "titleize@npm:3.0.0" - checksum: 71fbbeabbfb36ccd840559f67f21e356e1d03da2915b32d2ae1a60ddcc13a124be2739f696d2feb884983441d159a18649e8d956648d591bdad35c430a6b6d28 +"tiny-invariant@npm:^1.3.3": + version: 1.3.3 + resolution: "tiny-invariant@npm:1.3.3" + checksum: 5e185c8cc2266967984ce3b352a4e57cb89dad5a8abb0dea21468a6ecaa67cd5bb47a3b7a85d08041008644af4f667fb8b6575ba38ba5fb00b3b5068306e59fe languageName: node linkType: hard @@ -12459,6 +12029,13 @@ __metadata: languageName: node linkType: hard +"tmp@npm:^0.2.3": + version: 0.2.3 + resolution: "tmp@npm:0.2.3" + checksum: 73b5c96b6e52da7e104d9d44afb5d106bb1e16d9fa7d00dbeb9e6522e61b571fbdb165c756c62164be9a3bbe192b9b268c236d370a2a0955c7689cd2ae377b95 + languageName: node + linkType: hard + "tmpl@npm:1.0.5": version: 1.0.5 resolution: "tmpl@npm:1.0.5" @@ -12466,13 +12043,6 @@ __metadata: languageName: node linkType: hard -"to-fast-properties@npm:^2.0.0": - version: 2.0.0 - resolution: "to-fast-properties@npm:2.0.0" - checksum: be2de62fe58ead94e3e592680052683b1ec986c72d589e7b21e5697f8744cdbf48c266fa72f6c15932894c10187b5f54573a3bcf7da0bfd964d5caf23d436168 - languageName: node - linkType: hard - "to-regex-range@npm:^5.0.1": version: 5.0.1 resolution: "to-regex-range@npm:5.0.1" @@ -12489,13 +12059,6 @@ __metadata: languageName: node linkType: hard -"tr46@npm:~0.0.3": - version: 0.0.3 - resolution: "tr46@npm:0.0.3" - checksum: 726321c5eaf41b5002e17ffbd1fb7245999a073e8979085dacd47c4b4e8068ff5777142fc6726d6ca1fd2ff16921b48788b87225cbc57c72636f6efa8efbffe3 - languageName: node - linkType: hard - "trim-newlines@npm:^3.0.0": version: 3.0.1 resolution: "trim-newlines@npm:3.0.1" @@ -12556,9 +12119,9 @@ __metadata: linkType: hard "tslib@npm:^2.0.1, tslib@npm:^2.1.0, tslib@npm:^2.6.2": - version: 2.7.0 - resolution: "tslib@npm:2.7.0" - checksum: 1606d5c89f88d466889def78653f3aab0f88692e80bb2066d090ca6112ae250ec1cfa9dbfaab0d17b60da15a4186e8ec4d893801c67896b277c17374e36e1d28 + version: 2.8.1 + resolution: "tslib@npm:2.8.1" + checksum: e4aba30e632b8c8902b47587fd13345e2827fa639e7c3121074d5ee0880723282411a8838f830b55100cbe4517672f84a2472667d355b81e8af165a55dc6203a languageName: node linkType: hard @@ -12653,15 +12216,6 @@ __metadata: languageName: node linkType: hard -"type-check@npm:~0.3.2": - version: 0.3.2 - resolution: "type-check@npm:0.3.2" - dependencies: - prelude-ls: ~1.1.2 - checksum: dd3b1495642731bc0e1fc40abe5e977e0263005551ac83342ecb6f4f89551d106b368ec32ad3fb2da19b3bd7b2d1f64330da2ea9176d8ddbfe389fb286eb5124 - languageName: node - linkType: hard - "type-detect@npm:4.0.8": version: 4.0.8 resolution: "type-detect@npm:4.0.8" @@ -12718,71 +12272,70 @@ __metadata: languageName: node linkType: hard -"type-fest@npm:^2.13.0, type-fest@npm:^2.5.1": +"type-fest@npm:^2.5.1": version: 2.19.0 resolution: "type-fest@npm:2.19.0" checksum: a4ef07ece297c9fba78fc1bd6d85dff4472fe043ede98bd4710d2615d15776902b595abf62bd78339ed6278f021235fb28a96361f8be86ed754f778973a0d278 languageName: node linkType: hard -"typed-array-buffer@npm:^1.0.2": - version: 1.0.2 - resolution: "typed-array-buffer@npm:1.0.2" +"type-fest@npm:^4.18.2, type-fest@npm:^4.21.0, type-fest@npm:^4.6.0, type-fest@npm:^4.7.1": + version: 4.37.0 + resolution: "type-fest@npm:4.37.0" + checksum: 303f34778e675054fe0d300afaa1ded7985c16c72630d9946c1cb3c949f6dc0b014196a5473f248597d9edb6778788e4c47966f9dcbfce324a31d9845c282a74 + languageName: node + linkType: hard + +"typed-array-buffer@npm:^1.0.3": + version: 1.0.3 + resolution: "typed-array-buffer@npm:1.0.3" dependencies: - call-bind: ^1.0.7 + call-bound: ^1.0.3 es-errors: ^1.3.0 - is-typed-array: ^1.1.13 - checksum: 02ffc185d29c6df07968272b15d5319a1610817916ec8d4cd670ded5d1efe72901541ff2202fcc622730d8a549c76e198a2f74e312eabbfb712ed907d45cbb0b + is-typed-array: ^1.1.14 + checksum: 3fb91f0735fb413b2bbaaca9fabe7b8fc14a3fa5a5a7546bab8a57e755be0e3788d893195ad9c2b842620592de0e68d4c077d4c2c41f04ec25b8b5bb82fa9a80 languageName: node linkType: hard -"typed-array-byte-length@npm:^1.0.1": - version: 1.0.1 - resolution: "typed-array-byte-length@npm:1.0.1" +"typed-array-byte-length@npm:^1.0.3": + version: 1.0.3 + resolution: "typed-array-byte-length@npm:1.0.3" dependencies: - call-bind: ^1.0.7 + call-bind: ^1.0.8 for-each: ^0.3.3 - gopd: ^1.0.1 - has-proto: ^1.0.3 - is-typed-array: ^1.1.13 - checksum: f65e5ecd1cf76b1a2d0d6f631f3ea3cdb5e08da106c6703ffe687d583e49954d570cc80434816d3746e18be889ffe53c58bf3e538081ea4077c26a41055b216d + gopd: ^1.2.0 + has-proto: ^1.2.0 + is-typed-array: ^1.1.14 + checksum: cda9352178ebeab073ad6499b03e938ebc30c4efaea63a26839d89c4b1da9d2640b0d937fc2bd1f049eb0a38def6fbe8a061b601292ae62fe079a410ce56e3a6 languageName: node linkType: hard -"typed-array-byte-offset@npm:^1.0.2": - version: 1.0.2 - resolution: "typed-array-byte-offset@npm:1.0.2" +"typed-array-byte-offset@npm:^1.0.4": + version: 1.0.4 + resolution: "typed-array-byte-offset@npm:1.0.4" dependencies: available-typed-arrays: ^1.0.7 - call-bind: ^1.0.7 + call-bind: ^1.0.8 for-each: ^0.3.3 - gopd: ^1.0.1 - has-proto: ^1.0.3 - is-typed-array: ^1.1.13 - checksum: c8645c8794a621a0adcc142e0e2c57b1823bbfa4d590ad2c76b266aa3823895cf7afb9a893bf6685e18454ab1b0241e1a8d885a2d1340948efa4b56add4b5f67 + gopd: ^1.2.0 + has-proto: ^1.2.0 + is-typed-array: ^1.1.15 + reflect.getprototypeof: ^1.0.9 + checksum: 670b7e6bb1d3c2cf6160f27f9f529e60c3f6f9611c67e47ca70ca5cfa24ad95415694c49d1dbfeda016d3372cab7dfc9e38c7b3e1bb8d692cae13a63d3c144d7 languageName: node linkType: hard -"typed-array-length@npm:^1.0.6": - version: 1.0.6 - resolution: "typed-array-length@npm:1.0.6" +"typed-array-length@npm:^1.0.7": + version: 1.0.7 + resolution: "typed-array-length@npm:1.0.7" dependencies: call-bind: ^1.0.7 for-each: ^0.3.3 gopd: ^1.0.1 - has-proto: ^1.0.3 is-typed-array: ^1.1.13 possible-typed-array-names: ^1.0.0 - checksum: f0315e5b8f0168c29d390ff410ad13e4d511c78e6006df4a104576844812ee447fcc32daab1f3a76c9ef4f64eff808e134528b5b2439de335586b392e9750e5c - languageName: node - linkType: hard - -"typedarray-to-buffer@npm:^3.1.5": - version: 3.1.5 - resolution: "typedarray-to-buffer@npm:3.1.5" - dependencies: - is-typedarray: ^1.0.0 - checksum: 99c11aaa8f45189fcfba6b8a4825fd684a321caa9bd7a76a27cf0c7732c174d198b99f449c52c3818107430b5f41c0ccbbfb75cb2ee3ca4a9451710986d61a60 + reflect.getprototypeof: ^1.0.6 + checksum: deb1a4ffdb27cd930b02c7030cb3e8e0993084c643208e52696e18ea6dd3953dfc37b939df06ff78170423d353dc8b10d5bae5796f3711c1b3abe52872b3774c languageName: node linkType: hard @@ -12794,22 +12347,22 @@ __metadata: linkType: hard "typescript@npm:^4.6.4 || ^5.2.2, typescript@npm:^5.2.2": - version: 5.5.4 - resolution: "typescript@npm:5.5.4" + version: 5.8.2 + resolution: "typescript@npm:5.8.2" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: b309040f3a1cd91c68a5a58af6b9fdd4e849b8c42d837b2c2e73f9a4f96a98c4f1ed398a9aab576ee0a4748f5690cf594e6b99dbe61de7839da748c41e6d6ca8 + checksum: 7f9e3d7ac15da6df713e439e785e51facd65d6450d5f51fab3e8d2f2e3f4eb317080d895480b8e305450cdbcb37e17383e8bf521e7395f8b556e2f2a4730ed86 languageName: node linkType: hard "typescript@patch:typescript@^4.6.4 || ^5.2.2#~builtin, typescript@patch:typescript@^5.2.2#~builtin": - version: 5.5.4 - resolution: "typescript@patch:typescript@npm%3A5.5.4#~builtin::version=5.5.4&hash=14eedb" + version: 5.8.2 + resolution: "typescript@patch:typescript@npm%3A5.8.2#~builtin::version=5.8.2&hash=14eedb" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: fc52962f31a5bcb716d4213bef516885e4f01f30cea797a831205fc9ef12b405a40561c40eae3127ab85ba1548e7df49df2bcdee6b84a94bfbe3a0d7eff16b14 + checksum: a58d19ff9811c1764a299dd83ca20ed8020f0ab642906dafc880121b710751227201531fdc99878158205c356ac79679b0b61ac5b42eda0e28bfb180947a258d languageName: node linkType: hard @@ -12822,15 +12375,15 @@ __metadata: languageName: node linkType: hard -"unbox-primitive@npm:^1.0.2": - version: 1.0.2 - resolution: "unbox-primitive@npm:1.0.2" +"unbox-primitive@npm:^1.1.0": + version: 1.1.0 + resolution: "unbox-primitive@npm:1.1.0" dependencies: - call-bind: ^1.0.2 + call-bound: ^1.0.3 has-bigints: ^1.0.2 - has-symbols: ^1.0.3 - which-boxed-primitive: ^1.0.2 - checksum: b7a1cf5862b5e4b5deb091672ffa579aa274f648410009c81cca63fed3b62b610c4f3b773f912ce545bb4e31edc3138975b5bc777fc6e4817dca51affb6380e9 + has-symbols: ^1.1.0 + which-boxed-primitive: ^1.1.1 + checksum: 729f13b84a5bfa3fead1d8139cee5c38514e63a8d6a437819a473e241ba87eeb593646568621c7fc7f133db300ef18d65d1a5a60dc9c7beb9000364d93c581df languageName: node linkType: hard @@ -12841,17 +12394,17 @@ __metadata: languageName: node linkType: hard -"undici-types@npm:~6.19.2": - version: 6.19.8 - resolution: "undici-types@npm:6.19.8" - checksum: de51f1b447d22571cf155dfe14ff6d12c5bdaec237c765085b439c38ca8518fc360e88c70f99469162bf2e14188a7b0bcb06e1ed2dc031042b984b0bb9544017 +"undici-types@npm:~6.20.0": + version: 6.20.0 + resolution: "undici-types@npm:6.20.0" + checksum: b7bc50f012dc6afbcce56c9fd62d7e86b20a62ff21f12b7b5cbf1973b9578d90f22a9c7fe50e638e96905d33893bf2f9f16d98929c4673c2480de05c6c96ea8b languageName: node linkType: hard "unicode-canonical-property-names-ecmascript@npm:^2.0.0": - version: 2.0.0 - resolution: "unicode-canonical-property-names-ecmascript@npm:2.0.0" - checksum: 39be078afd014c14dcd957a7a46a60061bc37c4508ba146517f85f60361acf4c7539552645ece25de840e17e293baa5556268d091ca6762747fdd0c705001a45 + version: 2.0.1 + resolution: "unicode-canonical-property-names-ecmascript@npm:2.0.1" + checksum: 3c3dabdb1d22aef4904399f9e810d0b71c0b12b3815169d96fac97e56d5642840c6071cf709adcace2252bc6bb80242396c2ec74b37224eb015c5f7aca40bad7 languageName: node linkType: hard @@ -12866,9 +12419,9 @@ __metadata: linkType: hard "unicode-match-property-value-ecmascript@npm:^2.1.0": - version: 2.1.0 - resolution: "unicode-match-property-value-ecmascript@npm:2.1.0" - checksum: 8d6f5f586b9ce1ed0e84a37df6b42fdba1317a05b5df0c249962bd5da89528771e2d149837cad11aa26bcb84c35355cb9f58a10c3d41fa3b899181ece6c85220 + version: 2.2.0 + resolution: "unicode-match-property-value-ecmascript@npm:2.2.0" + checksum: 9e3151e1d0bc6be35c4cef105e317c04090364173e8462005b5cde08a1e7c858b6586486cfebac39dc2c6c8c9ee24afb245de6d527604866edfa454fe2a35fae languageName: node linkType: hard @@ -12879,30 +12432,38 @@ __metadata: languageName: node linkType: hard -"unique-filename@npm:^3.0.0": - version: 3.0.0 - resolution: "unique-filename@npm:3.0.0" - dependencies: - unique-slug: ^4.0.0 - checksum: 8e2f59b356cb2e54aab14ff98a51ac6c45781d15ceaab6d4f1c2228b780193dc70fae4463ce9e1df4479cb9d3304d7c2043a3fb905bdeca71cc7e8ce27e063df +"unicorn-magic@npm:^0.1.0": + version: 0.1.0 + resolution: "unicorn-magic@npm:0.1.0" + checksum: 48c5882ca3378f380318c0b4eb1d73b7e3c5b728859b060276e0a490051d4180966beeb48962d850fd0c6816543bcdfc28629dcd030bb62a286a2ae2acb5acb6 + languageName: node + linkType: hard + +"uniffi-bindgen-react-native@npm:^0.28.3-1": + version: 0.28.3-3 + resolution: "uniffi-bindgen-react-native@npm:0.28.3-3" + bin: + ubrn: bin/cli.cjs + uniffi-bindgen-react-native: bin/cli.cjs + checksum: 743d91b1b51bca9bcd6af1e65cc8771846f3c28678c2e9cdf5f38f40a0e2fa31b406150ff5fc9b31d795c0b75159c41bd30119b016f90130cc8e0c11b37adcb7 languageName: node linkType: hard -"unique-slug@npm:^4.0.0": +"unique-filename@npm:^4.0.0": version: 4.0.0 - resolution: "unique-slug@npm:4.0.0" + resolution: "unique-filename@npm:4.0.0" dependencies: - imurmurhash: ^0.1.4 - checksum: 0884b58365af59f89739e6f71e3feacb5b1b41f2df2d842d0757933620e6de08eff347d27e9d499b43c40476cbaf7988638d3acb2ffbcb9d35fd035591adfd15 + unique-slug: ^5.0.0 + checksum: 6a62094fcac286b9ec39edbd1f8f64ff92383baa430af303dfed1ffda5e47a08a6b316408554abfddd9730c78b6106bef4ca4d02c1231a735ddd56ced77573df languageName: node linkType: hard -"unique-string@npm:^3.0.0": - version: 3.0.0 - resolution: "unique-string@npm:3.0.0" +"unique-slug@npm:^5.0.0": + version: 5.0.0 + resolution: "unique-slug@npm:5.0.0" dependencies: - crypto-random-string: ^4.0.0 - checksum: 1a1e2e7d02eab1bb10f720475da735e1990c8a5ff34edd1a3b6bc31590cb4210b7a1233d779360cc622ce11c211e43afa1628dd658f35d3e6a89964b622940df + imurmurhash: ^0.1.4 + checksum: 222d0322bc7bbf6e45c08967863212398313ef73423f4125e075f893a02405a5ffdbaaf150f7dd1e99f8861348a486dd079186d27c5f2c60e465b7dcbb1d3e5b languageName: node linkType: hard @@ -12934,46 +12495,35 @@ __metadata: languageName: node linkType: hard -"untildify@npm:^4.0.0": - version: 4.0.0 - resolution: "untildify@npm:4.0.0" - checksum: 39ced9c418a74f73f0a56e1ba4634b4d959422dff61f4c72a8e39f60b99380c1b45ed776fbaa0a4101b157e4310d873ad7d114e8534ca02609b4916bb4187fb9 - languageName: node - linkType: hard - -"update-browserslist-db@npm:^1.1.0": - version: 1.1.0 - resolution: "update-browserslist-db@npm:1.1.0" +"update-browserslist-db@npm:^1.1.1": + version: 1.1.3 + resolution: "update-browserslist-db@npm:1.1.3" dependencies: - escalade: ^3.1.2 - picocolors: ^1.0.1 + escalade: ^3.2.0 + picocolors: ^1.1.1 peerDependencies: browserslist: ">= 4.21.0" bin: update-browserslist-db: cli.js - checksum: 7b74694d96f0c360f01b702e72353dc5a49df4fe6663d3ee4e5c628f061576cddf56af35a3a886238c01dd3d8f231b7a86a8ceaa31e7a9220ae31c1c1238e562 + checksum: 7b6d8d08c34af25ee435bccac542bedcb9e57c710f3c42421615631a80aa6dd28b0a81c9d2afbef53799d482fb41453f714b8a7a0a8003e3b4ec8fb1abb819af languageName: node linkType: hard -"update-notifier@npm:6.0.2": - version: 6.0.2 - resolution: "update-notifier@npm:6.0.2" - dependencies: - boxen: ^7.0.0 - chalk: ^5.0.1 - configstore: ^6.0.0 - has-yarn: ^3.0.0 - import-lazy: ^4.0.0 - is-ci: ^3.0.1 - is-installed-globally: ^0.4.0 +"update-notifier@npm:7.3.1": + version: 7.3.1 + resolution: "update-notifier@npm:7.3.1" + dependencies: + boxen: ^8.0.1 + chalk: ^5.3.0 + configstore: ^7.0.0 + is-in-ci: ^1.0.0 + is-installed-globally: ^1.0.0 is-npm: ^6.0.0 - is-yarn-global: ^0.4.0 - latest-version: ^7.0.0 + latest-version: ^9.0.0 pupa: ^3.1.0 - semver: ^7.3.7 - semver-diff: ^4.0.0 + semver: ^7.6.3 xdg-basedir: ^5.1.0 - checksum: 4bae7b3eca7b2068b6b87dde88c9dad24831fa913a5b83ecb39a7e4702c93e8b05fd9bcac5f1a005178f6e5dc859e0b3817ddda833d2a7ab92c6485e078b3cc8 + checksum: d639bcbbd432c7e653ef79d684a8b2a4472a1894333647d658b8046143cef613f2608b5314e60327928e4744e64330a03c8a6d1b494543184c0699dd6c61915e languageName: node linkType: hard @@ -13007,15 +12557,6 @@ __metadata: languageName: node linkType: hard -"uuid@npm:^10.0.0": - version: 10.0.0 - resolution: "uuid@npm:10.0.0" - bin: - uuid: dist/bin/uuid - checksum: 4b81611ade2885d2313ddd8dc865d93d8dccc13ddf901745edca8f86d99bc46d7a330d678e7532e7ebf93ce616679fb19b2e3568873ac0c14c999032acb25869 - languageName: node - linkType: hard - "v8-compile-cache-lib@npm:^3.0.1": version: 3.0.1 resolution: "v8-compile-cache-lib@npm:3.0.1" @@ -13034,7 +12575,7 @@ __metadata: languageName: node linkType: hard -"validate-npm-package-license@npm:^3.0.1": +"validate-npm-package-license@npm:^3.0.1, validate-npm-package-license@npm:^3.0.4": version: 3.0.4 resolution: "validate-npm-package-license@npm:3.0.4" dependencies: @@ -13058,18 +12599,6 @@ __metadata: languageName: node linkType: hard -"vm2@npm:^3.9.19": - version: 3.9.19 - resolution: "vm2@npm:3.9.19" - dependencies: - acorn: ^8.7.0 - acorn-walk: ^8.2.0 - bin: - vm2: bin/vm2 - checksum: fc6cf553134145cd7bb5246985bf242b056e3fb5ea71e2eef6710b2a5d6c6119cc6bc960435ff62480ee82efb43369be8f4db07b6690916ae7d3b2e714f395d8 - languageName: node - linkType: hard - "walker@npm:^1.0.7, walker@npm:^1.0.8": version: 1.0.8 resolution: "walker@npm:1.0.8" @@ -13088,20 +12617,6 @@ __metadata: languageName: node linkType: hard -"web-streams-polyfill@npm:^3.0.3": - version: 3.3.3 - resolution: "web-streams-polyfill@npm:3.3.3" - checksum: 21ab5ea08a730a2ef8023736afe16713b4f2023ec1c7085c16c8e293ee17ed085dff63a0ad8722da30c99c4ccbd4ccd1b2e79c861829f7ef2963d7de7004c2cb - languageName: node - linkType: hard - -"webidl-conversions@npm:^3.0.0": - version: 3.0.1 - resolution: "webidl-conversions@npm:3.0.1" - checksum: c92a0a6ab95314bde9c32e1d0a6dfac83b578f8fa5f21e675bc2706ed6981bc26b7eb7e6a1fab158e5ce4adf9caa4a0aee49a52505d4d13c7be545f15021b17c - languageName: node - linkType: hard - "whatwg-fetch@npm:^3.0.0": version: 3.6.20 resolution: "whatwg-fetch@npm:3.6.20" @@ -13109,46 +12624,44 @@ __metadata: languageName: node linkType: hard -"whatwg-url@npm:^5.0.0": - version: 5.0.0 - resolution: "whatwg-url@npm:5.0.0" - dependencies: - tr46: ~0.0.3 - webidl-conversions: ^3.0.0 - checksum: b8daed4ad3356cc4899048a15b2c143a9aed0dfae1f611ebd55073310c7b910f522ad75d727346ad64203d7e6c79ef25eafd465f4d12775ca44b90fa82ed9e2c +"when-exit@npm:^2.1.1": + version: 2.1.4 + resolution: "when-exit@npm:2.1.4" + checksum: d77635a0ed43bb63b3b41930637db16fb1e4e8630f5c6efd4aa669322c32b36ba750b7484991f806d3ac56f4e21cdf3925f82fff289b90706cc21e6745038a26 languageName: node linkType: hard -"which-boxed-primitive@npm:^1.0.2": - version: 1.0.2 - resolution: "which-boxed-primitive@npm:1.0.2" +"which-boxed-primitive@npm:^1.1.0, which-boxed-primitive@npm:^1.1.1": + version: 1.1.1 + resolution: "which-boxed-primitive@npm:1.1.1" dependencies: - is-bigint: ^1.0.1 - is-boolean-object: ^1.1.0 - is-number-object: ^1.0.4 - is-string: ^1.0.5 - is-symbol: ^1.0.3 - checksum: 53ce774c7379071729533922adcca47220228405e1895f26673bbd71bdf7fb09bee38c1d6399395927c6289476b5ae0629863427fd151491b71c4b6cb04f3a5e + is-bigint: ^1.1.0 + is-boolean-object: ^1.2.1 + is-number-object: ^1.1.1 + is-string: ^1.1.1 + is-symbol: ^1.1.1 + checksum: ee41d0260e4fd39551ad77700c7047d3d281ec03d356f5e5c8393fe160ba0db53ef446ff547d05f76ffabfd8ad9df7c9a827e12d4cccdbc8fccf9239ff8ac21e languageName: node linkType: hard -"which-builtin-type@npm:^1.1.3": - version: 1.1.4 - resolution: "which-builtin-type@npm:1.1.4" +"which-builtin-type@npm:^1.2.1": + version: 1.2.1 + resolution: "which-builtin-type@npm:1.2.1" dependencies: + call-bound: ^1.0.2 function.prototype.name: ^1.1.6 has-tostringtag: ^1.0.2 is-async-function: ^2.0.0 - is-date-object: ^1.0.5 - is-finalizationregistry: ^1.0.2 + is-date-object: ^1.1.0 + is-finalizationregistry: ^1.1.0 is-generator-function: ^1.0.10 - is-regex: ^1.1.4 + is-regex: ^1.2.1 is-weakref: ^1.0.2 isarray: ^2.0.5 - which-boxed-primitive: ^1.0.2 + which-boxed-primitive: ^1.1.0 which-collection: ^1.0.2 - which-typed-array: ^1.1.15 - checksum: 1f413025250072534de2a2ee25139a24d477512b532b05c85fb9aa05aef04c6e1ca8e2668acf971b777e602721dbdec4b9d6a4f37c6b9ff8f026ad030352707f + which-typed-array: ^1.1.16 + checksum: 7a3617ba0e7cafb795f74db418df889867d12bce39a477f3ee29c6092aa64d396955bf2a64eae3726d8578440e26777695544057b373c45a8bcf5fbe920bf633 languageName: node linkType: hard @@ -13171,16 +12684,17 @@ __metadata: languageName: node linkType: hard -"which-typed-array@npm:^1.1.14, which-typed-array@npm:^1.1.15": - version: 1.1.15 - resolution: "which-typed-array@npm:1.1.15" +"which-typed-array@npm:^1.1.16, which-typed-array@npm:^1.1.18": + version: 1.1.18 + resolution: "which-typed-array@npm:1.1.18" dependencies: available-typed-arrays: ^1.0.7 - call-bind: ^1.0.7 + call-bind: ^1.0.8 + call-bound: ^1.0.3 for-each: ^0.3.3 - gopd: ^1.0.1 + gopd: ^1.2.0 has-tostringtag: ^1.0.2 - checksum: 65227dcbfadf5677aacc43ec84356d17b5500cb8b8753059bb4397de5cd0c2de681d24e1a7bd575633f976a95f88233abfd6549c2105ef4ebd58af8aa1807c75 + checksum: d2feea7f51af66b3a240397aa41c796585033e1069f18e5b6d4cd3878538a1e7780596fd3ea9bf347c43d9e98e13be09b37d9ea3887cef29b11bc291fd47bb52 languageName: node linkType: hard @@ -13195,30 +12709,30 @@ __metadata: languageName: node linkType: hard -"which@npm:^4.0.0": - version: 4.0.0 - resolution: "which@npm:4.0.0" +"which@npm:^5.0.0": + version: 5.0.0 + resolution: "which@npm:5.0.0" dependencies: isexe: ^3.1.1 bin: node-which: bin/which.js - checksum: f17e84c042592c21e23c8195108cff18c64050b9efb8459589116999ea9da6dd1509e6a1bac3aeebefd137be00fabbb61b5c2bc0aa0f8526f32b58ee2f545651 + checksum: 6ec99e89ba32c7e748b8a3144e64bfc74aa63e2b2eacbb61a0060ad0b961eb1a632b08fb1de067ed59b002cec3e21de18299216ebf2325ef0f78e0f121e14e90 languageName: node linkType: hard -"widest-line@npm:^4.0.1": - version: 4.0.1 - resolution: "widest-line@npm:4.0.1" +"widest-line@npm:^5.0.0": + version: 5.0.0 + resolution: "widest-line@npm:5.0.0" dependencies: - string-width: ^5.0.1 - checksum: 64c48cf27171221be5f86fc54b94dd29879165bdff1a7aa92dde723d9a8c99fb108312768a5d62c8c2b80b701fa27bbd36a1ddc58367585cd45c0db7920a0cba + string-width: ^7.0.0 + checksum: 07f6527b961b88d40ac250596c06fada00cbe049080c6cc8ef4d7bc4f4ab03d7eb1a1c2e5585dd0d8b6ec99ba6f168d5b236edd8ba9221aeb8d914451f0235f9 languageName: node linkType: hard -"wildcard-match@npm:5.1.2": - version: 5.1.2 - resolution: "wildcard-match@npm:5.1.2" - checksum: d39ea5dcb807e9c515092adbb54c9a03743c9310e875919da5c25f268ed0c566a391c4afdca876e25d836fbbf5a71ce4a6e68ad034c24ce9751b5b60b4683bb9 +"wildcard-match@npm:5.1.4": + version: 5.1.4 + resolution: "wildcard-match@npm:5.1.4" + checksum: 96e8c13f26b7ae508c694ceb6721640707df55f22045870fbd3b7d8f58529d3616e8e59fb6992524db5e8b323c9fe7c3e92d92b5ae36707529d1f4f170c00e23 languageName: node linkType: hard @@ -13231,7 +12745,7 @@ __metadata: languageName: node linkType: hard -"word-wrap@npm:^1.2.5, word-wrap@npm:~1.2.3": +"word-wrap@npm:^1.2.5": version: 1.2.5 resolution: "word-wrap@npm:1.2.5" checksum: f93ba3586fc181f94afdaff3a6fef27920b4b6d9eaefed0f428f8e07adea2a7f54a5f2830ce59406c8416f033f86902b91eb824072354645eea687dff3691ccb @@ -13256,7 +12770,7 @@ __metadata: languageName: node linkType: hard -"wrap-ansi@npm:^6.0.1, wrap-ansi@npm:^6.2.0": +"wrap-ansi@npm:^6.2.0": version: 6.2.0 resolution: "wrap-ansi@npm:6.2.0" dependencies: @@ -13278,33 +12792,21 @@ __metadata: languageName: node linkType: hard -"wrappy@npm:1": - version: 1.0.2 - resolution: "wrappy@npm:1.0.2" - checksum: 159da4805f7e84a3d003d8841557196034155008f817172d4e986bd591f74aa82aa7db55929a54222309e01079a65a92a9e6414da5a6aa4b01ee44a511ac3ee5 - languageName: node - linkType: hard - -"write-file-atomic@npm:^2.3.0": - version: 2.4.3 - resolution: "write-file-atomic@npm:2.4.3" +"wrap-ansi@npm:^9.0.0": + version: 9.0.0 + resolution: "wrap-ansi@npm:9.0.0" dependencies: - graceful-fs: ^4.1.11 - imurmurhash: ^0.1.4 - signal-exit: ^3.0.2 - checksum: 2db81f92ae974fd87ab4a5e7932feacaca626679a7c98fcc73ad8fcea5a1950eab32fa831f79e9391ac99b562ca091ad49be37a79045bd65f595efbb8f4596ae + ansi-styles: ^6.2.1 + string-width: ^7.0.0 + strip-ansi: ^7.1.0 + checksum: b2d43b76b3d8dcbdd64768165e548aad3e54e1cae4ecd31bac9966faaa7cf0b0345677ad6879db10ba58eb446ba8fa44fb82b4951872fd397f096712467a809f languageName: node linkType: hard -"write-file-atomic@npm:^3.0.3": - version: 3.0.3 - resolution: "write-file-atomic@npm:3.0.3" - dependencies: - imurmurhash: ^0.1.4 - is-typedarray: ^1.0.0 - signal-exit: ^3.0.2 - typedarray-to-buffer: ^3.1.5 - checksum: c55b24617cc61c3a4379f425fc62a386cc51916a9b9d993f39734d005a09d5a4bb748bc251f1304e7abd71d0a26d339996c275955f527a131b1dcded67878280 +"wrappy@npm:1": + version: 1.0.2 + resolution: "wrappy@npm:1.0.2" + checksum: 159da4805f7e84a3d003d8841557196034155008f817172d4e986bd591f74aa82aa7db55929a54222309e01079a65a92a9e6414da5a6aa4b01ee44a511ac3ee5 languageName: node linkType: hard @@ -13318,7 +12820,17 @@ __metadata: languageName: node linkType: hard -"ws@npm:^6.2.2, ws@npm:^6.2.3": +"write-file-atomic@npm:^5.0.1": + version: 5.0.1 + resolution: "write-file-atomic@npm:5.0.1" + dependencies: + imurmurhash: ^0.1.4 + signal-exit: ^4.0.1 + checksum: 8dbb0e2512c2f72ccc20ccedab9986c7d02d04039ed6e8780c987dc4940b793339c50172a1008eed7747001bfacc0ca47562668a069a7506c46c77d7ba3926a9 + languageName: node + linkType: hard + +"ws@npm:^6.2.3": version: 6.2.3 resolution: "ws@npm:6.2.3" dependencies: @@ -13342,7 +12854,7 @@ __metadata: languageName: node linkType: hard -"xdg-basedir@npm:^5.0.1, xdg-basedir@npm:^5.1.0": +"xdg-basedir@npm:^5.1.0": version: 5.1.0 resolution: "xdg-basedir@npm:5.1.0" checksum: b60e8a2c663ccb1dac77c2d913f3b96de48dafbfa083657171d3d50e10820b8a04bb4edfe9f00808c8c20e5f5355e1927bea9029f03136e29265cb98291e1fea @@ -13384,12 +12896,19 @@ __metadata: languageName: node linkType: hard +"yallist@npm:^5.0.0": + version: 5.0.0 + resolution: "yallist@npm:5.0.0" + checksum: eba51182400b9f35b017daa7f419f434424410691bbc5de4f4240cc830fdef906b504424992700dc047f16b4d99100a6f8b8b11175c193f38008e9c96322b6a5 + languageName: node + linkType: hard + "yaml@npm:^2.2.1": - version: 2.5.0 - resolution: "yaml@npm:2.5.0" + version: 2.7.0 + resolution: "yaml@npm:2.7.0" bin: yaml: bin.mjs - checksum: a116dca5c61641d9bf1f1016c6e71daeb1ed4915f5930ed237d45ab7a605aa5d92c332ff64879a6cd088cabede008c778774e3060ffeb4cd617d28088e4b2d83 + checksum: 6e8b2f9b9d1b18b10274d58eb3a47ec223d9a93245a890dcb34d62865f7e744747190a9b9177d5f0ef4ea2e44ad2c0214993deb42e0800766203ac46f00a12dd languageName: node linkType: hard @@ -13410,7 +12929,7 @@ __metadata: languageName: node linkType: hard -"yargs-parser@npm:^20.2.2, yargs-parser@npm:^20.2.3, yargs-parser@npm:^20.2.9": +"yargs-parser@npm:^20.2.3, yargs-parser@npm:^20.2.9": version: 20.2.9 resolution: "yargs-parser@npm:20.2.9" checksum: 8bb69015f2b0ff9e17b2c8e6bfe224ab463dd00ca211eece72a4cd8a906224d2703fb8a326d36fdd0e68701e201b2a60ed7cf81ce0fd9b3799f9fe7745977ae3 @@ -13436,21 +12955,6 @@ __metadata: languageName: node linkType: hard -"yargs@npm:^16.2.0": - version: 16.2.0 - resolution: "yargs@npm:16.2.0" - dependencies: - cliui: ^7.0.2 - escalade: ^3.1.1 - get-caller-file: ^2.0.5 - require-directory: ^2.1.1 - string-width: ^4.2.0 - y18n: ^5.0.5 - yargs-parser: ^20.2.2 - checksum: b14afbb51e3251a204d81937c86a7e9d4bdbf9a2bcee38226c900d00f522969ab675703bee2a6f99f8e20103f608382936034e64d921b74df82b63c07c5e8f59 - languageName: node - linkType: hard - "yargs@npm:^17.0.0, yargs@npm:^17.3.1, yargs@npm:^17.5.1, yargs@npm:^17.6.2": version: 17.7.2 resolution: "yargs@npm:17.7.2" @@ -13479,3 +12983,10 @@ __metadata: checksum: f77b3d8d00310def622123df93d4ee654fc6a0096182af8bd60679ddcdfb3474c56c6c7190817c84a2785648cdee9d721c0154eb45698c62176c322fb46fc700 languageName: node linkType: hard + +"yoctocolors-cjs@npm:^2.1.1": + version: 2.1.2 + resolution: "yoctocolors-cjs@npm:2.1.2" + checksum: 1c474d4b30a8c130e679279c5c2c33a0d48eba9684ffa0252cc64846c121fb56c3f25457fef902edbe1e2d7a7872130073a9fc8e795299d75e13fa3f5f548f1b + languageName: node + linkType: hard