diff --git a/.envrc b/.envrc index a49e76f13de..a399ff6636e 100644 --- a/.envrc +++ b/.envrc @@ -1,12 +1,7 @@ #! /bin/sh -# shellcheck disable=SC1090 -source "$( - fetchurl "https://raw.githubusercontent.com/paisano-nix/direnv/main/lib" "sha256-IgQhKK7UHL1AfCUntJO2KCaIDJQotRnK2qC4Daxk+wI=" -)" - export K8S_USER=eks-devs -use envreload //local/envs/main +use flake source_env_if_exists .envrc.local diff --git a/.envrc.local.example b/.envrc.local.example index ec0787b621a..ed8a5c35976 100644 --- a/.envrc.local.example +++ b/.envrc.local.example @@ -1,5 +1,6 @@ - +# Should be `eks-devs` for developers/QA export K8S_USER=eks-devs + export AWS_ACCESS_KEY_ID=xxxxxxxxxxxxxxxxxxxx export AWS_SECRET_ACCESS_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx diff --git a/.github/workflows/continuous-integration-e2e.yaml b/.github/workflows/continuous-integration-e2e.yaml index 8599e6aa448..46bf24c5e84 100644 --- a/.github/workflows/continuous-integration-e2e.yaml +++ b/.github/workflows/continuous-integration-e2e.yaml @@ -51,7 +51,10 @@ jobs: - name: 🔨 Build run: | yarn install --immutable --inline-builds --mode=skip-build - yarn build:cjs + yarn workspace @cardano-sdk/cardano-services-client build:cjs + yarn workspace @cardano-sdk/cardano-services build:cjs + yarn workspace @cardano-sdk/e2e build:cjs + yarn workspace @cardano-sdk/util-dev build:cjs docker build --no-cache . env: NODE_OPTIONS: '--max_old_space_size=8192' diff --git a/.github/workflows/k6-web-socket.yaml b/.github/workflows/k6-web-socket.yaml new file mode 100644 index 00000000000..188202182b9 --- /dev/null +++ b/.github/workflows/k6-web-socket.yaml @@ -0,0 +1,11 @@ +name: K6 WebSocket server load tests + +on: + workflow_dispatch: + +jobs: + web-socket: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 diff --git a/.github/workflows/std.yml b/.github/workflows/std.yml index 99ae85e04bb..d32a98af177 100644 --- a/.github/workflows/std.yml +++ b/.github/workflows/std.yml @@ -215,7 +215,7 @@ jobs: run: | echo 'export K8S_USER=eks-devs' >.envrc.local - nix develop .#x86_64-linux.local.envs.main -L --command bash -c ' + nix develop -L --command bash -c ' set -euo pipefail export AWS_PROFILE="lw" @@ -323,7 +323,7 @@ jobs: run: | echo 'export K8S_USER=eks-devs' >.envrc.local - nix develop .#x86_64-linux.local.envs.main -L --command bash -c ' + nix develop -L --command bash -c ' set -euo pipefail export AWS_PROFILE="lw" diff --git a/Dockerfile b/Dockerfile index 1e40faa5e64..023b6471a84 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,11 +16,16 @@ RUN \ apt-get install nodejs -y &&\ apt-get install -y --no-install-recommends ca-certificates jq postgresql-client -FROM ubuntu-nodejs as nodejs-builder +FROM ubuntu-nodejs as cardano-services + +ARG NETWORK=mainnet +ENV NETWORK=${NETWORK} + RUN \ curl --proto '=https' --tlsv1.2 -sSf -L https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - &&\ echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list &&\ apt-get update && apt-get install yarn -y +COPY packages/cardano-services/config/network/${NETWORK} /config/ WORKDIR /app COPY build build COPY packages/cardano-services/package.json packages/cardano-services/package.json @@ -47,53 +52,16 @@ COPY packages/web-extension/package.json packages/web-extension/package.json COPY scripts scripts COPY .yarn .yarn COPY .eslintrc.js .prettierrc .yarnrc.yml complete.eslintrc.js eslint.tsconfig.json package.json tsconfig.json yarn.lock yarn-project.nix ./ - -FROM nodejs-builder as cardano-services-builder -# NOTE: Pay attention to --mode=skip-build -# For details: https://github.com/input-output-hk/cardano-js-sdk/pull/1024 -RUN yarn --immutable --inline-builds --mode=skip-build -COPY packages packages -RUN \ - yarn workspace @cardano-sdk/cardano-services build &&\ - yarn workspace @cardano-sdk/cardano-services-client build - -FROM nodejs-builder as cardano-services RUN yarn workspaces focus --all --production -COPY --from=cardano-services-builder /app/scripts /app/scripts -COPY --from=cardano-services-builder /app/packages/cardano-services/dist /app/packages/cardano-services/dist -COPY --from=cardano-services-builder /app/packages/cardano-services/package.json /app/packages/cardano-services/package.json -COPY --from=cardano-services-builder /app/packages/cardano-services-client/dist /app/packages/cardano-services-client/dist -COPY --from=cardano-services-builder /app/packages/cardano-services-client/package.json /app/packages/cardano-services-client/package.json -COPY --from=cardano-services-builder /app/packages/core/dist /app/packages/core/dist -COPY --from=cardano-services-builder /app/packages/core/package.json /app/packages/core/package.json -COPY --from=cardano-services-builder /app/packages/crypto/dist /app/packages/crypto/dist -COPY --from=cardano-services-builder /app/packages/crypto/package.json /app/packages/crypto/package.json -COPY --from=cardano-services-builder /app/packages/ogmios/dist /app/packages/ogmios/dist -COPY --from=cardano-services-builder /app/packages/ogmios/package.json /app/packages/ogmios/package.json -COPY --from=cardano-services-builder /app/packages/projection/dist /app/packages/projection/dist -COPY --from=cardano-services-builder /app/packages/projection/package.json /app/packages/projection/package.json -COPY --from=cardano-services-builder /app/packages/projection-typeorm/dist /app/packages/projection-typeorm/dist -COPY --from=cardano-services-builder /app/packages/projection-typeorm/package.json /app/packages/projection-typeorm/package.json -COPY --from=cardano-services-builder /app/packages/util/dist /app/packages/util/dist -COPY --from=cardano-services-builder /app/packages/util/package.json /app/packages/util/package.json -COPY --from=cardano-services-builder /app/packages/util-rxjs/dist /app/packages/util-rxjs/dist -COPY --from=cardano-services-builder /app/packages/util-rxjs/package.json /app/packages/util-rxjs/package.json FROM cardano-services as provider-server -ARG NETWORK=mainnet -ENV \ - CARDANO_NODE_CONFIG_PATH=/config/cardano-node/config.json \ - NETWORK=${NETWORK} WORKDIR /app/packages/cardano-services -COPY packages/cardano-services/config/network/${NETWORK} /config/ -EXPOSE 3000 -HEALTHCHECK --interval=15s --timeout=15s \ - CMD curl --fail --silent -H 'Origin: http://0.0.0.0:3000' http://0.0.0.0:3000/v1.0.0/health | jq '.ok' | awk '{ if ($0 == "true") exit 0; else exit 1}' || exit 1 -CMD ["node", "dist/cjs/cli.js", "start-provider-server"] +HEALTHCHECK --interval=15s --timeout=15s CMD curl --fail --silent http://0.0.0.0:3000/health | jq '.ok' | awk '{ if ($0 == "true") exit 0; else exit 1}' || exit 1 +CMD ["bash", "-c", "../../node_modules/.bin/tsx watch --clear-screen=false --conditions=development src/cli start-provider-server"] FROM cardano-services as worker WORKDIR /app/packages/cardano-services -CMD ["node", "dist/cjs/cli.js", "start-worker"] +CMD ["bash", "-c", "../../node_modules/.bin/tsx watch --clear-screen=false --conditions=development src/cli start-worker"] FROM cardano-services as blockfrost-worker ENV \ @@ -105,7 +73,7 @@ ENV \ POSTGRES_PORT_DB_SYNC=5432 \ POSTGRES_USER_FILE_DB_SYNC=/run/secrets/postgres_user WORKDIR /app/packages/cardano-services -CMD ["node", "dist/cjs/cli.js", "start-blockfrost-worker"] +CMD ["bash", "-c", "../../node_modules/.bin/tsx watch --clear-screen=false --conditions=development src/cli start-blockfrost-worker"] FROM cardano-services as pg-boss-worker WORKDIR /config @@ -113,7 +81,7 @@ COPY compose/schedules.json . ENV SCHEDULES=/config/schedules.json WORKDIR /app/packages/cardano-services HEALTHCHECK CMD curl --fail --silent http://localhost:3003/v1.0.0/health -CMD ["node", "dist/cjs/cli.js", "start-pg-boss-worker"] +CMD ["bash", "-c", "../../node_modules/.bin/tsx watch --clear-screen=false --conditions=development src/cli start-pg-boss-worker"] FROM cardano-services as projector WORKDIR / diff --git a/compose/common.yml b/compose/common.yml index aed6263a6e6..ba483dd3fe7 100644 --- a/compose/common.yml +++ b/compose/common.yml @@ -4,6 +4,8 @@ x-from-sdk: &from-sdk timeout: 5s retries: 10 restart: on-failure + volumes: + - ../..:/app x-logging: &logging logging: @@ -56,6 +58,7 @@ x-projector-environment: &projector-environment x-provider-server-environment: &provider-server-environment API_URL: http://0.0.0.0:3000 + CARDANO_NODE_CONFIG_PATH: /config/cardano-node/config.json DB_CACHE_TTL: ${DB_CACHE_TTL:-120} DISABLE_DB_CACHE: ${DISABLE_DB_CACHE:-false} DISABLE_STAKE_POOL_METRIC_APY: ${DISABLE_STAKE_POOL_METRIC_APY:-false} @@ -165,7 +168,16 @@ services: <<: *logging image: cardanosolutions/ogmios:v${OGMIOS_VERSION:-6.3.0} command: - ['--host', '0.0.0.0', '--node-socket', '/ipc/node.socket', '--node-config', '/config/cardano-node/config.json'] + [ + '--host', + '0.0.0.0', + '--node-socket', + '/ipc/node.socket', + '--node-config', + '/config/cardano-node/config.json', + '--log-level-websocket', + 'Warning' + ] depends_on: cardano-node: condition: service_started @@ -298,6 +310,9 @@ services: - *logging - *provider-server - *with-postgres + depends_on: + stake-pool-projector: + condition: service_healthy environment: <<: - *sdk-environment @@ -313,6 +328,9 @@ services: - *logging - *provider-server - *with-postgres + depends_on: + asset-projector: + condition: service_healthy environment: <<: - *sdk-environment @@ -328,6 +346,9 @@ services: - *logging - *provider-server - *with-postgres + depends_on: + handle-projector: + condition: service_healthy environment: <<: - *sdk-environment diff --git a/compose/dev.yml b/compose/dev.yml deleted file mode 100644 index eca8b74dbd8..00000000000 --- a/compose/dev.yml +++ /dev/null @@ -1,34 +0,0 @@ -version: '3.9' - -services: - asset-projector: - volumes: - - ../..:/app - - asset-provider-server: - volumes: - - ../..:/app - - pg-boss-worker: - volumes: - - ../..:/app - - handle-projector: - volumes: - - ../..:/app - - provider-server: - volumes: - - ../..:/app - - stake-pool-projector: - volumes: - - ../..:/app - - stake-pool-provider-server: - volumes: - - ../..:/app - - handle-provider-server: - volumes: - - ../..:/app diff --git a/compose/projector/init.sh b/compose/projector/init.sh index f39734d9714..ae2ab371449 100644 --- a/compose/projector/init.sh +++ b/compose/projector/init.sh @@ -26,7 +26,7 @@ _term() { trap _term SIGTERM cd /app/packages/cardano-services -node dist/cjs/cli.js start-projector & +../../node_modules/.bin/tsx watch --clear-screen=false --conditions=development src/cli start-projector & CHILD=$! wait "$CHILD" diff --git a/flake.nix b/flake.nix index 96bd7d433ce..711024f601e 100644 --- a/flake.nix +++ b/flake.nix @@ -1,4 +1,6 @@ { + description = "Cardano JS SDK"; + inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; flake-parts.url = "github:hercules-ci/flake-parts"; @@ -19,31 +21,36 @@ }; }; + # --- Flake Local Nix Configuration ---------------------------- + nixConfig = { + # still used by single-user-mode (e.g. ci) + extra-substituters = [ + "https://cache.iog.io" + "s3://lace-nix-cache?region=us-east-1" + ]; + allow-import-from-derivation = "true"; + }; + # -------------------------------------------------------------- + outputs = { std, + self, nix-helm, + devshell, ... } @ inputs: inputs.flake-parts.lib.mkFlake {inherit inputs;} { - imports = with inputs; [ + imports = [ std.flakeModule devshell.flakeModule + ./nix/local/envs.nix ]; - systems = ["x86_64-linux"]; - - perSystem = { - pkgs, - system, - ... - }: { - legacyPackages.cardano-services = import ./nix/cardano-services/deployments {inherit pkgs nix-helm inputs;}; - }; + systems = ["x86_64-linux" "aarch64-linux" "aarch64-darwin"]; - std.grow = { + std.grow = with inputs; { cellsFrom = ./nix; cellBlocks = with std.blockTypes; [ # Software Delivery Lifecycle (Local Development Environment) - (devshells "envs") (runnables "jobs") # Software Delivery Lifecycle (Packaging Layers) # For deeper context, please consult: @@ -53,5 +60,19 @@ (containers "oci-images" {ci.publish = true;}) ]; }; + + std.harvest = { + packages = [["local" "packages"] ["local" "jobs"]]; + devShells = [["local" "envs"] ["desktop" "envs"]]; + hydraJobs = ["desktop" "hydraJobs"]; + }; + + perSystem = { + pkgs, + system, + ... + }: { + legacyPackages.cardano-services = import ./nix/cardano-services/deployments {inherit pkgs nix-helm inputs;}; + }; }; } diff --git a/nix/cardano-services/deployments/default.nix b/nix/cardano-services/deployments/default.nix index e35e0c188e1..e996524f753 100644 --- a/nix/cardano-services/deployments/default.nix +++ b/nix/cardano-services/deployments/default.nix @@ -354,7 +354,7 @@ in projectors = { handle.enabled = true; stake-pool.enabled = true; - # asset.enabled = true; + asset.enabled = true; }; values = { @@ -479,7 +479,7 @@ in projectors = { handle.enabled = true; stake-pool.enabled = true; - # asset.enabled = true; + asset.enabled = true; }; values = { diff --git a/nix/cardano-services/oci-images.nix b/nix/cardano-services/oci-images.nix index 5394c6cdfc5..9fc816a7aca 100644 --- a/nix/cardano-services/oci-images.nix +++ b/nix/cardano-services/oci-images.nix @@ -20,7 +20,7 @@ let } ] '' mkdir -p $out/config - cp ${builtins.path { path = self + "/compose/schedules.json"; }} $out/config/schedules.json; + cp ${builtins.path {path = self + "/compose/schedules.json";}} $out/config/schedules.json; ''; in { cardano-services = std.lib.ops.mkStandardOCI { diff --git a/nix/local/envs.nix b/nix/local/envs.nix index b0af387bce8..c8e22a386f5 100644 --- a/nix/local/envs.nix +++ b/nix/local/envs.nix @@ -1,85 +1,70 @@ -let - inherit (inputs.nixpkgs) lib; - inherit - (inputs.nixpkgs) - alejandra - git-subrepo - k9s - nodejs - shfmt - treefmt - yarn - yq-go - ; - inherit (inputs.std.lib.dev) mkShell; - inherit (inputs.std.std.cli) std; +{ + lib, + inputs, + ... +}: { + perSystem = { + pkgs, + system, + ... + }: let + mkK9sCommand = region: { + command = '' + if [ -z "$K8S_USER" ]; then + echo "To use this command you must set K8S_USER in $PRJ_ROOT/.access.local. See Readme." + else + ${pkgs.k9s}/bin/k9s --kubeconfig $PRJ_ROOT/.kube/${region} $@ + fi + ''; + name = "k9s-${region}"; + category = "direct access"; + }; + in { + devshells.default = { + name = "Cardano JS SDK Local Env"; - inherit (lib.stringsWithDeps) noDepEntry; + packages = with pkgs; [ + awscli2 + just + kubectl + netcat + postgresql_14 + tmate + alejandra + git-subrepo + nodejs + shfmt + yq-go + ]; - formattingModule = { - commands = [{package = treefmt;}]; - packages = [ - alejandra - git-subrepo - nodejs - shfmt - yq-go - ]; - }; - mkK9sCommand = region: { - command = '' - if [ -z "$K8S_USER" ]; then - echo "To use this command you must set K8S_USER in $PRJ_ROOT/.access.local. See Readme." - else - ${k9s}/bin/k9s --kubeconfig $PRJ_ROOT/.kube/${region} $@ - fi - ''; - name = "k9s-${region}"; - category = "direct access"; - }; -in { - checks = mkShell { - imports = [formattingModule]; - }; - main = mkShell { - name = "Cardano JS SDK Local Env"; - imports = [formattingModule]; - - packages = with inputs.nixpkgs; [ - awscli2 - just - kubectl - netcat - postgresql_14 - tmate - ]; - - env = with inputs.nixpkgs; [ - { - name = "LD_LIBRARY_PATH"; - value = lib.makeLibraryPath [udev]; - } - { - name = "KUBECONFIG"; - eval = "$PRJ_ROOT/.kube/us-east-1"; - } - ]; + env = with pkgs; [ + { + name = "LD_LIBRARY_PATH"; + value = lib.makeLibraryPath [udev]; + } + { + name = "KUBECONFIG"; + eval = "$PRJ_ROOT/.kube/us-east-1"; + } + ]; - commands = [ - {package = std;} - {package = yarn;} - {package = k9s;} - (mkK9sCommand "us-east-1") - (mkK9sCommand "us-east-2") - (mkK9sCommand "eu-central-1") - ]; + commands = [ + {package = pkgs.treefmt;} + {package = inputs.std.packages.${system}.std;} + {package = pkgs.yarn;} + {package = pkgs.k9s;} + (mkK9sCommand "us-east-1") + (mkK9sCommand "us-east-2") + (mkK9sCommand "eu-central-1") + ]; - devshell.startup.setup.text = '' - [ -e $PRJ_ROOT/.envrc.local ] && source $PRJ_ROOT/.envrc.local - kubectl config use-context $K8S_USER - kubectl config use-context $K8S_USER --kubeconfig $PRJ_ROOT/.kube/us-east-2 - kubectl config use-context $K8S_USER --kubeconfig $PRJ_ROOT/.kube/eu-central-1 - chmod 600 $PRJ_ROOT/.kube/* - ''; + devshell.startup.setup.text = '' + [ -e $PRJ_ROOT/.envrc.local ] && source $PRJ_ROOT/.envrc.local + kubectl config use-context $K8S_USER + kubectl config use-context $K8S_USER --kubeconfig $PRJ_ROOT/.kube/us-east-2 + kubectl config use-context $K8S_USER --kubeconfig $PRJ_ROOT/.kube/eu-central-1 + chmod 600 $PRJ_ROOT/.kube/* + ''; + }; }; } diff --git a/package.json b/package.json index bc4fb888a32..78d6aa88cc3 100644 --- a/package.json +++ b/package.json @@ -28,8 +28,9 @@ "lint:fix": "yarn lint --fix", "config:update": "git subrepo pull packages/cardano-services/config --message='chore: git subrepo pull packages/cardano-services/config'", "tscNoEmit": "yarn workspaces foreach -v run tscNoEmit", - "prepare": "husky install", "pre-commit": "lint-staged", + "prepare": "husky install", + "prepublishOnly": "find . -type f -name package.json | grep -v node_modules | while read -r f ; do cat $f | jq 'del(.exports[\".\"].development)' > /tmp/package.json && mv /tmp/package.json $f; done", "version": "yarn install --mode=skip-build && git add yarn.lock yarn-project.nix", "publish:rc": "lerna publish --conventional-prerelease --allow-branch master --preid rc --pre-dist-tag rc --create-release github -m \"ci: publish rc packages [skip actions]\" --sign-git-commit", "publish:stable": "lerna publish --conventional-graduate --allow-branch master --create-release github -m \"ci: publish packages [skip actions]\" --sign-git-commit", @@ -86,6 +87,7 @@ "ts-node": "^10.0.0", "ts-node-dev": "^1.1.8", "tsc-alias": "^1.8.10", + "tsx": "^4.15.6", "typedoc": "^0.23.24", "typedoc-plugin-missing-exports": "^1.0.0", "typescript": "^4.7.4" diff --git a/packages/cardano-services-client/CHANGELOG.md b/packages/cardano-services-client/CHANGELOG.md index f05a8e85c50..73cb555311b 100644 --- a/packages/cardano-services-client/CHANGELOG.md +++ b/packages/cardano-services-client/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.19.12](https://github.com/input-output-hk/cardano-js-sdk/compare/@cardano-sdk/cardano-services-client@0.19.11...@cardano-sdk/cardano-services-client@0.19.12) (2024-07-11) + +**Note:** Version bump only for package @cardano-sdk/cardano-services-client + ## [0.19.11](https://github.com/input-output-hk/cardano-js-sdk/compare/@cardano-sdk/cardano-services-client@0.19.10...@cardano-sdk/cardano-services-client@0.19.11) (2024-07-10) **Note:** Version bump only for package @cardano-sdk/cardano-services-client diff --git a/packages/cardano-services-client/package.json b/packages/cardano-services-client/package.json index bab79ba8f7d..3a50f861b7d 100644 --- a/packages/cardano-services-client/package.json +++ b/packages/cardano-services-client/package.json @@ -1,6 +1,6 @@ { "name": "@cardano-sdk/cardano-services-client", - "version": "0.19.11", + "version": "0.19.12", "description": "Cardano Services Client", "engines": { "node": ">=16.20.2" @@ -9,6 +9,7 @@ "module": "dist/esm/index.js", "exports": { ".": { + "development": "./src/index.ts", "import": "./dist/esm/index.js", "require": "./dist/cjs/index.js" } diff --git a/packages/cardano-services/CHANGELOG.md b/packages/cardano-services/CHANGELOG.md index 12db574be22..22c927ff68f 100644 --- a/packages/cardano-services/CHANGELOG.md +++ b/packages/cardano-services/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.28.12](https://github.com/input-output-hk/cardano-js-sdk/compare/@cardano-sdk/cardano-services@0.28.11...@cardano-sdk/cardano-services@0.28.12) (2024-07-11) + +### Bug Fixes + +* **cardano-services:** add workaround for db-sync not projecting epoch 0 to db sync epoch monitor ([b792354](https://github.com/input-output-hk/cardano-js-sdk/commit/b7923545182ed006b68d32b9054ac2f9e91d0592)) + ## [0.28.11](https://github.com/input-output-hk/cardano-js-sdk/compare/@cardano-sdk/cardano-services@0.28.10...@cardano-sdk/cardano-services@0.28.11) (2024-07-10) ### Bug Fixes diff --git a/packages/cardano-services/dev.yml b/packages/cardano-services/dev.yml deleted file mode 100644 index 3fff78b615b..00000000000 --- a/packages/cardano-services/dev.yml +++ /dev/null @@ -1,6 +0,0 @@ -version: '3.9' - -services: - blockfrost-worker: - volumes: - - ../..:/app diff --git a/packages/cardano-services/docker-compose.yml b/packages/cardano-services/docker-compose.yml index d58bfc73565..debfc7fc5eb 100644 --- a/packages/cardano-services/docker-compose.yml +++ b/packages/cardano-services/docker-compose.yml @@ -53,6 +53,8 @@ services: - postgres_db_db_sync - postgres_password - postgres_user + volumes: + - ../..:/app handle-projector: environment: diff --git a/packages/cardano-services/package.json b/packages/cardano-services/package.json index c8829f19bf0..d61aaf8133e 100644 --- a/packages/cardano-services/package.json +++ b/packages/cardano-services/package.json @@ -1,6 +1,6 @@ { "name": "@cardano-sdk/cardano-services", - "version": "0.28.11", + "version": "0.28.12", "description": "Cardano GraphQL Services", "engines": { "node": ">=16.20.2" @@ -35,18 +35,14 @@ "lint": "eslint -c ../../complete.eslintrc.js \"src/**/*.ts\" \"test/**/*.ts\"", "lint:fix": "yarn lint --fix", "generate-migration": "typeorm-ts-node-commonjs migration:generate src/Projection/migrations/migrations -d src/migrationDataSource.ts", - "mainnet:dev": "FILES='-f ../../compose/dev.yml -f dev.yml' yarn mainnet:up", "mainnet:up": "NETWORK=mainnet SUBMIT_API_ARGS=--mainnet yarn compose:up", "mainnet:down": "NETWORK=mainnet yarn compose:down", "prepack": "yarn build", - "preprod:dev": "FILES='-f ../../compose/dev.yml -f dev.yml' yarn preprod:up", "preprod:up": "NETWORK=preprod SUBMIT_API_ARGS='--testnet-magic 1' yarn compose:up", "preprod:down": "NETWORK=preprod yarn compose:down", "pretest": "yarn build", - "preview:dev": "FILES='-f ../../compose/dev.yml -f dev.yml' yarn preview:up", "preview:up": "NETWORK=preview SUBMIT_API_ARGS='--testnet-magic 2' yarn compose:up", "preview:down": "NETWORK=preview yarn compose:down", - "sanchonet:dev": "FILES='-f ../../compose/dev.yml -f dev.yml' yarn sanchonet:up", "sanchonet:up": "NETWORK=sanchonet SUBMIT_API_ARGS='--testnet-magic 4' yarn compose:up", "sanchonet:down": "NETWORK=sanchonet yarn compose:down", "test": "jest --runInBand -c ./jest.config.js --selectProjects unit", diff --git a/packages/cardano-services/src/PgBoss/stakePoolRewardsHandler.ts b/packages/cardano-services/src/PgBoss/stakePoolRewardsHandler.ts index ed75511d38a..23c75f26c0a 100644 --- a/packages/cardano-services/src/PgBoss/stakePoolRewardsHandler.ts +++ b/packages/cardano-services/src/PgBoss/stakePoolRewardsHandler.ts @@ -122,7 +122,7 @@ const checkPreviousEpochCompleted = async (dataSource: DataSource, epochNo: Card [STAKE_POOL_REWARDS, epochNo - 1, 'completed'] ); - if (result[0]?.completed !== '1') throw new Error('Previous epoch rewards job not completed yet'); + if (result[0]?.completed !== '1') throw new Error(`Previous epoch (${epochNo - 1}) rewards job not completed yet`); } finally { await queryRunner.release(); } diff --git a/packages/cardano-services/src/util/polling/DbSyncEpochPollService.ts b/packages/cardano-services/src/util/polling/DbSyncEpochPollService.ts index 836281492ab..d6ff09cf079 100644 --- a/packages/cardano-services/src/util/polling/DbSyncEpochPollService.ts +++ b/packages/cardano-services/src/util/polling/DbSyncEpochPollService.ts @@ -51,7 +51,7 @@ export class DbSyncEpochPollService implements EpochMonitor { name: 'current_epoch', text: findLastEpoch }); - return Cardano.EpochNo(result.rows[0].no); + return Cardano.EpochNo(result.rowCount ? result.rows[0].no : 0); } /** Starts the poll execution */ diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index 5bbcb8b608e..a0b39ab65d8 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.35.2](https://github.com/input-output-hk/cardano-js-sdk/compare/@cardano-sdk/core@0.35.1...@cardano-sdk/core@0.35.2) (2024-07-11) + +### Bug Fixes + +* **core:** cbor encoding of witnessSet is now preserved upon re-serialization ([dbc8782](https://github.com/input-output-hk/cardano-js-sdk/commit/dbc8782a56945db2cfaf70a761e755fc004e64e4)) + ## [0.35.1](https://github.com/input-output-hk/cardano-js-sdk/compare/@cardano-sdk/core@0.35.0...@cardano-sdk/core@0.35.1) (2024-07-10) ### Features diff --git a/packages/core/package.json b/packages/core/package.json index 8378bc33e28..5acbf2d8077 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@cardano-sdk/core", - "version": "0.35.1", + "version": "0.35.2", "description": "Core types and libraries for Cardano", "engines": { "node": ">=16.20.2" @@ -9,6 +9,7 @@ "module": "dist/esm/index.js", "exports": { ".": { + "development": "./src/index.ts", "import": "./dist/esm/index.js", "require": "./dist/cjs/index.js" } diff --git a/packages/core/src/Serialization/Common/CborSet.ts b/packages/core/src/Serialization/Common/CborSet.ts index f23e9b5e64c..7fc7711c120 100644 --- a/packages/core/src/Serialization/Common/CborSet.ts +++ b/packages/core/src/Serialization/Common/CborSet.ts @@ -16,6 +16,7 @@ interface CborSerializable { */ export class CborSet> { #values: T[]; + #originalBytes: HexBlob | undefined = undefined; // Prevent users from directly creating an instance. Only allow creating via fromCore or fromCbor. private constructor(values: T[]) { @@ -43,6 +44,8 @@ export class CborSet> { cborSet.#values.push(fromCbor(HexBlob.fromBytes(reader.readEncodedValue()))); } + cborSet.#originalBytes = cbor; + return cborSet; } @@ -53,6 +56,8 @@ export class CborSet> { * or as an the array. */ toCbor(): HexBlob { + if (this.#originalBytes) return this.#originalBytes; + const writer = new CborWriter(); if (inConwayEra) writer.writeTag(CborTag.Set); @@ -92,6 +97,7 @@ export class CborSet> { /** Returns the values of the set as an array */ setValues(values: T[]): void { this.#values = [...values]; + this.#originalBytes = undefined; } size() { diff --git a/packages/core/src/Serialization/TransactionWitnessSet/Redeemer/Redeemers.ts b/packages/core/src/Serialization/TransactionWitnessSet/Redeemer/Redeemers.ts index 3bd5690ceb7..3a335405984 100644 --- a/packages/core/src/Serialization/TransactionWitnessSet/Redeemer/Redeemers.ts +++ b/packages/core/src/Serialization/TransactionWitnessSet/Redeemer/Redeemers.ts @@ -12,6 +12,7 @@ const MAP_VALUE_EMBEDDED_GROUP_SIZE = 2; export class Redeemers { #values: Redeemer[]; + #originalBytes: HexBlob | undefined = undefined; private constructor(redeemers: Redeemer[]) { this.#values = [...redeemers]; @@ -25,6 +26,8 @@ export class Redeemers { * @returns The Redeemers in CBOR format. */ toCbor(): HexBlob { + if (this.#originalBytes) return this.#originalBytes; + const writer = new CborWriter(); // Encoding `redeemers` as `Map`: // https://github.com/IntersectMBO/cardano-ledger/blob/master/eras/conway/impl/cddl-files/conway.cddl#L480 @@ -103,7 +106,12 @@ export class Redeemers { reader.readEndArray(); } - return new Redeemers(redeemers); + + const result = new Redeemers(redeemers); + + result.#originalBytes = cbor; + + return result; } /** @@ -132,6 +140,7 @@ export class Redeemers { /** @param redeemers replace the existing redeemers with the ones provided here */ setValues(redeemers: Redeemer[]) { this.#values = [...redeemers]; + this.#originalBytes = undefined; } size() { diff --git a/packages/core/test/Serialization/TransactionWitnessSet/VkeyWitness.test.ts b/packages/core/test/Serialization/TransactionWitnessSet/VkeyWitness.test.ts index 73408641dd0..db1d7d90666 100644 --- a/packages/core/test/Serialization/TransactionWitnessSet/VkeyWitness.test.ts +++ b/packages/core/test/Serialization/TransactionWitnessSet/VkeyWitness.test.ts @@ -1,7 +1,7 @@ /* eslint-disable sonarjs/no-duplicate-string */ import * as Crypto from '@cardano-sdk/crypto'; import { HexBlob } from '@cardano-sdk/util'; -import { VkeyWitness } from '../../../src/Serialization'; +import { TransactionWitnessSet, VkeyWitness } from '../../../src/Serialization'; // Test data used in the following tests was generated with the cardano-serialization-lib const cbor = HexBlob( @@ -41,4 +41,26 @@ describe('VkeyWitness', () => { const witness = VkeyWitness.fromCbor(cbor); expect(witness.toCore()).toEqual([vkey, signature]); }); + + it('should preserve original CBOR encoding of properties that do not change', () => { + const combinedWitnesses = HexBlob( + 'a40081825820cb845bb836d4baf4edffb9f76198072cbc70f0d8bb5402644ffd4db17e65259f5840af14dccbdbb1fc9d122ba240df264336a6543a44cd2207bc3e7f3c671c3ecb156a4e9902dc1f15277a933d8ce57dc77960eaf0f58e0b1581aa1810dd6300170c03814e4d01000033222220051200120011049f4b7375706572736563726574ff0581840000d87980821a006acfc01ab2d05e00' + ); + + const witnessWithDatum = TransactionWitnessSet.fromCbor( + HexBlob( + 'a303814e4d01000033222220051200120011049f4b7375706572736563726574ff0581840000d87980821a006acfc01ab2d05e00' + ) + ); + + const vkWitness = TransactionWitnessSet.fromCbor( + HexBlob( + 'a10081825820cb845bb836d4baf4edffb9f76198072cbc70f0d8bb5402644ffd4db17e65259f5840af14dccbdbb1fc9d122ba240df264336a6543a44cd2207bc3e7f3c671c3ecb156a4e9902dc1f15277a933d8ce57dc77960eaf0f58e0b1581aa1810dd6300170c' + ) + ); + + witnessWithDatum.setVkeys(vkWitness.vkeys()!); + + expect(witnessWithDatum.toCbor()).toEqual(combinedWitnesses); + }); }); diff --git a/packages/crypto/CHANGELOG.md b/packages/crypto/CHANGELOG.md index d74ab62e109..fb9d3e11c02 100644 --- a/packages/crypto/CHANGELOG.md +++ b/packages/crypto/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.26](https://github.com/input-output-hk/cardano-js-sdk/compare/@cardano-sdk/crypto@0.1.25...@cardano-sdk/crypto@0.1.26) (2024-07-11) + +**Note:** Version bump only for package @cardano-sdk/crypto + ## [0.1.25](https://github.com/input-output-hk/cardano-js-sdk/compare/@cardano-sdk/crypto@0.1.24...@cardano-sdk/crypto@0.1.25) (2024-06-20) ### Features diff --git a/packages/crypto/package.json b/packages/crypto/package.json index 9855ec56b85..ef72e8d7456 100644 --- a/packages/crypto/package.json +++ b/packages/crypto/package.json @@ -1,6 +1,6 @@ { "name": "@cardano-sdk/crypto", - "version": "0.1.25", + "version": "0.1.26", "description": "Cryptographic types and functions for Cardano. Warning: The libsodium crypto provider has not yet been audited. Use at this stage is at own risk", "engines": { "node": ">=16.20.2" @@ -9,6 +9,7 @@ "module": "dist/esm/index.js", "exports": { ".": { + "development": "./src/index.ts", "import": "./dist/esm/index.js", "require": "./dist/cjs/index.js" } diff --git a/packages/dapp-connector/CHANGELOG.md b/packages/dapp-connector/CHANGELOG.md index 44c5521c647..31aecb77821 100644 --- a/packages/dapp-connector/CHANGELOG.md +++ b/packages/dapp-connector/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.12.24](https://github.com/input-output-hk/cardano-js-sdk/compare/@cardano-sdk/dapp-connector@0.12.23...@cardano-sdk/dapp-connector@0.12.24) (2024-07-11) + +**Note:** Version bump only for package @cardano-sdk/dapp-connector + ## [0.12.23](https://github.com/input-output-hk/cardano-js-sdk/compare/@cardano-sdk/dapp-connector@0.12.22...@cardano-sdk/dapp-connector@0.12.23) (2024-07-10) **Note:** Version bump only for package @cardano-sdk/dapp-connector diff --git a/packages/dapp-connector/package.json b/packages/dapp-connector/package.json index 95b143f02b0..8540f580251 100644 --- a/packages/dapp-connector/package.json +++ b/packages/dapp-connector/package.json @@ -1,6 +1,6 @@ { "name": "@cardano-sdk/dapp-connector", - "version": "0.12.23", + "version": "0.12.24", "description": "TypeScript definitions for the dApp Connector standard CIP30", "engines": { "node": ">=16.20.2" diff --git a/packages/e2e/CHANGELOG.md b/packages/e2e/CHANGELOG.md index c95df03df1c..0a9bc3c70d9 100644 --- a/packages/e2e/CHANGELOG.md +++ b/packages/e2e/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.36.7](https://github.com/input-output-hk/cardano-js-sdk/compare/@cardano-sdk/e2e@0.36.6...@cardano-sdk/e2e@0.36.7) (2024-07-11) + +**Note:** Version bump only for package @cardano-sdk/e2e + ## [0.36.6](https://github.com/input-output-hk/cardano-js-sdk/compare/@cardano-sdk/e2e@0.36.5...@cardano-sdk/e2e@0.36.6) (2024-07-10) **Note:** Version bump only for package @cardano-sdk/e2e diff --git a/packages/e2e/README.md b/packages/e2e/README.md index ad5675f94be..fd4f0bfd199 100644 --- a/packages/e2e/README.md +++ b/packages/e2e/README.md @@ -99,37 +99,10 @@ Address: addr_test1qr0c3frkem9cqn5f73dnvqpena27k2fgqew6wct9eaka03agfwkvzr0zyq You can configure any of these five wallets in your test and use any amount of tADA you need. -### Local Test Network - development version +## Local Test Network - Hot reload -In addition to the **local-network** npm script there is a script suitable for development, which mounts the `packages` directory in -the service containers. It helps to apply changes to the components without shutting down the **local-network** each time. - -It can be started with: - -```bash -$ yarn workspace @cardano-sdk/e2e local-network:dev -``` - -and a good idea is to run following command before starting it. - -```bash -$ yarn cleanup && yarn && yarn build -``` - -Restart the provider-server: - -```bash -$ docker exec -it local-network-e2e-provider-server-1 kill 1 -``` - -So, if while working on the `core` and `cardano-services` packages simultaneously, we need to restart the provider-server -to check the effect of our ongoing changes, it is enough to issue the following command: - -```bash -$ yarn workspace @cardano-sdk/core build && yarn workspace @cardano-sdk/cardano-services build && docker exec -it local-network-e2e-provider-server-1 kill 1 -``` - -if it exits with error we need to fix our ongoing changes, if it exits silently, the provider-server is now running with our changes. +The **local-network** runs with hot reload: once running, just saving a source file makes all the containers depending on that file +are stopped and restarted loading the new version of the source files. No additional operations are required. ## Local file server diff --git a/packages/e2e/package.json b/packages/e2e/package.json index c75162469eb..1955f6ac40f 100644 --- a/packages/e2e/package.json +++ b/packages/e2e/package.json @@ -1,6 +1,6 @@ { "name": "@cardano-sdk/e2e", - "version": "0.36.6", + "version": "0.36.7", "description": "End to end tests for the cardano-js-sdk packages.", "engines": { "node": ">=16.20.2" @@ -48,9 +48,7 @@ "test:web-extension:watch:bg": "run-p test:web-extension:watch:build test:web-extension:watch:run", "local-network:common": "PRE_CONWAY=${PRE_CONWAY:-stable} DISABLE_DB_CACHE=${DISABLE_DB_CACHE:-true} SUBMIT_API_ARGS='--testnet-magic 888' USE_BLOCKFROST=false __FIX_UMASK__=$(chmod -R a+r ../../compose/placeholder-secrets) docker compose --env-file ../cardano-services/environments/.env.local -p local-network-e2e -f docker-compose.yml -f ../../compose/common.yml -f ../../compose/$(uname -m).yml $FILES up", "local-network:up": "FILES='' yarn local-network:common", - "local-network:dev": "FILES='-f ../../compose/dev.yml' yarn local-network:common", "local-network:profile:up": "FILES='-f ../../compose/pg-agent.yml' yarn local-network:common", - "local-network:profile:dev": "FILES='-f ../../compose/dev.yml -f ../../compose/pg-agent.yml' yarn local-network:common", "local-network:down": "docker compose -p local-network-e2e -f docker-compose.yml -f ../../compose/common.yml -f ../../compose/pg-agent.yml down -v --remove-orphans", "cardano-services:up": "ts-node --transpile-only ../cardano-services/src/cli.ts start-provider-server", "cardano-services:up:debug": "npx nodemon --legacy-watch --exec 'node -r ts-node/register --inspect=0.0.0.0:9229 ../cardano-services/src/cli.ts start-provider-server'", diff --git a/packages/golden-test-generator/CHANGELOG.md b/packages/golden-test-generator/CHANGELOG.md index 6d5efc282d9..21e4c5bd01e 100644 --- a/packages/golden-test-generator/CHANGELOG.md +++ b/packages/golden-test-generator/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.7.63](https://github.com/input-output-hk/cardano-js-sdk/compare/@cardano-sdk/golden-test-generator@0.7.62...@cardano-sdk/golden-test-generator@0.7.63) (2024-07-11) + +**Note:** Version bump only for package @cardano-sdk/golden-test-generator + ## [0.7.62](https://github.com/input-output-hk/cardano-js-sdk/compare/@cardano-sdk/golden-test-generator@0.7.61...@cardano-sdk/golden-test-generator@0.7.62) (2024-07-10) **Note:** Version bump only for package @cardano-sdk/golden-test-generator diff --git a/packages/golden-test-generator/package.json b/packages/golden-test-generator/package.json index 0aee8d4dc81..1210a2b866d 100644 --- a/packages/golden-test-generator/package.json +++ b/packages/golden-test-generator/package.json @@ -1,6 +1,6 @@ { "name": "@cardano-sdk/golden-test-generator", - "version": "0.7.62", + "version": "0.7.63", "description": "Generate golden test files for a range of Cardano concepts", "engines": { "node": ">=16.20.2" diff --git a/packages/governance/CHANGELOG.md b/packages/governance/CHANGELOG.md index 16af57eb3f9..52102e9ac8b 100644 --- a/packages/governance/CHANGELOG.md +++ b/packages/governance/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.10.11](https://github.com/input-output-hk/cardano-js-sdk/compare/@cardano-sdk/governance@0.10.10...@cardano-sdk/governance@0.10.11) (2024-07-11) + +**Note:** Version bump only for package @cardano-sdk/governance + ## [0.10.10](https://github.com/input-output-hk/cardano-js-sdk/compare/@cardano-sdk/governance@0.10.9...@cardano-sdk/governance@0.10.10) (2024-07-10) **Note:** Version bump only for package @cardano-sdk/governance diff --git a/packages/governance/package.json b/packages/governance/package.json index e0a43a85c8c..0bb37ffa543 100644 --- a/packages/governance/package.json +++ b/packages/governance/package.json @@ -1,6 +1,6 @@ { "name": "@cardano-sdk/governance", - "version": "0.10.10", + "version": "0.10.11", "description": "Governance types and utilities for Cardano", "engines": { "node": ">=16.20.2" diff --git a/packages/hardware-ledger/CHANGELOG.md b/packages/hardware-ledger/CHANGELOG.md index 752d31f1d88..6ba28808ceb 100644 --- a/packages/hardware-ledger/CHANGELOG.md +++ b/packages/hardware-ledger/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.9.13](https://github.com/input-output-hk/cardano-js-sdk/compare/@cardano-sdk/hardware-ledger@0.9.12...@cardano-sdk/hardware-ledger@0.9.13) (2024-07-11) + +**Note:** Version bump only for package @cardano-sdk/hardware-ledger + ## [0.9.12](https://github.com/input-output-hk/cardano-js-sdk/compare/@cardano-sdk/hardware-ledger@0.9.11...@cardano-sdk/hardware-ledger@0.9.12) (2024-07-10) **Note:** Version bump only for package @cardano-sdk/hardware-ledger diff --git a/packages/hardware-ledger/package.json b/packages/hardware-ledger/package.json index f915ac7f09e..91827a263eb 100644 --- a/packages/hardware-ledger/package.json +++ b/packages/hardware-ledger/package.json @@ -1,6 +1,6 @@ { "name": "@cardano-sdk/hardware-ledger", - "version": "0.9.12", + "version": "0.9.13", "description": "Mappings and integration with Ledger hardware", "engines": { "node": ">=16.20.2" diff --git a/packages/hardware-trezor/CHANGELOG.md b/packages/hardware-trezor/CHANGELOG.md index dbfa5a0b4b2..40dae69af7f 100644 --- a/packages/hardware-trezor/CHANGELOG.md +++ b/packages/hardware-trezor/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.33](https://github.com/input-output-hk/cardano-js-sdk/compare/@cardano-sdk/hardware-trezor@0.4.32...@cardano-sdk/hardware-trezor@0.4.33) (2024-07-11) + +**Note:** Version bump only for package @cardano-sdk/hardware-trezor + ## [0.4.32](https://github.com/input-output-hk/cardano-js-sdk/compare/@cardano-sdk/hardware-trezor@0.4.31...@cardano-sdk/hardware-trezor@0.4.32) (2024-07-10) **Note:** Version bump only for package @cardano-sdk/hardware-trezor diff --git a/packages/hardware-trezor/package.json b/packages/hardware-trezor/package.json index 0c04e6e74fa..8a7c127e692 100644 --- a/packages/hardware-trezor/package.json +++ b/packages/hardware-trezor/package.json @@ -1,6 +1,6 @@ { "name": "@cardano-sdk/hardware-trezor", - "version": "0.4.32", + "version": "0.4.33", "description": "Mappings and integration with Trezor hardware", "engines": { "node": ">=16.20.1" diff --git a/packages/input-selection/CHANGELOG.md b/packages/input-selection/CHANGELOG.md index 79195597028..d9d4485ce42 100644 --- a/packages/input-selection/CHANGELOG.md +++ b/packages/input-selection/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.13.6](https://github.com/input-output-hk/cardano-js-sdk/compare/@cardano-sdk/input-selection@0.13.5...@cardano-sdk/input-selection@0.13.6) (2024-07-11) + +**Note:** Version bump only for package @cardano-sdk/input-selection + ## [0.13.5](https://github.com/input-output-hk/cardano-js-sdk/compare/@cardano-sdk/input-selection@0.13.4...@cardano-sdk/input-selection@0.13.5) (2024-07-10) **Note:** Version bump only for package @cardano-sdk/input-selection diff --git a/packages/input-selection/package.json b/packages/input-selection/package.json index 3f169b936d3..d63c3b32262 100644 --- a/packages/input-selection/package.json +++ b/packages/input-selection/package.json @@ -1,6 +1,6 @@ { "name": "@cardano-sdk/input-selection", - "version": "0.13.5", + "version": "0.13.6", "description": "TypeScript definitions for input-selection (Coin Selection Algorithms for Cardano)", "engines": { "node": ">=16.20.2" diff --git a/packages/input-selection/src/tsconfig.json b/packages/input-selection/src/tsconfig.json index be2d119cd55..2196f490c11 100644 --- a/packages/input-selection/src/tsconfig.json +++ b/packages/input-selection/src/tsconfig.json @@ -7,6 +7,9 @@ { "path": "../../core/src" }, + { + "path": "../../key-management/src" + }, { "path": "../../util/src" } diff --git a/packages/key-management/CHANGELOG.md b/packages/key-management/CHANGELOG.md index ef75bac05d6..ffcdc2e6e90 100644 --- a/packages/key-management/CHANGELOG.md +++ b/packages/key-management/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.20.11](https://github.com/input-output-hk/cardano-js-sdk/compare/@cardano-sdk/key-management@0.20.10...@cardano-sdk/key-management@0.20.11) (2024-07-11) + +**Note:** Version bump only for package @cardano-sdk/key-management + ## [0.20.10](https://github.com/input-output-hk/cardano-js-sdk/compare/@cardano-sdk/key-management@0.20.9...@cardano-sdk/key-management@0.20.10) (2024-07-10) **Note:** Version bump only for package @cardano-sdk/key-management diff --git a/packages/key-management/package.json b/packages/key-management/package.json index 66e505493d7..eca4e6f9c43 100644 --- a/packages/key-management/package.json +++ b/packages/key-management/package.json @@ -1,6 +1,6 @@ { "name": "@cardano-sdk/key-management", - "version": "0.20.10", + "version": "0.20.11", "description": "Key management types and utilities for Cardano", "engines": { "node": ">=16.20.2" diff --git a/packages/key-management/src/tsconfig.json b/packages/key-management/src/tsconfig.json index 92e7c7bc679..7ac38467435 100644 --- a/packages/key-management/src/tsconfig.json +++ b/packages/key-management/src/tsconfig.json @@ -9,6 +9,12 @@ }, { "path": "../../crypto/src" + }, + { + "path": "../../dapp-connector/src" + }, + { + "path": "../../util/src" } ] } diff --git a/packages/ogmios/CHANGELOG.md b/packages/ogmios/CHANGELOG.md index e64e52658fc..9ce844df583 100644 --- a/packages/ogmios/CHANGELOG.md +++ b/packages/ogmios/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.15.33](https://github.com/input-output-hk/cardano-js-sdk/compare/@cardano-sdk/ogmios@0.15.32...@cardano-sdk/ogmios@0.15.33) (2024-07-11) + +**Note:** Version bump only for package @cardano-sdk/ogmios + ## [0.15.32](https://github.com/input-output-hk/cardano-js-sdk/compare/@cardano-sdk/ogmios@0.15.31...@cardano-sdk/ogmios@0.15.32) (2024-07-10) **Note:** Version bump only for package @cardano-sdk/ogmios diff --git a/packages/ogmios/package.json b/packages/ogmios/package.json index 4bc21bdf49a..b93a8ca6444 100644 --- a/packages/ogmios/package.json +++ b/packages/ogmios/package.json @@ -1,6 +1,6 @@ { "name": "@cardano-sdk/ogmios", - "version": "0.15.32", + "version": "0.15.33", "description": "Ogmios Providers", "engines": { "node": ">=16.20.2" @@ -9,6 +9,7 @@ "module": "dist/esm/index.js", "exports": { ".": { + "development": "./src/index.ts", "import": "./dist/esm/index.js", "require": "./dist/cjs/index.js" } diff --git a/packages/projection-typeorm/CHANGELOG.md b/packages/projection-typeorm/CHANGELOG.md index 99d3d9c319a..1e732174ffe 100644 --- a/packages/projection-typeorm/CHANGELOG.md +++ b/packages/projection-typeorm/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.8.25](https://github.com/input-output-hk/cardano-js-sdk/compare/@cardano-sdk/projection-typeorm@0.8.24...@cardano-sdk/projection-typeorm@0.8.25) (2024-07-11) + +**Note:** Version bump only for package @cardano-sdk/projection-typeorm + ## [0.8.24](https://github.com/input-output-hk/cardano-js-sdk/compare/@cardano-sdk/projection-typeorm@0.8.23...@cardano-sdk/projection-typeorm@0.8.24) (2024-07-10) **Note:** Version bump only for package @cardano-sdk/projection-typeorm diff --git a/packages/projection-typeorm/package.json b/packages/projection-typeorm/package.json index f7339f626aa..7a02b904795 100644 --- a/packages/projection-typeorm/package.json +++ b/packages/projection-typeorm/package.json @@ -1,6 +1,6 @@ { "name": "@cardano-sdk/projection-typeorm", - "version": "0.8.24", + "version": "0.8.25", "description": "Project Chain Sync events into PostgreSQL via TypeORM", "engines": { "node": ">=16.20.2" @@ -9,6 +9,7 @@ "module": "dist/esm/index.js", "exports": { ".": { + "development": "./src/index.ts", "import": "./dist/esm/index.js", "require": "./dist/cjs/index.js" } diff --git a/packages/projection-typeorm/src/entity/Address.entity.ts b/packages/projection-typeorm/src/entity/Address.entity.ts index 76da837e15d..c38935a0034 100644 --- a/packages/projection-typeorm/src/entity/Address.entity.ts +++ b/packages/projection-typeorm/src/entity/Address.entity.ts @@ -5,7 +5,7 @@ import { StakeKeyRegistrationEntity } from './StakeKeyRegistration.entity'; @Entity() export class AddressEntity { - @PrimaryColumn() + @PrimaryColumn('varchar') address?: Cardano.PaymentAddress; @Column({ enum: Cardano.AddressType, type: 'enum' }) type?: Cardano.AddressType; diff --git a/packages/projection-typeorm/src/entity/Asset.entity.ts b/packages/projection-typeorm/src/entity/Asset.entity.ts index 268d2f034bd..b53e9264185 100644 --- a/packages/projection-typeorm/src/entity/Asset.entity.ts +++ b/packages/projection-typeorm/src/entity/Asset.entity.ts @@ -7,7 +7,7 @@ import { parseBigInt } from './transformers'; @Entity() export class AssetEntity { - @PrimaryColumn() + @PrimaryColumn('varchar') id?: Cardano.AssetId; @Column({ transformer: parseBigInt, diff --git a/packages/projection-typeorm/src/entity/Block.entity.ts b/packages/projection-typeorm/src/entity/Block.entity.ts index fbaac941c97..6a0708e0fd4 100644 --- a/packages/projection-typeorm/src/entity/Block.entity.ts +++ b/packages/projection-typeorm/src/entity/Block.entity.ts @@ -4,13 +4,13 @@ import { Column, Entity, Index, PrimaryColumn } from 'typeorm'; @Entity() export class BlockEntity { @Index({ unique: true }) - @Column() + @Column('integer') height?: Cardano.BlockNo; @Index({ unique: true }) @Column({ length: 64, type: 'char' }) hash?: Cardano.BlockId; - @PrimaryColumn() + @PrimaryColumn('integer') slot?: Cardano.Slot; } diff --git a/packages/projection-typeorm/src/entity/BlockData.entity.ts b/packages/projection-typeorm/src/entity/BlockData.entity.ts index a2b9a8fb433..689e0d0576b 100644 --- a/packages/projection-typeorm/src/entity/BlockData.entity.ts +++ b/packages/projection-typeorm/src/entity/BlockData.entity.ts @@ -7,7 +7,7 @@ import { json, serializableObj, stringBytea } from './transformers'; @Entity() export class BlockDataEntity { // Using the same column for both primary and foreign key - @PrimaryColumn() + @PrimaryColumn('integer') blockHeight?: number; @OneToOne(() => BlockEntity, OnDeleteCascadeRelationOptions) diff --git a/packages/projection-typeorm/src/entity/CurrentPoolMetrics.entity.ts b/packages/projection-typeorm/src/entity/CurrentPoolMetrics.entity.ts index 0355b3e7162..c1454feebf6 100644 --- a/packages/projection-typeorm/src/entity/CurrentPoolMetrics.entity.ts +++ b/packages/projection-typeorm/src/entity/CurrentPoolMetrics.entity.ts @@ -11,7 +11,7 @@ export class CurrentPoolMetricsEntity { @PrimaryColumn({ length: 56, type: 'char' }) stakePoolId?: Cardano.PoolId; - @Column({ nullable: true }) + @Column('integer', { nullable: true }) slot: Cardano.Slot; @OneToOne(() => StakePoolEntity, OnDeleteCascadeRelationOptions) diff --git a/packages/projection-typeorm/src/entity/Handle.entity.ts b/packages/projection-typeorm/src/entity/Handle.entity.ts index c2acbfbabf4..0bcbf9b9e41 100644 --- a/packages/projection-typeorm/src/entity/Handle.entity.ts +++ b/packages/projection-typeorm/src/entity/Handle.entity.ts @@ -4,16 +4,16 @@ import { Column, Entity, JoinColumn, ManyToOne, OneToOne, PrimaryColumn } from ' @Entity() export class HandleEntity { - @PrimaryColumn() + @PrimaryColumn('varchar') handle?: Handle; @Column({ nullable: true, type: 'varchar' }) cardanoAddress?: Cardano.PaymentAddress | null; @OneToOne(() => AssetEntity, { onDelete: 'CASCADE' }) @JoinColumn() asset?: AssetEntity; - @Column() + @Column('varchar') policyId?: Cardano.PolicyId; - @Column() + @Column('boolean') hasDatum?: boolean; @Column('varchar', { nullable: true }) /** `null` when cardanoAddress === `null`, or owned by enterprise/byron address */ diff --git a/packages/projection-typeorm/src/entity/NftMetadata.entity.ts b/packages/projection-typeorm/src/entity/NftMetadata.entity.ts index e7ffb4e9947..385580cffe2 100644 --- a/packages/projection-typeorm/src/entity/NftMetadata.entity.ts +++ b/packages/projection-typeorm/src/entity/NftMetadata.entity.ts @@ -14,11 +14,11 @@ export enum NftMetadataType { export class NftMetadataEntity { @PrimaryGeneratedColumn() id?: number; - @Column({ transformer: sanitizeNullCharacters }) + @Column('varchar', { transformer: sanitizeNullCharacters }) name?: string; @Column({ nullable: true, transformer: sanitizeNullCharacters, type: 'varchar' }) description?: string | null; - @Column({ transformer: sanitizeNullCharacters }) + @Column('varchar', { transformer: sanitizeNullCharacters }) image?: Asset.Uri; @Column({ nullable: true, transformer: sanitizeNullCharacters, type: 'varchar' }) mediaType?: string | null; diff --git a/packages/projection-typeorm/src/entity/Output.entity.ts b/packages/projection-typeorm/src/entity/Output.entity.ts index f4dd3810ebf..00e9ecd0af1 100644 --- a/packages/projection-typeorm/src/entity/Output.entity.ts +++ b/packages/projection-typeorm/src/entity/Output.entity.ts @@ -10,10 +10,10 @@ export class OutputEntity { @PrimaryGeneratedColumn() id?: number; @Index() - @Column() + @Column('varchar') address?: Cardano.PaymentAddress; @Index() - @Column() + @Column('varchar') txId?: Cardano.TransactionId; @Index() @Column('smallint') diff --git a/packages/projection-typeorm/src/entity/PoolMetadata.entity.ts b/packages/projection-typeorm/src/entity/PoolMetadata.entity.ts index 5bfc779444d..96c8554bbdf 100644 --- a/packages/projection-typeorm/src/entity/PoolMetadata.entity.ts +++ b/packages/projection-typeorm/src/entity/PoolMetadata.entity.ts @@ -8,17 +8,17 @@ import { StakePoolEntity } from './StakePool.entity'; export class PoolMetadataEntity { @PrimaryGeneratedColumn() id?: number; - @Column() + @Column('varchar') @Index() ticker?: string; - @Column() + @Column('varchar') @Index() name?: string; - @Column() + @Column('varchar') description?: string; - @Column() + @Column('varchar') homepage?: string; - @Column() + @Column('varchar') hash?: string; @Column('jsonb', { nullable: true }) ext?: Cardano.ExtendedStakePoolMetadata | null; diff --git a/packages/projection-typeorm/src/entity/PoolRegistration.entity.ts b/packages/projection-typeorm/src/entity/PoolRegistration.entity.ts index a9c81c4b488..4cefcfa5ec8 100644 --- a/packages/projection-typeorm/src/entity/PoolRegistration.entity.ts +++ b/packages/projection-typeorm/src/entity/PoolRegistration.entity.ts @@ -12,7 +12,7 @@ export class PoolRegistrationEntity { @PrimaryColumn(BigIntColumnOptions) id?: bigint; - @Column() + @Column('varchar') rewardAccount?: Cardano.RewardAccount; @Column(UInt64ColumnOptions) @@ -52,7 +52,7 @@ export class PoolRegistrationEntity { @OneToOne(() => PoolMetadataEntity, (metadata) => metadata.poolUpdate) metadata?: PoolMetadataEntity | null; - @Column() + @Column('integer') blockSlot?: Cardano.Slot; @ManyToOne(() => BlockEntity, OnDeleteCascadeRelationOptions) diff --git a/packages/projection-typeorm/src/entity/PoolRetirement.entity.ts b/packages/projection-typeorm/src/entity/PoolRetirement.entity.ts index 5cf89fe5ca9..1fc7f819deb 100644 --- a/packages/projection-typeorm/src/entity/PoolRetirement.entity.ts +++ b/packages/projection-typeorm/src/entity/PoolRetirement.entity.ts @@ -10,14 +10,14 @@ export class PoolRetirementEntity { @PrimaryColumn(BigIntColumnOptions) id?: bigint; - @Column() + @Column('integer') retireAtEpoch?: Cardano.EpochNo; @ManyToOne(() => StakePoolEntity, (stakePool) => stakePool.retirements, OnDeleteCascadeRelationOptions) @JoinColumn() stakePool?: StakePoolEntity; - @Column() + @Column('integer') blockSlot?: Cardano.Slot; @ManyToOne(() => BlockEntity, OnDeleteCascadeRelationOptions) diff --git a/packages/projection-typeorm/src/entity/PoolRewards.entity.ts b/packages/projection-typeorm/src/entity/PoolRewards.entity.ts index 5a18348d15c..65acf97ae99 100644 --- a/packages/projection-typeorm/src/entity/PoolRewards.entity.ts +++ b/packages/projection-typeorm/src/entity/PoolRewards.entity.ts @@ -19,7 +19,7 @@ export class PoolRewardsEntity { @Column({ type: 'integer' }) epochLength?: number; - @Column() + @Column('integer') epochNo?: Cardano.EpochNo; @Column({ type: 'integer' }) diff --git a/packages/projection-typeorm/src/tsconfig.json b/packages/projection-typeorm/src/tsconfig.json index 73cd3d688f3..93a39a115d9 100644 --- a/packages/projection-typeorm/src/tsconfig.json +++ b/packages/projection-typeorm/src/tsconfig.json @@ -10,6 +10,9 @@ { "path": "../../crypto/src" }, + { + "path": "../../projection/src" + }, { "path": "../../util-rxjs/src" } diff --git a/packages/projection/CHANGELOG.md b/packages/projection/CHANGELOG.md index 83e9a7c8eb7..85a2046d68f 100644 --- a/packages/projection/CHANGELOG.md +++ b/packages/projection/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.11.23](https://github.com/input-output-hk/cardano-js-sdk/compare/@cardano-sdk/projection@0.11.22...@cardano-sdk/projection@0.11.23) (2024-07-11) + +**Note:** Version bump only for package @cardano-sdk/projection + ## [0.11.22](https://github.com/input-output-hk/cardano-js-sdk/compare/@cardano-sdk/projection@0.11.21...@cardano-sdk/projection@0.11.22) (2024-07-10) **Note:** Version bump only for package @cardano-sdk/projection diff --git a/packages/projection/package.json b/packages/projection/package.json index 80a45861af6..8892a340d78 100644 --- a/packages/projection/package.json +++ b/packages/projection/package.json @@ -1,6 +1,6 @@ { "name": "@cardano-sdk/projection", - "version": "0.11.22", + "version": "0.11.23", "description": "Chain Sync event projection", "engines": { "node": ">=16.20.2" @@ -9,6 +9,7 @@ "module": "dist/esm/index.js", "exports": { ".": { + "development": "./src/index.ts", "import": "./dist/esm/index.js", "require": "./dist/cjs/index.js" } diff --git a/packages/tx-construction/CHANGELOG.md b/packages/tx-construction/CHANGELOG.md index 9bc829806db..622545e6458 100644 --- a/packages/tx-construction/CHANGELOG.md +++ b/packages/tx-construction/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.19.6](https://github.com/input-output-hk/cardano-js-sdk/compare/@cardano-sdk/tx-construction@0.19.5...@cardano-sdk/tx-construction@0.19.6) (2024-07-11) + +**Note:** Version bump only for package @cardano-sdk/tx-construction + ## [0.19.5](https://github.com/input-output-hk/cardano-js-sdk/compare/@cardano-sdk/tx-construction@0.19.4...@cardano-sdk/tx-construction@0.19.5) (2024-07-10) **Note:** Version bump only for package @cardano-sdk/tx-construction diff --git a/packages/tx-construction/package.json b/packages/tx-construction/package.json index 18531db077b..fe93c03d46b 100644 --- a/packages/tx-construction/package.json +++ b/packages/tx-construction/package.json @@ -1,6 +1,6 @@ { "name": "@cardano-sdk/tx-construction", - "version": "0.19.5", + "version": "0.19.6", "description": "Types and functions for constructing transactions on Cardano", "engines": { "node": ">=16.20.2" diff --git a/packages/util-dev/CHANGELOG.md b/packages/util-dev/CHANGELOG.md index fe216950823..4165c9867b3 100644 --- a/packages/util-dev/CHANGELOG.md +++ b/packages/util-dev/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.21.6](https://github.com/input-output-hk/cardano-js-sdk/compare/@cardano-sdk/util-dev@0.21.5...@cardano-sdk/util-dev@0.21.6) (2024-07-11) + +**Note:** Version bump only for package @cardano-sdk/util-dev + ## [0.21.5](https://github.com/input-output-hk/cardano-js-sdk/compare/@cardano-sdk/util-dev@0.21.4...@cardano-sdk/util-dev@0.21.5) (2024-07-10) **Note:** Version bump only for package @cardano-sdk/util-dev diff --git a/packages/util-dev/package.json b/packages/util-dev/package.json index 83458c1e2ef..ee4ab919b2e 100644 --- a/packages/util-dev/package.json +++ b/packages/util-dev/package.json @@ -1,6 +1,6 @@ { "name": "@cardano-sdk/util-dev", - "version": "0.21.5", + "version": "0.21.6", "description": "Utilities for tests in other packages", "engines": { "node": ">=16.20.2" diff --git a/packages/util-rxjs/CHANGELOG.md b/packages/util-rxjs/CHANGELOG.md index ad0db1c0228..397aff366ef 100644 --- a/packages/util-rxjs/CHANGELOG.md +++ b/packages/util-rxjs/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.7.19](https://github.com/input-output-hk/cardano-js-sdk/compare/@cardano-sdk/util-rxjs@0.7.18...@cardano-sdk/util-rxjs@0.7.19) (2024-07-11) + +**Note:** Version bump only for package @cardano-sdk/util-rxjs + ## [0.7.18](https://github.com/input-output-hk/cardano-js-sdk/compare/@cardano-sdk/util-rxjs@0.7.17...@cardano-sdk/util-rxjs@0.7.18) (2024-06-20) **Note:** Version bump only for package @cardano-sdk/util-rxjs diff --git a/packages/util-rxjs/package.json b/packages/util-rxjs/package.json index 25c27783b6e..869c3a81490 100644 --- a/packages/util-rxjs/package.json +++ b/packages/util-rxjs/package.json @@ -1,6 +1,6 @@ { "name": "@cardano-sdk/util-rxjs", - "version": "0.7.18", + "version": "0.7.19", "description": "RxJS extensions", "engines": { "node": ">=16.20.2" @@ -9,6 +9,7 @@ "module": "dist/esm/index.js", "exports": { ".": { + "development": "./src/index.ts", "import": "./dist/esm/index.js", "require": "./dist/cjs/index.js" } diff --git a/packages/util/CHANGELOG.md b/packages/util/CHANGELOG.md index 649c6bab3fc..20a5acb577a 100644 --- a/packages/util/CHANGELOG.md +++ b/packages/util/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.15.3](https://github.com/input-output-hk/cardano-js-sdk/compare/@cardano-sdk/util@0.15.2...@cardano-sdk/util@0.15.3) (2024-07-11) + +**Note:** Version bump only for package @cardano-sdk/util + ## [0.15.2](https://github.com/input-output-hk/cardano-js-sdk/compare/@cardano-sdk/util@0.15.1...@cardano-sdk/util@0.15.2) (2024-06-14) ### Bug Fixes diff --git a/packages/util/package.json b/packages/util/package.json index d70b56a4d3b..0fbfac33b36 100644 --- a/packages/util/package.json +++ b/packages/util/package.json @@ -1,6 +1,6 @@ { "name": "@cardano-sdk/util", - "version": "0.15.2", + "version": "0.15.3", "description": "General, not cardano-specific utils", "engines": { "node": ">=16.20.2" @@ -9,6 +9,7 @@ "module": "dist/esm/index.js", "exports": { ".": { + "development": "./src/index.ts", "import": "./dist/esm/index.js", "require": "./dist/cjs/index.js" } diff --git a/packages/wallet/CHANGELOG.md b/packages/wallet/CHANGELOG.md index 9df0bf1430b..383fc9ee678 100644 --- a/packages/wallet/CHANGELOG.md +++ b/packages/wallet/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.38.7](https://github.com/input-output-hk/cardano-js-sdk/compare/@cardano-sdk/wallet@0.38.6...@cardano-sdk/wallet@0.38.7) (2024-07-11) + +**Note:** Version bump only for package @cardano-sdk/wallet + ## [0.38.6](https://github.com/input-output-hk/cardano-js-sdk/compare/@cardano-sdk/wallet@0.38.5...@cardano-sdk/wallet@0.38.6) (2024-07-10) **Note:** Version bump only for package @cardano-sdk/wallet diff --git a/packages/wallet/package.json b/packages/wallet/package.json index b29998614b6..d5aef3a1b3f 100644 --- a/packages/wallet/package.json +++ b/packages/wallet/package.json @@ -1,6 +1,6 @@ { "name": "@cardano-sdk/wallet", - "version": "0.38.6", + "version": "0.38.7", "description": "Wallet modules", "engines": { "node": ">=16.20.2" diff --git a/packages/web-extension/CHANGELOG.md b/packages/web-extension/CHANGELOG.md index 7e18c28b418..fb43c61b1c5 100644 --- a/packages/web-extension/CHANGELOG.md +++ b/packages/web-extension/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.29.7](https://github.com/input-output-hk/cardano-js-sdk/compare/@cardano-sdk/web-extension@0.29.6...@cardano-sdk/web-extension@0.29.7) (2024-07-11) + +**Note:** Version bump only for package @cardano-sdk/web-extension + ## [0.29.6](https://github.com/input-output-hk/cardano-js-sdk/compare/@cardano-sdk/web-extension@0.29.5...@cardano-sdk/web-extension@0.29.6) (2024-07-10) **Note:** Version bump only for package @cardano-sdk/web-extension diff --git a/packages/web-extension/package.json b/packages/web-extension/package.json index b43c6dbd0e9..96bd5cc45d9 100644 --- a/packages/web-extension/package.json +++ b/packages/web-extension/package.json @@ -1,6 +1,6 @@ { "name": "@cardano-sdk/web-extension", - "version": "0.29.6", + "version": "0.29.7", "description": "Web extension wallet utilities", "engines": { "node": ">=16.20.2" diff --git a/yarn-project.nix b/yarn-project.nix index 0699614c503..939590fbd13 100644 --- a/yarn-project.nix +++ b/yarn-project.nix @@ -414,6 +414,7 @@ cacheEntries = { "@emurgo/cip14-js@npm:3.0.1" = { filename = "@emurgo-cip14-js-npm-3.0.1-6011030ea2-9eaf312410.zip"; sha512 = "9eaf3124108e8c252a745de9ef1f334ab26a32271077b00fe0ea2a06e40838dd435165dac523ebd4d851ae7a94d8c56766dabc372aabffedd36551c798c607c5"; }; "@endemolshinegroup/cosmiconfig-typescript-loader@npm:3.0.2" = { filename = "@endemolshinegroup-cosmiconfig-typescript-loader-npm-3.0.2-97436e68fc-7fe0198622.zip"; sha512 = "7fe0198622b1063c40572034df7e8ba867865a1b4815afe230795929abcf785758b34d7806a8e2100ba8ab4e92c5a1c3e11a980c466c4406df6e7ec6e50df8b6"; }; "@es-joy/jsdoccomment@npm:0.10.8" = { filename = "@es-joy-jsdoccomment-npm-0.10.8-d03c65b162-3e144ef393.zip"; sha512 = "3e144ef393459a541b64f6c9c8e62fb6d9b47e1a2c626410487ede12c472064f6ce6e0911df60b42ccf126d5a66102707eef59ca14767cb7aeb5e608b227558d"; }; +"@esbuild/linux-x64@npm:0.21.5" = { filename = "@esbuild-linux-x64-npm-0.21.5-88079726c4-8.zip"; sha512 = "91c202dca064909b2c56522f98e3a3b24bc5d43405506b4e67923ecb5d0cc2b78dcee8d815f705d71395402f8532670a391777a3cf6a08894049e453becf07a0"; }; "@eslint/eslintrc@npm:0.4.3" = { filename = "@eslint-eslintrc-npm-0.4.3-ee1bbcab87-03a7704150.zip"; sha512 = "03a7704150b868c318aab6a94d87a33d30dc2ec579d27374575014f06237ba1370ae11178db772f985ef680d469dc237e7b16a1c5d8edaaeb8c3733e7a95a6d3"; }; "@ethereumjs/common@npm:3.2.0" = { filename = "@ethereumjs-common-npm-3.2.0-3c84584256-cb9cc11f5c.zip"; sha512 = "cb9cc11f5c868cb577ba611cebf55046e509218bbb89b47ccce010776dafe8256d70f8f43fab238aec74cf71f62601cd5842bc03a83261200802de365732a14b"; }; "@ethereumjs/rlp@npm:4.0.1" = { filename = "@ethereumjs-rlp-npm-4.0.1-9a0db6680f-30db19c78f.zip"; sha512 = "30db19c78faa2b6ff27275ab767646929207bb207f903f09eb3e4c273ce2738b45f3c82169ddacd67468b4f063d8d96035f2bf36f02b6b7e4d928eefe2e3ecbc"; }; @@ -1278,6 +1279,7 @@ cacheEntries = { "es6-object-assign@npm:1.1.0" = { filename = "es6-object-assign-npm-1.1.0-0565318480-8d4fdf6348.zip"; sha512 = "8d4fdf63484d78b5c64cacc2c2e1165bc7b6a64b739d2a9db6a4dc8641d99cc9efb433cdd4dc3d3d6b00bfa6ce959694e4665e3255190339945c5f33b692b5d8"; }; "es6-promise@npm:4.2.8" = { filename = "es6-promise-npm-4.2.8-c9f5b11f66-95614a8887.zip"; sha512 = "95614a88873611cb9165a85d36afa7268af5c03a378b35ca7bda9508e1d4f1f6f19a788d4bc755b3fd37c8ebba40782018e02034564ff24c9d6fa37e959ad57d"; }; "es6-promisify@npm:5.0.0" = { filename = "es6-promisify-npm-5.0.0-3726550934-fbed9d7915.zip"; sha512 = "fbed9d791598831413be84a5374eca8c24800ec71a16c1c528c43a98e2dadfb99331483d83ae6094ddb9b87e6f799a15d1553cebf756047e0865c753bc346b92"; }; +"esbuild@npm:0.21.5" = { filename = "esbuild-npm-0.21.5-d85dfbc965-2911c7b50b.zip"; sha512 = "2911c7b50b23a9df59a7d6d4cdd3a4f85855787f374dce751148dbb13305e0ce7e880dde1608c2ab7a927fc6cec3587b80995f7fc87a64b455f8b70b55fd8ec1"; }; "escalade@npm:3.1.1" = { filename = "escalade-npm-3.1.1-e02da076aa-a3e2a99f07.zip"; sha512 = "a3e2a99f07acb74b3ad4989c48ca0c3140f69f923e56d0cba0526240ee470b91010f9d39001f2a4a313841d237ede70a729e92125191ba5d21e74b106800b133"; }; "escape-html@npm:1.0.3" = { filename = "escape-html-npm-1.0.3-376c22ee74-6213ca9ae0.zip"; sha512 = "6213ca9ae00d0ab8bccb6d8d4e0a98e76237b2410302cf7df70aaa6591d509a2a37ce8998008cbecae8fc8ffaadf3fb0229535e6a145f3ce0b211d060decbb24"; }; "escape-string-regexp@npm:1.0.5" = { filename = "escape-string-regexp-npm-1.0.5-3284de402f-6092fda75c.zip"; sha512 = "6092fda75c63b110c706b6a9bfde8a612ad595b628f0bd2147eea1d3406723020810e591effc7db1da91d80a71a737a313567c5abb3813e8d9c71f4aa595b410"; }; @@ -1413,6 +1415,7 @@ cacheEntries = { "fs-minipass@npm:3.0.0" = { filename = "fs-minipass-npm-3.0.0-3692c14b65-b72e9fe426.zip"; sha512 = "b72e9fe426e39f05b35bf237c8218b7ab3f68a65f325725ad7b4e431ff5a10725946fc62883b78446c07515ab938d25fdde3d08fb5ac8693f7f9eb9990da21f0"; }; "fs.realpath@npm:1.0.0" = { filename = "fs.realpath-npm-1.0.0-c8f05d8126-99ddea01a7.zip"; sha512 = "99ddea01a7e75aa276c250a04eedeffe5662bce66c65c07164ad6264f9de18fb21be9433ead460e54cff20e31721c811f4fb5d70591799df5f85dce6d6746fd0"; }; "fsevents@npm:2.3.2" = { filename = "fsevents-npm-2.3.2-a881d6ac9f-97ade64e75.zip"; sha512 = "97ade64e75091afee5265e6956cb72ba34db7819b4c3e94c431d4be2b19b8bb7a2d4116da417950c3425f17c8fe693d25e20212cac583ac1521ad066b77ae31f"; }; +"fsevents@npm:2.3.3" = { filename = "fsevents-npm-2.3.3-ce9fb0ffae-11e6ea6fea.zip"; sha512 = "11e6ea6fea15e42461fc55b4b0e4a0a3c654faa567f1877dbd353f39156f69def97a69936d1746619d656c4b93de2238bf731f6085a03a50cabf287c9d024317"; }; "ftp@npm:0.3.10" = { filename = "ftp-npm-0.3.10-348fb9ac23-ddd313c1d4.zip"; sha512 = "ddd313c1d44eb7429f3a7d77a0155dc8fe86a4c64dca58f395632333ce4b4e74c61413c6e0ef66ea3f3d32d905952fbb6d028c7117d522f793eb1fa282e17357"; }; "function-bind@npm:1.1.1" = { filename = "function-bind-npm-1.1.1-b56b322ae9-b32fbaebb3.zip"; sha512 = "b32fbaebb3f8ec4969f033073b43f5c8befbb58f1a79e12f1d7490358150359ebd92f49e72ff0144f65f2c48ea2a605bff2d07965f548f6474fd8efd95bf361a"; }; "function.prototype.name@npm:1.1.5" = { filename = "function.prototype.name-npm-1.1.5-e776a642bb-acd21d733a.zip"; sha512 = "acd21d733a9b649c2c442f067567743214af5fa248dbeee69d8278ce7df3329ea5abac572be9f7470b4ec1cd4d8f1040e3c5caccf98ebf2bf861a0deab735c27"; }; @@ -1437,6 +1440,7 @@ cacheEntries = { "get-stream@npm:5.2.0" = { filename = "get-stream-npm-5.2.0-2cfd3b452b-8bc1a23174.zip"; sha512 = "8bc1a23174a06b2b4ce600df38d6c98d2ef6d84e020c1ddad632ad75bac4e092eeb40e4c09e0761c35fc2dbc5e7fff5dab5e763a383582c4a167dd69a905bd12"; }; "get-stream@npm:6.0.1" = { filename = "get-stream-npm-6.0.1-83e51a4642-e04ecece32.zip"; sha512 = "e04ecece32c92eebf5b8c940f51468cd53554dcbb0ea725b2748be583c9523d00128137966afce410b9b051eb2ef16d657cd2b120ca8edafcf5a65e81af63cad"; }; "get-symbol-description@npm:1.0.0" = { filename = "get-symbol-description-npm-1.0.0-9c95a4bc1f-9ceff8fe96.zip"; sha512 = "9ceff8fe968f9270a37a1f73bf3f1f7bda69ca80f4f80850670e0e7b9444ff99323f7ac52f96567f8b5f5fbe7ac717a0d81d3407c7313e82810c6199446a5247"; }; +"get-tsconfig@npm:4.7.5" = { filename = "get-tsconfig-npm-4.7.5-0e53a23e62-e5b271fae2.zip"; sha512 = "e5b271fae2b4cd1869bbfc58db56983026cc4a08fdba988725a6edd55d04101507de154722503a22ee35920898ff9bdcba71f99d93b17df35dddb8e8a2ad91be"; }; "get-uri@npm:3.0.2" = { filename = "get-uri-npm-3.0.2-53176650ff-5325b2906b.zip"; sha512 = "5325b2906b08ca37529ca421cf52bc50376e75c6a945e0a8064e3f76b4bb67b8ab1e316a2fc7a307c8c606ab36d030720f39a57c97b027ff1134335e12102946"; }; "getpass@npm:0.1.7" = { filename = "getpass-npm-0.1.7-519164a3be-ab18d55661.zip"; sha512 = "ab18d55661db264e3eac6012c2d3daeafaab7a501c035ae0ccb193c3c23e9849c6e29b6ac762b9c2adae460266f925d55a3a2a3a3c8b94be2f222df94d70c046"; }; "git-last-commit@npm:1.0.1" = { filename = "git-last-commit-npm-1.0.1-247bc4e0f1-44049215f0.zip"; sha512 = "44049215f0838c0d17edd25b44e08793d270ea96d95e56767ae9564eda2f41cf4a63b4bc418d62c2f3a8f6a483d6e12229c316daa4276dc0fef8ad663145af6c"; }; @@ -2226,6 +2230,7 @@ cacheEntries = { "resolve-from@npm:4.0.0" = { filename = "resolve-from-npm-4.0.0-f758ec21bf-f4ba0b8494.zip"; sha512 = "f4ba0b8494846a5066328ad33ef8ac173801a51739eb4d63408c847da9a2e1c1de1e6cbbf72699211f3d13f8fc1325648b169bd15eb7da35688e30a5fb0e4a7f"; }; "resolve-from@npm:5.0.0" = { filename = "resolve-from-npm-5.0.0-15c9db4d33-4ceeb9113e.zip"; sha512 = "4ceeb9113e1b1372d0cd969f3468fa042daa1dd9527b1b6bb88acb6ab55d8b9cd65dbf18819f9f9ddf0db804990901dcdaade80a215e7b2c23daae38e64f5bdf"; }; "resolve-global@npm:1.0.0" = { filename = "resolve-global-npm-1.0.0-9097e8a466-c4e11d33e8.zip"; sha512 = "c4e11d33e84bde7516b824503ffbe4b6cce863d5ce485680fd3db997b7c64da1df98321b1fd0703b58be8bc9bc83bc96bd83043f96194386b45eb47229efb6b6"; }; +"resolve-pkg-maps@npm:1.0.0" = { filename = "resolve-pkg-maps-npm-1.0.0-135b70c854-1012afc566.zip"; sha512 = "1012afc566b3fdb190a6309cc37ef3b2dcc35dff5fa6683a9d00cd25c3247edfbc4691b91078c97adc82a29b77a2660c30d791d65dab4fc78bfc473f60289977"; }; "resolve.exports@npm:1.1.0" = { filename = "resolve.exports-npm-1.1.0-81756e03ba-52865af8ed.zip"; sha512 = "52865af8edb088f6c7759a328584a5de6b226754f004b742523adcfe398cfbc4559515104bc2ae87b8e78b1e4de46c9baec400b3fb1f7d517b86d2d48a098a2d"; }; "resolve@npm:1.22.1" = { filename = "resolve-npm-1.22.1-3980488690-07af5fc1e8.zip"; sha512 = "07af5fc1e81aa1d866cbc9e9460fbb67318a10fa3c4deadc35c3ad8a898ee9a71a86a65e4755ac3195e0ea0cfbe201eb323ebe655ce90526fd61917313a34e4e"; }; "resolve@npm:1.22.3" = { filename = "resolve-npm-1.22.3-f7dee15274-fb834b8134.zip"; sha512 = "fb834b81348428cb545ff1b828a72ea28feb5a97c026a1cf40aa1008352c72811ff4d4e71f2035273dc536dcfcae20c13604ba6283c612d70fa0b6e44519c374"; }; @@ -2454,6 +2459,7 @@ cacheEntries = { "tslib@npm:2.4.1" = { filename = "tslib-npm-2.4.1-36f0ed04db-19480d6e03.zip"; sha512 = "19480d6e0313292bd6505d4efe096a6b31c70e21cf08b5febf4da62e95c265c8f571f7b36fcc3d1a17e068032f59c269fab3459d6cd3ed6949eafecf64315fca"; }; "tslib@npm:2.5.0" = { filename = "tslib-npm-2.5.0-bb364efebd-ae3ed5f9ce.zip"; sha512 = "ae3ed5f9ce29932d049908ebfdf21b3a003a85653a9a140d614da6b767a93ef94f460e52c3d787f0e4f383546981713f165037dc2274df212ea9f8a4541004e1"; }; "tsutils@npm:3.21.0" = { filename = "tsutils-npm-3.21.0-347e6636c5-1843f4c1b2.zip"; sha512 = "1843f4c1b2e0f975e08c4c21caa4af4f7f65a12ac1b81b3b8489366826259323feb3fc7a243123453d2d1a02314205a7634e048d4a8009921da19f99755cdc48"; }; +"tsx@npm:4.15.6" = { filename = "tsx-npm-4.15.6-46c92988cf-d78cd60cf0.zip"; sha512 = "d78cd60cf07791aab72e3587cc42e8a8527914bfc66f6882b935cc535b34af9841809eadab2a50da05b4613c2b824d3b3da7c8f8cef8fb7b79942bfa0a18b04e"; }; "tuf-js@npm:1.1.4" = { filename = "tuf-js-npm-1.1.4-268eabf6b7-73595ac602.zip"; sha512 = "73595ac6028dd9cf68a65b88730d47ff88f63e836efc2904476939598480d6625745ca43a8f5bb754f667dfd431b81fc81b0e49fc3fdfc2df0cf271536829af9"; }; "tunnel-agent@npm:0.6.0" = { filename = "tunnel-agent-npm-0.6.0-64345ab7eb-05f6510358.zip"; sha512 = "05f6510358f8afc62a057b8b692f05d70c1782b70db86d6a1e0d5e28a32389e52fa6e7707b6c5ecccacc031462e4bc35af85ecfe4bbc341767917b7cf6965711"; }; "tweetnacl@npm:0.14.5" = { filename = "tweetnacl-npm-0.14.5-a3f766c0d1-6061daba17.zip"; sha512 = "6061daba1724f59473d99a7bb82e13f211cdf6e31315510ae9656fefd4779851cb927adad90f3b488c8ed77c106adc0421ea8055f6f976ff21b27c5c4e918487"; }; diff --git a/yarn.lock b/yarn.lock index ca1c6e0765e..46624b5125e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4110,6 +4110,167 @@ __metadata: languageName: node linkType: hard +"@esbuild/aix-ppc64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/aix-ppc64@npm:0.21.5" + conditions: os=aix & cpu=ppc64 + languageName: node + linkType: hard + +"@esbuild/android-arm64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/android-arm64@npm:0.21.5" + conditions: os=android & cpu=arm64 + languageName: node + linkType: hard + +"@esbuild/android-arm@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/android-arm@npm:0.21.5" + conditions: os=android & cpu=arm + languageName: node + linkType: hard + +"@esbuild/android-x64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/android-x64@npm:0.21.5" + conditions: os=android & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/darwin-arm64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/darwin-arm64@npm:0.21.5" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + +"@esbuild/darwin-x64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/darwin-x64@npm:0.21.5" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/freebsd-arm64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/freebsd-arm64@npm:0.21.5" + conditions: os=freebsd & cpu=arm64 + languageName: node + linkType: hard + +"@esbuild/freebsd-x64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/freebsd-x64@npm:0.21.5" + conditions: os=freebsd & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/linux-arm64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-arm64@npm:0.21.5" + conditions: os=linux & cpu=arm64 + languageName: node + linkType: hard + +"@esbuild/linux-arm@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-arm@npm:0.21.5" + conditions: os=linux & cpu=arm + languageName: node + linkType: hard + +"@esbuild/linux-ia32@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-ia32@npm:0.21.5" + conditions: os=linux & cpu=ia32 + languageName: node + linkType: hard + +"@esbuild/linux-loong64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-loong64@npm:0.21.5" + conditions: os=linux & cpu=loong64 + languageName: node + linkType: hard + +"@esbuild/linux-mips64el@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-mips64el@npm:0.21.5" + conditions: os=linux & cpu=mips64el + languageName: node + linkType: hard + +"@esbuild/linux-ppc64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-ppc64@npm:0.21.5" + conditions: os=linux & cpu=ppc64 + languageName: node + linkType: hard + +"@esbuild/linux-riscv64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-riscv64@npm:0.21.5" + conditions: os=linux & cpu=riscv64 + languageName: node + linkType: hard + +"@esbuild/linux-s390x@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-s390x@npm:0.21.5" + conditions: os=linux & cpu=s390x + languageName: node + linkType: hard + +"@esbuild/linux-x64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-x64@npm:0.21.5" + conditions: os=linux & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/netbsd-x64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/netbsd-x64@npm:0.21.5" + conditions: os=netbsd & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/openbsd-x64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/openbsd-x64@npm:0.21.5" + conditions: os=openbsd & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/sunos-x64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/sunos-x64@npm:0.21.5" + conditions: os=sunos & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/win32-arm64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/win32-arm64@npm:0.21.5" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + +"@esbuild/win32-ia32@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/win32-ia32@npm:0.21.5" + conditions: os=win32 & cpu=ia32 + languageName: node + linkType: hard + +"@esbuild/win32-x64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/win32-x64@npm:0.21.5" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + "@eslint/eslintrc@npm:^0.4.3": version: 0.4.3 resolution: "@eslint/eslintrc@npm:0.4.3" @@ -10178,6 +10339,7 @@ __metadata: ts-node: ^10.0.0 ts-node-dev: ^1.1.8 tsc-alias: ^1.8.10 + tsx: ^4.15.6 typedoc: ^0.23.24 typedoc-plugin-missing-exports: ^1.0.0 typescript: ^4.7.4 @@ -12801,6 +12963,86 @@ __metadata: languageName: node linkType: hard +"esbuild@npm:~0.21.4": + version: 0.21.5 + resolution: "esbuild@npm:0.21.5" + dependencies: + "@esbuild/aix-ppc64": 0.21.5 + "@esbuild/android-arm": 0.21.5 + "@esbuild/android-arm64": 0.21.5 + "@esbuild/android-x64": 0.21.5 + "@esbuild/darwin-arm64": 0.21.5 + "@esbuild/darwin-x64": 0.21.5 + "@esbuild/freebsd-arm64": 0.21.5 + "@esbuild/freebsd-x64": 0.21.5 + "@esbuild/linux-arm": 0.21.5 + "@esbuild/linux-arm64": 0.21.5 + "@esbuild/linux-ia32": 0.21.5 + "@esbuild/linux-loong64": 0.21.5 + "@esbuild/linux-mips64el": 0.21.5 + "@esbuild/linux-ppc64": 0.21.5 + "@esbuild/linux-riscv64": 0.21.5 + "@esbuild/linux-s390x": 0.21.5 + "@esbuild/linux-x64": 0.21.5 + "@esbuild/netbsd-x64": 0.21.5 + "@esbuild/openbsd-x64": 0.21.5 + "@esbuild/sunos-x64": 0.21.5 + "@esbuild/win32-arm64": 0.21.5 + "@esbuild/win32-ia32": 0.21.5 + "@esbuild/win32-x64": 0.21.5 + dependenciesMeta: + "@esbuild/aix-ppc64": + optional: true + "@esbuild/android-arm": + optional: true + "@esbuild/android-arm64": + optional: true + "@esbuild/android-x64": + optional: true + "@esbuild/darwin-arm64": + optional: true + "@esbuild/darwin-x64": + optional: true + "@esbuild/freebsd-arm64": + optional: true + "@esbuild/freebsd-x64": + optional: true + "@esbuild/linux-arm": + optional: true + "@esbuild/linux-arm64": + optional: true + "@esbuild/linux-ia32": + optional: true + "@esbuild/linux-loong64": + optional: true + "@esbuild/linux-mips64el": + optional: true + "@esbuild/linux-ppc64": + optional: true + "@esbuild/linux-riscv64": + optional: true + "@esbuild/linux-s390x": + optional: true + "@esbuild/linux-x64": + optional: true + "@esbuild/netbsd-x64": + optional: true + "@esbuild/openbsd-x64": + optional: true + "@esbuild/sunos-x64": + optional: true + "@esbuild/win32-arm64": + optional: true + "@esbuild/win32-ia32": + optional: true + "@esbuild/win32-x64": + optional: true + bin: + esbuild: bin/esbuild + checksum: 2911c7b50b23a9df59a7d6d4cdd3a4f85855787f374dce751148dbb13305e0ce7e880dde1608c2ab7a927fc6cec3587b80995f7fc87a64b455f8b70b55fd8ec1 + languageName: node + linkType: hard + "escalade@npm:^3.1.1": version: 3.1.1 resolution: "escalade@npm:3.1.1" @@ -14253,6 +14495,16 @@ __metadata: languageName: node linkType: hard +"fsevents@npm:~2.3.3": + version: 2.3.3 + resolution: "fsevents@npm:2.3.3" + dependencies: + node-gyp: latest + checksum: 11e6ea6fea15e42461fc55b4b0e4a0a3c654faa567f1877dbd353f39156f69def97a69936d1746619d656c4b93de2238bf731f6085a03a50cabf287c9d024317 + conditions: os=darwin + languageName: node + linkType: hard + "fsevents@patch:fsevents@^2.3.2#~builtin, fsevents@patch:fsevents@~2.3.2#~builtin": version: 2.3.2 resolution: "fsevents@patch:fsevents@npm%3A2.3.2#~builtin::version=2.3.2&hash=18f3a7" @@ -14262,6 +14514,15 @@ __metadata: languageName: node linkType: hard +"fsevents@patch:fsevents@~2.3.3#~builtin": + version: 2.3.3 + resolution: "fsevents@patch:fsevents@npm%3A2.3.3#~builtin::version=2.3.3&hash=18f3a7" + dependencies: + node-gyp: latest + conditions: os=darwin + languageName: node + linkType: hard + "ftp@npm:^0.3.10": version: 0.3.10 resolution: "ftp@npm:0.3.10" @@ -14492,6 +14753,15 @@ __metadata: languageName: node linkType: hard +"get-tsconfig@npm:^4.7.5": + version: 4.7.5 + resolution: "get-tsconfig@npm:4.7.5" + dependencies: + resolve-pkg-maps: ^1.0.0 + checksum: e5b271fae2b4cd1869bbfc58db56983026cc4a08fdba988725a6edd55d04101507de154722503a22ee35920898ff9bdcba71f99d93b17df35dddb8e8a2ad91be + languageName: node + linkType: hard + "get-uri@npm:3": version: 3.0.2 resolution: "get-uri@npm:3.0.2" @@ -22312,6 +22582,13 @@ __metadata: languageName: node linkType: hard +"resolve-pkg-maps@npm:^1.0.0": + version: 1.0.0 + resolution: "resolve-pkg-maps@npm:1.0.0" + checksum: 1012afc566b3fdb190a6309cc37ef3b2dcc35dff5fa6683a9d00cd25c3247edfbc4691b91078c97adc82a29b77a2660c30d791d65dab4fc78bfc473f60289977 + languageName: node + linkType: hard + "resolve.exports@npm:^1.1.0": version: 1.1.0 resolution: "resolve.exports@npm:1.1.0" @@ -24548,6 +24825,22 @@ __metadata: languageName: node linkType: hard +"tsx@npm:^4.15.6": + version: 4.15.6 + resolution: "tsx@npm:4.15.6" + dependencies: + esbuild: ~0.21.4 + fsevents: ~2.3.3 + get-tsconfig: ^4.7.5 + dependenciesMeta: + fsevents: + optional: true + bin: + tsx: dist/cli.mjs + checksum: d78cd60cf07791aab72e3587cc42e8a8527914bfc66f6882b935cc535b34af9841809eadab2a50da05b4613c2b824d3b3da7c8f8cef8fb7b79942bfa0a18b04e + languageName: node + linkType: hard + "tuf-js@npm:^1.1.3": version: 1.1.4 resolution: "tuf-js@npm:1.1.4"